I am getting a error multiple row fetched while executing a
Cobol-DB2 program.How can I solve it without using a cursor.
Answer Posted / anamika
You cannot use 'Fetch first 1 row only' in a singleton
select in COBOL. Instead u can use 'SELECT TOP <colname>'
to get the first row in the result set.
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
Explain db2.
What is the use of db2?
What is the default page size of buffer pools?
What is the meaning concurrency in the db2 database?
How do I optimize a query in db2?
What is the difference between bind and rebind in db2?
How do I add a column to a table in db2?
How to run db2 command in windows?
B37 abend during spufi?
Which are the db2 tools to protect integrity of the database?
What is a Foreign Key?
Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference
Explain about cursor stability?
What is copy pending status in db2?
Explain in brief how does db2 determine what lock-size to use?