View previous topic :: View next topic |
Author |
Message |
Shankarganesh_gopal Beginner
Joined: 24 May 2005 Posts: 36 Topics: 20 Location: chennai
|
Posted: Tue May 24, 2005 5:52 am Post subject: Finding No of rows selected in Open Cursor |
|
|
Hi all,
Can any one please help out, in finding the number of rows selected while Opening the Cursor?. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue May 24, 2005 6:05 am Post subject: |
|
|
Shankarganesh_gopal,
You have posted this topic in the mainframe challenge forum. That forum is exclusively for showing off your Mastery in mainframes. If you had not read the rules of posting in that forum then here they are once again.
Code: |
1. Please do not post questions seeking help.
2. Please post only questions which you can answer. You are responsible to answer the question after 72 hours of posting
|
Btw you canNOT find the number of rows selected while opening the cursor itself
You can run another sql with Count(*) for the same sql and find out the no: of rows selected or fetch the cursor till the end and up the counter for every fetch
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|