Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pull out the PK field for the table
Message
 
 
To
12/09/2008 12:39:25
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01347071
Message ID:
01347114
Views:
18
This message has been marked as the solution to the initial question of the thread.
>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.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform