Forums | Webyog
Tools to manage and monitor MySQL databases
forums › forums › SQLyog › Using SQLyog › creation of "primary keys"
Once a table has been created using SQLyog it seems that I can not go back and add a primary key to that table.
Am I doing something wrong or is this a “feature” of mySQL or SQLyog.
Not real important just a pain in the “…”
Thanks
Don
Just select the table in the ObjectBrowser and select Alter Table Structure… from the popup menu (or press F6). Check the corresponding PK? checkboxes for the columns on which you want to create the keys.
After you are done, click Alter Table