CIMPOESU Teodor <teo(at)digiro(dot)net> writes:
> you have 2 ways to do it:
> 1. try something like
> CREATE TABLE STUDENTS(
> studentID int4 DEFAULT 'int(now())',
> studentName text );
Is suspect int(now()) to have a resolution of one second. Therefore
this will not work if you insert more than one record in a second.