From: Cristóvão B. B. Dalla Costa <cdallacosta@bigfoot.com>
To: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: Conditional SQL query
Date: Sun, 5 Nov 2000 18:46:07 -0300
Message-ID: <003401c04771$cf180bb0$02ffa8c0@terrificus> (raw)
References: <Pine.SGI.3.96.1001106010028.1000241C-100000@www.cdfd.org.in>
> > insert into table select ... where col1 = 'value'
> >
>
> this is working but I am inserting values directly and not by select. eg:
>
> insert into table values(x,x,x)
> and not
> insert into table select * from table2
>
insert into table select (x, x, x) where col1 = 'value'
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: cdallacosta@bigfoot.com
Subject: Re: Conditional SQL query
In-Reply-To: <003401c04771$cf180bb0$02ffa8c0@terrificus>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox