Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how add a PRIMARY KEY column TO SQL table

ALTER TABLE old_table ADD pk_column INT AUTO_INCREMENT PRIMARY KEY;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #PRIMARY #KEY #column #TO #SQL #table
ADD COMMENT
Topic
Name
4+5 =