Jan 12, 2014

Auto increment primary key in PostgreSQL

If you want to increment primary key automatically in Postgres, "serial" is a good option.


Please that you do not need to specify a primary key to insert data to your database.

No comments:

Post a Comment