I know my query will return more than one row but I don't want cursor what should I do?
Answer / secret service
Add FETCH FIRST 1 ROW ONLY to your query.
| Is This Answer Correct ? | 0 Yes | 1 No |
State the various causes of s0c1, s0c5 and s0c7.
1.What is the limit of linkage section?
how to pass 100 to s9(4) how r they inserted ?
01 x pic s9(8) comp. How will the following value be internally allocated '18787'
COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'
The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?
can we use go to statement inline-perform?
How to display the index.(displacement from an array)
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
What is the Importance of GLOBAL clause According to new standards of COBOL?
what is the size of W-REC in the following 01 W-REC 05 A PIC 9(4)V99 05 B READLINES A 10 C PIC XX 10 D PIC S9(4) 05 E OCCURS 7 PIC ZZ.ZZ 05 F OCCURS 5 10 G PIC ZZ.ZZZ99 10 H OCCURS 3 15 J PIC 9(3) 15 K PIC V99
can we read records in a file from botom to top. if possible how can we read