Finding primary key indexes

  • Hi all,

    Is there a way to find the primary key indexes in a database using t-sql? Thanks in advance!

  • I should have done a more detailed research....apparently there is a is_primary_key column in sys.indexes.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply