pg.ddx.io pgsql-sql@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: A. Kretschmer <andreas.kretschmer@schollglas.com>
To: pgsql-sql@postgresql.org
Subject: Re: Select into
Date: Thu, 20 Mar 2008 11:49:22 +0100
Message-ID: <20080320104922.GB18935@a-kretschmer.de> (raw)
In-Reply-To: <94F93C0F-DA95-4435-B253-57C90961DF34@eclinic.com.au>
References: <94F93C0F-DA95-4435-B253-57C90961DF34@eclinic.com.au>
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
view thread (43+ messages) latest in thread
Message-ID: <20080320104922.GB18935@a-kretschmer.de> Permalink: ../20080320104922.GB18935@a-kretschmer.de/ Also on: postgresql.org/message-id/20080320104922.GB18935@a-kretschmer.de ·
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: andreas.kretschmer@schollglas.com Subject: Re: Select into In-Reply-To: <20080320104922.GB18935@a-kretschmer.de> * 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