Re: [SQL] Alternative Serial

2007-03-11 Thread A. Kretschmer
am Sun, dem 11.03.2007, um 11:20:33 -0300 mailte Ezequias Rodrigues da Rocha folgendes: > nextval('mySerial_id'::regclass) > > What is regclass ? An Object Identifier for relation names. See http://www.postgresql.org/docs/8.1/interactive/datatype-oid.html Andreas -- Andreas Kretschmer Konta

[SQL] Alternative Serial

2007-03-11 Thread Ezequias Rodrigues da Rocha
Hi list, I know that serials must be created like this. Create the Serial Create a field table and reffers to the pre-created serial. Now I noticed that it is possible to use the default value. I am almost quite sure that this is an alternative way and non polite. I would like to know if I am