a cursor normally gets closed once we provide a commit . If
u try to close the same cursor with close cursor command
later after providing the commit will there be any sql-error.
Answer Posted / manasa
WHEN THE CURSOR IDENTIFIED IN A FETCH OR CLOSE STATEMENT IS
NOT OPEN,then we get -501 error.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do we specify index to include or not during bind process.
Explain the function done by data manager?
What is db2?
What is database alias db2?
What is deadlock in db2?
Can you tell me how can you find out the # of rows updated after an update statement?
What do you mean by commit and rollback?
What is declare cursor?
What is page size in db2?
How can you count the number of rows from a table tab?
Mention data types used in db2 ?
What is concurrency?
What are the uses of db2 optimizer?
What is the use of db2 optimizer?
Is schema the same as database?