[GENERAL] what datatype is for autonumbering.in postgress

2006-04-03 Thread deepak pal
hi i have to make ine field autonumber field what datatype should be used..?? plz reply meee.. On 4/3/06, William Leite Araújo [EMAIL PROTECTED] wrote: You can make a function to do this. CREATE FUNCTION drop_operators(text) RETURNS BOOL AS $$ DECLARE op record; BEGIN

Re: [GENERAL] what datatype is for autonumbering.in postgress

2006-04-03 Thread Chris
deepak pal wrote: hi i have to make ine field autonumber field what datatype should be used..?? serial. http://www.postgresql.org/docs/8.1/interactive/datatype.html#DATATYPE-SERIAL -- Postgresql php tutorials http://www.designmagick.com/ ---(end of

Re: [GENERAL] what datatype is for autonumbering.in postgress

2006-04-03 Thread A. Kretschmer
am 04.04.2006, um 10:07:58 +0530 mailte deepak pal folgendes: hi i have to make ine field autonumber field what datatype should be used..?? plz reply meee.. You can use serial data types for this, read http://www.postgresql.org/docs/8.1/interactive/datatype.html#DATATYPE-SERIAL On