Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

alter or change postgresql sequence counter

SELECT setval('payments_id_seq', 21, true);  # next value will be 22
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #alter #change #postgresql #sequence #counter
ADD COMMENT
Topic
Name
9+6 =