Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pull out the PK field for the table
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01347071
Message ID:
01347232
Views:
19
>>As far as i know
>>Insert data returned by sp_pkeys in #temp and use in you query.
>
>There're other ways. See Message #796855, for example. I'm pretty sure that in SQL 2005 one of sys system views should have this info as well.

Thanks, this worked nicely.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform