Re: Select into - Mailing list pgsql-sql

From A. Kretschmer
Subject Re: Select into
Date
Msg-id 20080320104922.GB18935@a-kretschmer.de
Whole thread Raw
In response to Select into  (Gavin 'Beau' Baumanis <gavinb@eclinic.com.au>)
Responses Re: Select into
List pgsql-sql
am  Thu, dem 20.03.2008, um 20:57:53 +1100 mailte Gavin 'Beau' Baumanis folgendes:
> Hi Everyone,
> 
> I have asked our DBA at work and h is not too sure either... so I  
> thought it best to on the list.
> 
> Basically, what I am after is a way to copy the contents of one record  
> into another.
> Something like select into; but where the destination record already  
> exists, as opposed to creating a new record.

insert into <table> select from <table> where ...


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net


pgsql-sql by date:

Previous
From: Gavin 'Beau' Baumanis
Date:
Subject: Select into
Next
From: "Gurjeet Singh"
Date:
Subject: Re: Select into