DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
setval in postgres
SELECT setval('tbl_tbl_id_seq', max(tbl_id)) FROM tbl;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#setval
#postgres
ADD COMMENT
Topic
COMMENT
Name
9+4 =
Submit