Re: Bulk coying of data from one table to another - Mailing list pgsql-general

From shreedhar
Subject Re: Bulk coying of data from one table to another
Date
Msg-id 01b101c328f7$9fbb47f0$1201a8c0@a4005
Whole thread Raw
In response to Bulk coying of data from one table to another  ("shoaib" <shoaibm@vmoksha.com>)
List pgsql-general
INSERT .into targettable. SELECT .. FROM destinationtable with filtered date
criteria.
DELETE FROM destinationtable with filtered date  criteria.

Sreedhar
----- Original Message -----
From: "shoaib" <shoaibm@vmoksha.com>
To: "'Postgres general mailing list'" <pgsql-general@postgresql.org>
Sent: Monday, June 02, 2003 4:01 PM
Subject: [GENERAL] Bulk coying of data from one table to another


> Hello All,
>
> I want to run a process of archival which will delete data form one
> table and insert into another based on date critria.
>
> Can anybody please guide what will be best way of doing it.
>
> Regards
>
> Shoaib
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>


pgsql-general by date:

Previous
From: Devrim GUNDUZ
Date:
Subject: Re: Bulk coying of data from one table to another
Next
From: Richard Huxton
Date:
Subject: Re: ERROR: CreateTrigger: function.....