Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

add primary key to existing table sql

ALTER TABLE `tblauto`
  ADD PRIMARY KEY (`id`);

--
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #primary #key #existing #table #sql
ADD COMMENT
Topic
Name
4+7 =