Re: How to use serial variable to insert into muiti-recrods? - Mailing list pgsql-sql

From Richard Huxton
Subject Re: How to use serial variable to insert into muiti-recrods?
Date
Msg-id 46DFB75D.2090105@archonet.com
Whole thread Raw
In response to How to use serial variable to insert into muiti-recrods?  ("hu js" <hu.bill2005@hotmail.com>)
List pgsql-sql
hu js wrote:
> run:
> "CREATE TABLE xxx
> (
> id serial NOT NULL,
> name character varying
> );
> insert into xxx select default values,place_name from air_bui;"

insert into xxx (name) SELECT place_name FROM ...

HTH
--  Richard Huxton Archonet Ltd


pgsql-sql by date:

Previous
From: "Milen A. Radev"
Date:
Subject: Re: How to use serial variable to insert into muiti-recrods?
Next
From: Jean-David Beyer
Date:
Subject: Re: How to use serial variable to insert into muiti-recrods?