364,036 Members | 5533 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

cursor for

Divya k
P: 1
what is the purpose of 'cursor for' command while declaring cursor?
Jan 2 '12 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 5K+
P: 6,652
The cursor statement signifies that what you're declaring is a cursor.
The for statement signifies that what follows is the SQL that the cursor will be opened for.
Jan 2 '12 #2

Post your reply

Help answer this question



Didn't find the answer to your DB2 Database question?

You can also browse similar questions: DB2 Database