General information
Forum:
Microsoft SQL Server
Environment versions
SQL Server:
SQL Server 2005
>>Hi
>>
>>EXEC sp_pkeys @table_name = tableName
>>
>>
>
>Is it the only way? I want to create a query, how would I use this sp in a query? I'm not on a computer with SQL Server, can't test at the moment.
As far as i know
Insert data returned by sp_pkeys in #temp and use in you query.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only