Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 69FAB2E0048 for ; Thu, 20 Mar 2008 07:49:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 62027-04 for ; Thu, 20 Mar 2008 07:49:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by postgresql.org (Postfix) with ESMTP id A473D2E0039 for ; Thu, 20 Mar 2008 07:49:29 -0300 (ADT) Received: from webserv.wug.de ([194.25.154.138]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1JcIKp0PGv-0003rs; Thu, 20 Mar 2008 11:49:25 +0100 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1JcIKo-00079V-00 for pgsql-sql@postgresql.org; Thu, 20 Mar 2008 11:49:22 +0100 Date: Thu, 20 Mar 2008 11:49:22 +0100 From: "A. Kretschmer" To: pgsql-sql@postgresql.org Subject: Re: Select into Message-ID: <20080320104922.GB18935@a-kretschmer.de> References: <94F93C0F-DA95-4435-B253-57C90961DF34@eclinic.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94F93C0F-DA95-4435-B253-57C90961DF34@eclinic.com.au> X-OS: Debian/GNU Linux - weil ich es mir Wert bin! User-Agent: Mutt/1.5.9i X-Provags-ID: V01U2FsdGVkX1/Z/EBEuELm3b5UMoN1OXlRj/HVtyTcrwLXBCA 6FbrDHhfwexLwOCd3RQC+MqeDTbwqWr60DxfWm+S6xVICRf/xk yFeuwKUDmKbV6XBmy0AJ0EpokFKJlA3 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/133 X-Sequence-Number: 30461 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 select from
where ... Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net