|
View previous topic :: View next topic
|
| Author |
Message |
HameedAli
Active User
Joined: 16 Apr 2009 Posts: 151 Location: India
|
|
|
|
Hi
How to figure out the no of rows fetched through Multi-Fetch Cursor?
In regular Cursor, I increment a counter after every successful fetch for calculating the no of rows fetched.
If I set the Row-set to 50, how to calculate the no of rows fetched. |
|
| Back to top |
|
 |
gylbharat
Active Member
.jpg)
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
| SQLERRD3 contains the number of rows retrieved on the multiple-row FETCH statement |
|
| Back to top |
|
 |
HameedAli
Active User
Joined: 16 Apr 2009 Posts: 151 Location: India
|
|
|
|
| Is it with regard to every fetch? |
|
| Back to top |
|
 |
gylbharat
Active Member
.jpg)
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
Every fetch means??
SQLERRD3 is a SQLCA variable which contains the number of rows fetched. |
|
| Back to top |
|
 |
gylbharat
Active Member
.jpg)
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
| Back to top |
|
 |
HameedAli
Active User
Joined: 16 Apr 2009 Posts: 151 Location: India
|
|
|
|
| @gylbharat, Thanks for you reference and response. |
|
| Back to top |
|
 |
gylbharat
Active Member
.jpg)
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
| Back to top |
|
 |
|
|