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 

update using join

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


Joined: 28 May 2004
Posts: 1
Topics: 1
Location: Inida

PostPosted: Fri May 28, 2004 5:10 am    Post subject: update using join Reply with quote

Hi,
Any body know whether we can update a table value directly from other table as like below query.
Code:

Update TABLE1 TABLE2
SET TABLE1.COLUMN1=TABLE2.COLUMN3
WHERE TABLE1.COLUMN2=TABLE2.COLUMN1 AND
TABLE1.COLUMN3=TABLE2.COLUMN2.

If not let me know how to update the TABLE1.COLUMN1 with value in TABLE2.COLUM3.
_________________
chandru.
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