Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting PKs of Tables
Message
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00755682
Message ID:
00755711
Views:
17
Yes. I just wanted to be 100% sure about SQL Server since I know precious little about that system.

>Yes. Isn't it the same in Oracle? There's also system stored procedure sp_pkeys that returns PK info for one table. It also includes column that specifies order of columns in PK. You can use it's source code to directly access SQL Server system tables which is not recomended by MS.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform