Answers for "how to reset auto generated id in postgresql"

SQL
1

postgresql reset auto increment

-- if you dont mind losing the data, do the following
TRUNCATE TABLE someTable RESTART IDENTITY;
Posted by: Guest on January-15-2021

Code answers related to "how to reset auto generated id in postgresql"

Code answers related to "SQL"

Browse Popular Code Answers by Language