Answer:
We have to follow below 5 steps to accomplish Cursors:-
1). Declare cursor.
2). Open cursor.
3). Fetch rows from cursor.
4). Close cursor.
5). Deallocate cursor.
When the cursor is open then it must be closed and then deallocated.
Asked In: Many Interviews |
Alert Moderator