DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
update postgres sequence to max
SELECT setval('table_id_seq', (SELECT MAX(id) FROM table)+1);
Source by gist.github.com #
PREVIOUS
NEXT
Tagged:
#update
#postgres
#sequence
#max
ADD COMMENT
Topic
COMMENT
Name
4+5 =
Submit