Re: Auto increment?

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "K Old" <kevsurf4(at)hotmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Auto increment?
Date: 2001-04-23 23:08:45
Message-ID: 019801c0cc4a$594f0150$0401a8c0@INSPIRON
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

create table xxx (id serial) is the easy way.

Dave
----- Original Message -----
From: "K Old" <kevsurf4(at)hotmail(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Sent: Monday, April 23, 2001 6:22 PM
Subject: [GENERAL] Auto increment?

> Hello all,
>
> Any ideas how I can duplicate the auto increment feature that MySQL uses
in
> PostgreSQL? (Other than doing a query to find the next number in que)
>
> Just thought I'd ask.
>
> Thanks,
> Kevin
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-04-23 23:22:41 Re: pg_dump failure: "handler procedure for language plpgsql not foun d"
Previous Message Konstantin Borchert 2001-04-23 23:07:58 Problem with postgreSQL (number of backends)