How to change the length of a column defined with a Primary key constraint?
You can not change it directly, you have to delete and recreate with new definition.
MSDN says "To modify a PRIMARY KEY constraint, you must first delete the existing PRIMARY KEY constraint and then re-create it with the new definition"
Read More..   [107 clicks]
Published under: SQL Server Interview Questions · · · ·