INSERTS and Queries - Mailing list pgsql-general

From C G
Subject INSERTS and Queries
Date
Msg-id BAY15-F49zJ9skB47qX00016155@hotmail.com
Whole thread Raw
Responses Re: INSERTS and Queries
Re: INSERTS and Queries
Re: INSERTS and Queries
List pgsql-general
Dear All,

I can use insert with 'select' if I do this

INSERT INTO TABLE t1 (col1) SELECT stuff FROM t2;

But I want to insert more than one thing into the table, e.g.

INSERT INTO TABLE t1 (col1,col2) SELECT stuff FROM t2 , 100;

Any ideas on how I would achieve this?

Thanks

Colin

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today!
http://www.msn.co.uk/messenger


pgsql-general by date:

Previous
From: Karam Chand
Date:
Subject: Re: List of reserved keywords and function names in PostgreSQL
Next
From: Russ Brown
Date:
Subject: Re: INSERTS and Queries