I have a table where the ID sequence goes like 01,02 and so on (I have a few pre-inserted values). When I try to insert a new row there (not specifying the ID explicitly, but rather values for other columns) it tells me that the default value is "1" which is the same as "01" and can't be inserted. How to fix it, thank you!
Asked
Active
Viewed 510 times
0
-
1https://www.postgresql.org/docs/11/sql-createsequence.html – JB Nizet Apr 24 '19 at 21:31