• 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