Hi Team,
Please tell me, If i don't declare the cursor in the program
and i have given open and fetch and close, then what error
will get.
Answer Posted / dharani
Db2 return code would be -504 since the cursor is not
declared.
-501 - cursor not opened
-502 - opening cursor which is already opened
-503 - update column not specified in cursor while
declaring the cursor for updating some of the columns in
the table.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is a db2 collection?
What is db2 bind?
Is it possible to create an Instance in DB2 using DB2 Control Center ?
Can we update view in db2?
How to create db2 table in mainframe?
What is blu acceleration in db2?
Mention the various locks that are available in db2.
Why do chiropractors use drop table?
How to find the maximum value in a column in the db2 database?
What is null indicator in db2?
What is role in db2?
How does coalesce work?
What is cursor in dbms?
How do you eliminate duplicate values in db2?
Which components manage deadlocks in db2?