dbTalk Databases Forums  

Update inner join

comp.databases.postgresql comp.databases.postgresql


Discuss Update inner join in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #31  
Old   
Paolo Holzl
 
Posts: n/a

Default Re: Update inner join - 03-20-2008 , 05:42 AM







Quote:
I'm not 100% sure if that's what you want, but maybe you are looking
for something like the following:

UPDATE t1 SET t1.col1 = t2.col2 FROM t2 WHERE t1.fkey = t2.pkey;
Precisely what I sought thanks


Reply With Quote
  #32  
Old   
Paolo Holzl
 
Posts: n/a

Default Re: Update inner join - 03-20-2008 , 05:42 AM







Quote:
I'm not 100% sure if that's what you want, but maybe you are looking
for something like the following:

UPDATE t1 SET t1.col1 = t2.col2 FROM t2 WHERE t1.fkey = t2.pkey;
Precisely what I sought thanks


Reply With Quote
  #33  
Old   
Paolo Holzl
 
Posts: n/a

Default Re: Update inner join - 03-20-2008 , 05:42 AM




Quote:
I'm not 100% sure if that's what you want, but maybe you are looking
for something like the following:

UPDATE t1 SET t1.col1 = t2.col2 FROM t2 WHERE t1.fkey = t2.pkey;
Precisely what I sought thanks


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.