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

Updating a table with values from multiple tables


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

New User


Joined: 02 Oct 2007
Posts: 7
Location: Delhi

PostPosted: Thu Oct 04, 2007 10:03 am
Reply with quote

Hi,
I have retrived some values from multiple tables and i want to update a table with all those values in a go, please give me the syntax for it.

Regards,
minakshi
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Thu Oct 04, 2007 10:08 am
Reply with quote

Use nested queries like-
INSERT IN TO T1 (SELECT --YOUR QUERY HERE--)

Please let us know if you need anything else.
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 Format data from multiple records usi... SYNCSORT 4
No new posts count contained values of several col... DB2 5
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Question regarding ISPF tables with T... TSO/ISPF 11
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
Search our Forums:


Back to Top