Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a SP from an SP...
Message
De
20/12/1999 10:14:21
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
Calling a SP from an SP...
Divers
Thread ID:
00306115
Message ID:
00306115
Vues:
52
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform