Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

adding primery key constraint to a column

ALTER TABLE table_name
ADD CONSTRAINT some_name PRIMARY KEY (column_name)
Source by campus.datacamp.com #
 
PREVIOUS NEXT
Tagged: #adding #primery #key #constraint #column
ADD COMMENT
Topic
Name
2+8 =