Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgresql auto increment not working

SELECT setval('test_id_seq', (SELECT MAX(id) from "test"));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #postgresql #auto #increment #working
ADD COMMENT
Topic
Name
7+2 =