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

How to Insert multiple Rows into Db2 table by using Cursors


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

New User


Joined: 04 Oct 2005
Posts: 34

PostPosted: Wed Jul 27, 2011 1:49 pm
Reply with quote

How to Insert multiple Rows into Db2 table by using Cursors? Could you please explain with examples.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6965
Location: porcelain throne

PostPosted: Wed Jul 27, 2011 2:02 pm
Reply with quote

naveensrimf,

using a cursor on the table which would have rows inserted?

cursors are used for select, update, delete.

go back to the manuals (links top of page - since you obviously have done no research)
and give me any example of INSERT CURRENT CURSOR
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Wed Jul 27, 2011 8:04 pm
Reply with quote

Hello,

Quote:
How to Insert multiple Rows into Db2 table by using Cursors?
If i understand the question, you don't. . . No explanation is needed . . .

Might you possibly be thinking of a multi-row insert? At the top of the page is a link to "IBM Manuals". Suggest you read about this in the manual for your release of db2.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
No new posts To join 2 tables and to join 3rd tabl... DB2 8
No new posts SAVEPOINT ON ROLLBACK RETAIN CURSORS ... DB2 1
No new posts Multiple INSPECTS on a big size file COBOL Programming 6
Search our Forums:


Back to Top