Search Postgresql Archives

Wrong increments of Sequence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have created a sequence with minimum value=1 and increment=1. But whenever
I enter a record in a table and use nextval('seqstudentmaster') to insert
new studentid, it is incremented by 20. How to set it to increment by 1?
-- 
View this message in context: http://www.nabble.com/Wrong-increments-of-Sequence-tf3496141.html#a9765151
Sent from the PostgreSQL - general mailing list archive at Nabble.com.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux