Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call a stored procedure within a select
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
How to call a stored procedure within a select
Miscellaneous
Thread ID:
00984413
Message ID:
00984413
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform