Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres advance auto increment

# Reset the counter of a table named yourTable to start at id # 1453
ALTER SEQUENCE yourTable_id_seq RESTART WITH 1453
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #postgres #advance #auto #increment
ADD COMMENT
Topic
Name
5+5 =