Home Forums Article Discussions Article Discussions by Author Discuss content posted by Sandeep Saretha SQL 2005 - List Primary Key Columns RE: SQL 2005 - List Primary Key Columns
sean redmond
SSCertifiable
Points: 5818
More actions
May 5, 2015 at 2:36 am
#1795529
Hi Sandeep,
Many thanks for this script. I have just the spent the last hour deep in BOL, sys.objects, sys.key_constraints and friends, trying to identify which tables in the DB have composite primary keys.
Kind regards,
Sean Redmond