Category: SQL Server
view more software Tips and Tricks
Updated: 07/22/2010 10:07 AM
Author: Shiju Mathews Status: Resolved. |
Inorder to add a primary key to a table the we need to select a column that has unique values with no 'null' values in the table. To add a primary to a table run the following script. OR To drop a primary to a table run the following script. |