Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
DB2 Related Query

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions
Author Message
chengodan
Currently Banned

New User


Joined: 18 Jun 2005
Posts: 1
Location: Chennai

PostPosted: Wed Aug 06, 2008 3:27 pm    Post subject: DB2 Related Query
Reply with quote

Hi,

This is Cheng,

I wants to know the following usage,

1. For Update

2. Where current of

3. With Hold

I wants to know the Difference of these also.
Back to top
View user's profile Send private message
References
ashimer

Senior Member


Joined: 13 Feb 2004
Posts: 354
Location: Bangalore

PostPosted: Wed Aug 06, 2008 6:12 pm    Post subject:
Reply with quote

http://ibmmainframes.com/manuals.php
Back to top
View user's profile Send private message
vini_srcna

Active User


Joined: 26 May 2005
Posts: 187
Location: Copenhagen, Denmark

PostPosted: Wed Aug 06, 2008 7:50 pm    Post subject:
Reply with quote

All come in cursor declartion.

FOR UPDATE : It says which columns can be updated.

Where current OF : The latest row fetched using FETCH

WITH HOLD: says cursor not to be closed during COMMIT. It will still be closed if there are any ROLLBACKs.
Back to top
View user's profile Send private message
Moved: Wed Aug 06, 2008 9:38 pm by dick scherrer From DB2 to Interview Questions
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions All times are GMT + 6 Hours
Page 1 of 1