Cursors can be declared in both working-storage & procedure
division, Agreed.
But is there any difference? If could you please suggest
what is the difference.
TIA

Answer Posted / krishna

Since declare cursor is not a executable statement hence it
might be declared in WSS.I am not sure...

Is This Answer Correct ?    11 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

649


What is scrollable cursor in db2?

583


What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

714


What do you mean by cursor?

586


What do you mean by rollback?

572






Define declaration generator (dclgen).

667


What are the various isolation levels possible?

649


What is copy pending and check pending in db2?

578


What is null in db2?

575


What is schema in db2?

576


What are the two types of logging in the db2 database? Explain them.

582


Why select is not preferred in embedded sql programs?

715


How does a cursor work?

558


What is query_cache_limit?

545


Before you give the explain statement, what are the prerogatives?

581