Mega Code Archive

 
Categories / PostgreSQL / Sequence
 

Create a sequence specifying the minvalue

postgres=# postgres=# -- Creating a sequence postgres=# postgres=# CREATE SEQUENCE myseq MINVALUE 0; CREATE SEQUENCE postgres=# postgres=# drop sequence myseq; DROP SEQUENCE postgres=# postgres=#