Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12554

SQL SERVER ALTER THE TABLE

$
0
0

WHAT IS THE ERROR IN FOLLOWING CODE

ALTER TABLE Item_Master_Sample.DBO.Table_2_Master ADD CONSTRAINT PK_ITEM_CODE PRIMARY KEY CLUSTERED (ITEM_CODE ASC) ON [PRIMARY]

HERE

Item_Master_Sample-Database name

Table_2_Master-table name

ITEM_CODE-table item which i want it to be primary key

How i resole this solution ...pls anyone....?


Viewing all articles
Browse latest Browse all 12554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>