DEV Community

LFC
LFC

Posted on

Query to get Primary Key & Foreign Key columns

I want to share this query for SQL Server to get PK, FK, and Data Type information from a DB Table.

Enjoy!

Top comments (0)