Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > returning on in...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3374 of 3797
Post > Topic >>

returning on inserts

by chestercyoung@[EMAIL PROTECTED] (chester c young) Mar 27, 2008 at 12:24 PM

insert into t1( c1 )
select c1 from t2
returning t1.c1, t2.c2;

ERROR: missing FROM-clause entry for table "t2"

is there any way to make this work?


     
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

-- 
Sent via pgsql-sql mailing list (pgsql-sql@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
 




 1 Posts in Topic:
returning on inserts
chestercyoung@[EMAIL PROT  2008-03-27 12:24:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 9:46:44 CST 2008.