Answers for "postgresql reset index auto_increment"

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 "postgresql reset index auto_increment"

Code answers related to "SQL"

Browse Popular Code Answers by Language