Difference between revisions of "Setting a prinary key"

From MyWiki
Jump to: navigation, search
(Created page with "<source lang="sql"> ALTER TABLE tableName ADD PRIMARY KEY (id) </source>")
 
(No difference)

Latest revision as of 17:33, 21 October 2014

ALTER TABLE tableName
  ADD PRIMARY KEY (id)