Geeks With Blogs
Sathya Narayanan Srinivasan .NET Developer August 2012 Entries
Auto increment in postgres
While creating the table you can see a data type called Serial or BigSerial (Note that these two options will not be available when you modify a column thats already created. You can see these options only when you create a column in pgAdmin III)

In create table script you need to give the SQL command like this :-
"ID" serial NOT NULL

Posted On Sunday, August 26, 2012 5:52 PM

Copyright © sathya | Powered by: