IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

By default, Cursor is readable or updateble


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
swati

New User


Joined: 14 Sep 2005
Posts: 7

PostPosted: Thu Nov 17, 2005 3:32 pm
Reply with quote

default cursor is readable or updateble?
Back to top
View user's profile Send private message
krishnaboya

New User


Joined: 17 Nov 2005
Posts: 3

PostPosted: Thu Nov 17, 2005 3:59 pm
Reply with quote

We can't say Cursor is by default Read only or updatable. It is depends on how do you define the cursor ....
Read only cursors are ...

1) If you define the cursor with for read only or for fetch only.
2) If you define the cursor with view which is read only.
3) If you define the cursor with UNION or Group By or Having or any User defined functions or Table functions
4) If you define the cursor with where clause

Updatable Cursors are ...
1) If you define a cursor with FOR UPDATE OF clause
Back to top
View user's profile Send private message
swati

New User


Joined: 14 Sep 2005
Posts: 7

PostPosted: Thu Nov 17, 2005 4:24 pm
Reply with quote

Thanks for your reply
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts JCL to read ps and convert it to read... DFSORT/ICETOOL 1
No new posts Define default volume for DSN storage... JCL & VSAM 8
No new posts COnvert a column with mix of hex ,cha... DB2 5
Search our Forums:

Back to Top