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
Can you use max on a char column?
My sql statement select avg(salary) from emp yields inaccurate results. Why?
What do you mean by cursor?
before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?
What is null indicator in db2?
What is image copy in db2?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
What is a bind card?
How many types of page locks can be held in db2?
What is host variable?
What is collection in db2 bind?
Explain about rct.
What is the information associated with sysibm.syslinks table?
How do I connect my db2 database to ibm?
How do I change the column size in db2?