wht happens if we close cursor with cursor with hold option?

Answer Posted / yuvaevergreen

A held cursor can be closed when
1.CLOSE cursor is issued.
2.ROLLBACK is issued.
3.Application terminates.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?

1936


For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.

658


What is the difference between db2 and oracle?

673


What is the reason behind not using select * in embedded sql programs?

601


Explain about rct in db2?

635






Define declaration generator (dclgen).

665


How connect db2 database to datastage?

761


How can you count the number of rows from a table tab?

633


Explain about mirror activator disk mirroring?

558


Give a brief description of db2 isolation levels?

599


Which command is used to remove all rows from a table?

553


What is query_cache_limit?

541


Explain the function done by data manager?

853


Why db2 is called db2?

589


What do you mean by storage group (stogroup)?

581