Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return the colid of primary key for table
Message
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Return the colid of primary key for table
Miscellaneous
Thread ID:
00663859
Message ID:
00663859
Views:
65
I'm trying to write a query of the system tables in my DB where I pass it the id of the table - and what I want to get back is the colid and name of the column that is the primary key for the table.

Anyone have any ideas?
Al Williams

Anola MB, CANADA
Next
Reply
Map
View

Click here to load this message in the networking platform