Received: from alice.stimpy.com (root@alice.stimpy.com [208.211.184.17]) by hub.org (8.8.8/8.7.5) with ESMTP id SAA11399 for ; Tue, 25 Aug 1998 18:27:46 -0400 (EDT) Received: from alice.stimpy.com (alice.stimpy.com [208.211.184.17]) by alice.stimpy.com (8.8.6/8.6.9) with SMTP id PAA09078 for ; Tue, 25 Aug 1998 15:38:45 -0700 Date: Tue, 25 Aug 1998 15:38:45 -0700 (PDT) From: Walt Bigelow To: pgsql-sql@postgresql.org Subject: copying rows Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I have a table that stores spot info for our tape label system. I want to be able to copy all records with a specific librarynumber back into the same table, but with a different librarynumber. Something similar to this (which of course does not work) select into tblspotinfo (librarynumber) values ('6666') select spotnumber, spottitle, isci, trt, date, timecode from tblspotinfo where librarynumber = '9988'; Of course it does not like me overloading the select into command like that. Is there a simple way to do this that I am just missing? I just want to duplicate the data related to librarynumber 9988 and make the new librarynumber 6666. Thanks for any insight, Walt