View Table Constraints in SQL Server

December 16th, 2011 by amit Leave a reply »
  • Sharebar

To view all the constraints set for a table in MS SQL Server use the built in stored proc:

 

sp_helpconstraint ‘tablename’

Advertisement

Leave a Reply

*

Follow Me