Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call a stored procedure within a select
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00984413
Message ID:
00984415
Vues:
27
A stored procedure cannot be called from a query but UDF can.

>what would be the correct syntax for calling a stored procedure within a select statement
>example:
>
>select set @ctr = @ctr + 1,
>(exec dbo.mySP1 @ctr, empfl.empid)
>from empfl
>
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform