pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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'




view thread (10+ messages)  latest in thread

Message-ID: <003401c04771$cf180bb0$02ffa8c0@terrificus>
Permalink:  ../003401c04771$cf180bb0$02ffa8c0@terrificus/
Also on:    postgresql.org/message-id/003401c04771$cf180bb0$02ffa8c0@terrificus

 · 

reply

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