Re: Select into

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: Select into
Дата
Msg-id 20080320104922.GB18935@a-kretschmer.de
обсуждение исходный текст
Ответ на Select into  (Gavin 'Beau' Baumanis <gavinb@eclinic.com.au>)
Ответы Re: Select into
Список 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 по дате отправления:

Предыдущее
От: Gavin 'Beau' Baumanis
Дата:
Сообщение: Select into
Следующее
От: "Gurjeet Singh"
Дата:
Сообщение: Re: Select into