MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Regarding Cursors

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
Beswar
Beginner


Joined: 04 Feb 2003
Posts: 33
Topics: 15

PostPosted: Wed Mar 05, 2003 10:59 am    Post subject: Regarding Cursors Reply with quote

Hi

Can I fetch the records and also use one more query on the same table(i.e just selecting the records using the prmiary key). If I can, can I still fetch the records without lossing the data.

Thanks
Eswar
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Mar 05, 2003 11:11 am    Post subject: Reply with quote

Beswar,


You can select and fetch on the same table as long as you are not selecting and fetching into the host variables of the table.

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Beswar
Beginner


Joined: 04 Feb 2003
Posts: 33
Topics: 15

PostPosted: Wed Mar 05, 2003 11:32 am    Post subject: Reply with quote

Thanks Kolusu, I will try this
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group