Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check the cursors result set in a stored procedure

Status
Not open for further replies.

dataforums

Programmer
Joined
May 3, 2005
Messages
25
Location
US
Hi all,

I am basically an Oracle Developer trying to migrate oracle procedures to DB2 procedures. I am having a problem checking the result set of the cursor. in oracle we use cursor attributes such as cursor-name NOT FOUND etc...., but how do I check the same in DB2 if the cursor retrived any rows or not?

Please let me soon......

Thanks in Advance!!
 
Maybe the 'Whenever not found go to tag' clause ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top