Get the number of rows returned from cursor without COUNT(*)



IBM's flagship relational database management system

Get the number of rows returned from cursor without COUNT(*)

Postby Ramanan-R » Tue Apr 02, 2013 7:39 am

Hello All :)

Please advise, if it is possible to get the number of rows returned from a declared cursor without using COUNT(*).

Thanks in advance...
Ramanan-R
 
Posts: 4
Joined: Tue Jul 12, 2011 2:42 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Get the number of rows returned from cursor without COUN

Postby dick scherrer » Fri Apr 05, 2013 2:09 am

Hello,

Suggest you read about SQLERRD. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to DB2

 


  • Related topics
    Replies
    Views
    Last post