Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

psql generate id in existing database

ALTER TABLE test1 ADD COLUMN id SERIAL PRIMARY KEY;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #psql #generate #id #existing #database
ADD COMMENT
Topic
Name
1+6 =