IBM DB2 Question: Download Questions PDF
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
![IBM DB2 Interview Answer IBM DB2 Interview Question](https://globalguideline.com/public/images/interview/30.png)
Answer:
There is no difference. But it is always better to declare
Cursor in Working-Storage Section because you will not code
Open Cursor before Declare Cursor by mistake. It is just a
standard to declare Cursor in WSS. As best practice to
avoid oversight.
Cursor in Working-Storage Section because you will not code
Open Cursor before Declare Cursor by mistake. It is just a
standard to declare Cursor in WSS. As best practice to
avoid oversight.
Download IBM DB2 Interview Questions And Answers
PDF