Browse by Tags

SQL Server TSQL to find complete CONSTRAINT information on a table catalog?
Published 9 January 8 7:26 AM | SSQA.net
I have had a requirement to see a detailed information about a constraint on a table that includes table fields, type, rules, referenced table and fields for FOREIGN KEYs, etc. Found this useful TSQL to get such information: SELECT k.table_name, k.column_name...