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

How to fetch the last row from the table in SQL (db2)?

1335


What is dbrm? What it contains? When it will be created?

808


Is the primary key a clustered index?

850


Explain about cursor stability?

806


What is buffer pool and list some of them?

815


How to execute stored procedures?

870


Highlight all the advantages that are attached to a package.

902


Is db2 a programming language?

806


What are bind parameters in db2?

816


How to find primary key of a table in db2?

830


How do you find the maximum value in a column in db2?

857


Can you tell me how can you find out the # of rows updated after an update statement?

890


What is clone table?

808


What is the cobol picture clause of the db2 data types date, time, timestamp?

850


Explain about rct in db2?

879