Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Difference in basic SELECT and cursor select

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
meenal_mainframes
Warnings : 1

New User


Joined: 07 Jul 2006
Posts: 9
Location: USA

PostPosted: Thu Dec 28, 2006 5:21 pm    Post subject: Difference in basic SELECT and cursor select
Reply with quote

can someone tell me difference b/w basic select and cursor query.
other than cursor fetches multiple rows
Back to top
View user's profile Send private message

ravi17s
Warnings : 1

New User


Joined: 15 Aug 2003
Posts: 57

PostPosted: Thu Dec 28, 2006 6:36 pm    Post subject: Re: difference
Reply with quote

Cursors can be used onlyin an Embedded SQL
Cursor can be declared with HOLD ,FOR UPDATE etc..
Different Types of Cursor' are:
SENSITIVE STATIC SCROLL,INSENSITIVE
SCROLL

SELECT returs SQLCODE=-811 if multiple row exist.
The main reason for the oigin of cursor is to select Multiple record.

Thx,
Ravi
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Getting -504 Cursor Name GTT-ARTS-CUR... Robin Sulsona DB2 2 Fri Mar 17, 2017 1:43 am
No new posts Release of Adabas Cursor mohitsethi All Other Mainframe Topics 1 Mon Feb 06, 2017 8:36 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Updating Cursor row withour using FOR... chandan.inst DB2 15 Tue Nov 08, 2016 11:17 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us