Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres insert new row advance count

# 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 #insert #row #advance #count
ADD COMMENT
Topic
Name
1+7 =