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 

How to insert new rows into a table in a single insert query

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


Joined: 09 Sep 2005
Posts: 7
Topics: 4

PostPosted: Wed Feb 08, 2006 12:21 am    Post subject: How to insert new rows into a table in a single insert query Reply with quote

i want to insert three rows into a table(for all the existing columns)

i tried like this

INSERT INTO TABLE.A

VALUES

(A,B,C), (C,D,E);

will it work
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Wed Feb 08, 2006 1:51 am    Post subject: Reply with quote

When the values to be inserted provided by you, you can insert only one row per statement. It is well described in the fine manual.

O.
________
oxygen vaporizer
Back to top
View user's profile Send private message Send e-mail
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