Received: from web20610.mail.yahoo.com (web20610.mail.yahoo.com [216.136.226.168]) by postgresql.org (8.11.3/8.11.4) with SMTP id f9I6Z2P85179 for ; Thu, 18 Oct 2001 02:35:02 -0400 (EDT) (envelope-from mr_ocp@yahoo.com) Message-ID: <20011018063501.31635.qmail@web20610.mail.yahoo.com> Received: from [24.112.241.253] by web20610.mail.yahoo.com via HTTP; Thu, 18 Oct 2001 16:35:01 EST Date: Thu, 18 Oct 2001 16:35:01 +1000 (EST) From: =?iso-8859-1?q?Mr=20OCP?= Subject: Please help - tks To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200110/170 X-Sequence-Number: 2414 Hi Folks We have about 300,000 records to update, I have created a file with the ids of the records to be updated, since the number of records to be updated is very large, the update statement takes forever and server slows down dramatically, therefore I want to do one at a time. Do you guys have any script which may update records one by one using the file that lists these records. I am running postgresql sever under Unix, any kind of script would do, whether its a perl, bash or sql whatever script Thanks for your help Mike http://briefcase.yahoo.com.au - Yahoo! Briefcase - Manage your files online.