Re: [SQL] auto_increment?

From: Oleg Broytmann <phd(at)phd(dot)russ(dot)ru>
To: Rodrigo Bernardo Pimentel <rbp(at)pobox(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] auto_increment?
Date: 1999-10-21 16:12:30
Message-ID: Pine.LNX.4.20.9910211611370.18211-100000@fep132.fep.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, 21 Oct 1999, Rodrigo Bernardo Pimentel wrote:
> I recently had to port a script from using Postgres to MySQL.
> In Postgres, when I have to use a unique id, I create a sequence

In Postgres, you can use "serial" column type. In MySQL, it is
"auto_increment".

Oleg.
----
Oleg Broytmann http://members.xoom.com/phd2/ phd2(at)earthling(dot)net
Programmers don't die, they just GOSUB without RETURN.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Pham, Thinh 1999-10-21 16:31:11 RE: [SQL] auto_increment?
Previous Message David Rugge 1999-10-21 16:12:26 Re: [SQL] auto_increment?