SDU Tools: List Primary Key Columns in a SQL Server Database

added by DotNetKicks
11/23/2018 2:00:58 PM

1 Kicks, 2730 Views

I'm often checking out what the primary keys are for tables that I'm working on. One of our free SDU Tools for developers and DBAs does just that. it's ListPrimaryKeyColumns. You can see how to execute it in the main image above. The procedure takes these parameters: @DatabaseName sysname - This is the database to ...