Re: Question reagarding serial type.

From: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>
To: mgeffken(at)corcoranweb(dot)com
Cc: pgsql-general(at)hub(dot)org
Subject: Re: Question reagarding serial type.
Date: 2000-06-14 14:56:51
Message-ID: 39479D33.E47C435@austin.rr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mirko Geffken wrote:
>
> create table xyz
> (
> id serial PRIMARY KEY,
> uvw varchar2(100)
> );
>
> I would like to get the id returned when I insert into this table.

http://www.postgresql.org/docs/faq-english.html#4.16.2

Regards,
Ed Loehr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ed Loehr 2000-06-14 15:02:05 Re: Timestamp and compatiblity with MySQL
Previous Message Hrvoje Niksic 2000-06-14 14:56:36 Dropping tables