Thread: AUTO INCREMENT

AUTO INCREMENT

From
GANESH KUMAR
Date:
i am searching for 
autoincrement in table 

in table employee
i want give empno as autoincrement

is there any syntax
like thiscreate table emp
(empno  integer auto_increment);

send reply
ganesh

__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com


Re: AUTO INCREMENT

From
M.Mazurek@poznan.multinet.pl
Date:
On Sat, 10 Jun 2000, GANESH KUMAR wrote:
> i am searching for 
> autoincrement in table 
> 
> in table employee
> i want give empno as autoincrement
create table xyz (id serial primary key);
check documentation what it really is:).


Marcin Mazurek

-- 
administrator
MULTINET SA o/Poznan
http://www.multinet.pl/



Re: AUTO INCREMENT

From
"Lucile Dirry"
Date:
Check manual/user for details on 'sequences'.
Good luck.

-----Message d'origine-----
De : M.Mazurek@poznan.multinet.pl <M.Mazurek@poznan.multinet.pl>
À : GANESH KUMAR <itsganesh@yahoo.com>
Cc : pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Date : samedi 10 juin 2000 12:12
Objet : Re: [SQL] AUTO INCREMENT


>On Sat, 10 Jun 2000, GANESH KUMAR wrote:
>> i am searching for
>> autoincrement in table
>>
>> in table employee
>> i want give empno as autoincrement
>create table xyz (id serial primary key);
>check documentation what it really is:).
>
>
>Marcin Mazurek
>
>--
>administrator
>MULTINET SA o/Poznan
>http://www.multinet.pl/
>