Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a SP from an SP...
Message
From
20/12/1999 10:14:21
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
Calling a SP from an SP...
Miscellaneous
Thread ID:
00306115
Message ID:
00306115
Views:
54
Hi All,

I am writting a stored procedure where I want to determine the PK of a table. It seems that sp_pkeys is just the ticket. However, this SP returns a result set, with a column named 'COLUMN_NAME' that contains the PK name.

If I call sp_pkeys in a stored procedure, how can I access the result set it returns to get the value of column name?

Thanks,
BOb
Next
Reply
Map
View

Click here to load this message in the networking platform