View previous topic :: View next topic
|
Author |
Message |
sanjib234 Currently Banned New User
Joined: 19 Jun 2007 Posts: 12 Location: delhi
|
|
|
|
Can anyone help me how to select multiple rows without using cursor. |
|
Back to top |
|
|
TG Murphy
Active User
Joined: 23 Mar 2007 Posts: 148 Location: Ottawa Canada
|
|
|
|
There is no sensible way to select multiple rows without using a cursor.
Use the cursor.
By the way, why do you want to avoid the cursor? |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 632 Location: Wisconsin
|
|
|
|
In COBOL? You can't. There is not a way to pull a series of rows back into any kind of working storage all at once. You could create a cursor and do repeated fetches filling a working storage table. But, thats about the best you will get. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
As was asked before, why do you not want use a cursor?
You will find that somewhere between many and most coding situations work with multiple rows and therefore use a cursor. |
|
Back to top |
|
|
sanjib234 Currently Banned New User
Joined: 19 Jun 2007 Posts: 12 Location: delhi
|
|
|
|
Thnx alot .....this question was from CTS |
|
Back to top |
|
|
sanjib234 Currently Banned New User
Joined: 19 Jun 2007 Posts: 12 Location: delhi
|
|
|
|
[quote="sanjib234"]Thnx alot .....this question was from CTS |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome
FMI (for my info) - what is CTS? |
|
Back to top |
|
|
sanjib234 Currently Banned New User
Joined: 19 Jun 2007 Posts: 12 Location: delhi
|
|
|
|
CTS stands for Cognizant
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Thanks |
|
Back to top |
|
|
|