hi,
i am creating a table and i want to add an auto incrementable field
is that correct?
psql ival << EOF
create table partes (
codigo int not null auto_increment,
usuario varchar(15),
fecha date,
proyecto varchar(30),
horas int4,
trabajo varchar(100),
observaciones varchar(90),
primary key(codigo));
EOF
how can i do it?
thanks in advance,
marcos
--
m a r c o s @ i v a l . e s
- Re: [GENERAL] auto increment james
- Re: [GENERAL] auto increment Bruce Momjian
- Re: [GENERAL] auto increment Marcos
- Re: [GENERAL] auto increment Oliver Elphick
- Re: [GENERAL] auto increment Martin A. Marques
- Re: [GENERAL] Auto Increment Bruce Momjian
- Re: [GENERAL] Auto Increment Brett W. McCoy
- Re: [GENERAL] Auto Increment Bruce Momjian
- [GENERAL] The FAQ Brett W. McCoy
- [GENERAL] Re: The FAQ Bruce Momjian
- Re: [GENERAL] Auto Increment Tom Lane
- Re: [GENERAL] Auto Increment Brett W. McCoy
- List metadata tags (was Re: [GENERAL] Auto ... Peter Eisentraut
