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


Please Help Members By Posting Answers For Below Questions

What is a plan and package in db2?

729


What is bind in db2?

679


How to take backup of table in db2?

669


What is the role of data manager in the db2 database?

726


What is the difference between using bind () and rebind () methods of naming class?

907






How can record locking be achieved in those DB2 versions which do not support it?

720


How do you concatenate the firstname and lastname from emp table to give a complete name?

682


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

820


What is ibm db2 database?

621


Explain about dbrm.

684


What is blu acceleration in db2?

696


What is node in db2?

690


How to access db2 tables in mainframe?

696


Is db2 free?

764


What is a page in db2?

692