On Tue, 22 Feb 2000, Marco Giardini wrote:
> how do i set a table with an autonumebr field? I mean a field that it's
> automatically increased by one for each added record.
Use a SERIAL column.
E.g.:
create table x (a text, b serial);
insert into x(a) values ('abc');
--
Peter Eisentraut
how do i set a table with an autonumebr field? I mean a field that it's
automatically increased by one for each added record.
Thanks
.oesse.
--
--
+-+-+-+-+-+ +-+-+-+-+-+-+-+-+
|m|a|r|c|o| |g|i|a|r|d|i|n|i|
+-+-+-+-+-+ +-+-+-+-+-+