Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres advance table id 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 #advance #table #id #count
ADD COMMENT
Topic
Name
3+5 =