Re: APPEND INTO? - Mailing list pgsql-sql

From Jaime Casanova
Subject Re: APPEND INTO?
Date
Msg-id c2d9e70e0512010732h698b5667ueddb7338ab7a1fa1@mail.gmail.com
Whole thread Raw
In response to APPEND INTO?  (Mark Fenbers <Mark.Fenbers@noaa.gov>)
List pgsql-sql
On 12/1/05, Mark Fenbers <Mark.Fenbers@noaa.gov> wrote:
> I want to SELECT INTO mytable WHERE (criteria are met), except that I
> want to APPEND into an existing table the rows that are selected,
> instead of creating a new table (which SELECT INTO will do).  How can
> this be done?
>
> (Is this what the "FOR UPDATE OF tablename" clause is for?)
>
> Mark
>

INSERT INTO table SELECT ....

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)


pgsql-sql by date:

Previous
From: Mark Fenbers
Date:
Subject: APPEND INTO?
Next
From: Tom Lane
Date:
Subject: Re: APPEND INTO?