Re: Bulk coying of data from one table to another

From: "shreedhar" <shreedhar(at)lucidindia(dot)net>
To: "shoaib" <shoaibm(at)vmoksha(dot)com>, "'Postgres general mailing list'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Bulk coying of data from one table to another
Date: 2003-06-02 11:10:48
Message-ID: 01b101c328f7$9fbb47f0$1201a8c0@a4005
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)vmoksha(dot)com>
To: "'Postgres general mailing list'" <pgsql-general(at)postgresql(dot)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
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2003-06-02 11:32:29 Re: Accessing 2 different databases in the same query ?
Previous Message Devrim GUNDUZ 2003-06-02 11:08:03 Re: Bulk coying of data from one table to another