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 db2 purescale?
what is db2 restart?
What is data manager?
What are the two types of logging in the db2 database? Explain them.
When the like statement is used?
What is a cursor in programming?
What is database reorganization?
How do I copy a table in db2?
How to restart a DB2 program?
What is meant by explain?
How do you select a row using indexes in db2?
When reorg is used?
What is db2 bind?
What does db2 stand for?
What is dpf in db2?