Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return variable question
Message
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00667483
Message ID:
00667534
Views:
25
strSQL = "exec dbo.sp_VarianceReport @UserName = wgriffiths, @SortOrder = CostCenter"
Try delimiting the parameters:
strSQL = "exec dbo.sp_VarianceReport @UserName = 'wgriffiths', @SortOrder = 'CostCenter'"
And, as Sergey mentioned, make sure that you have a SET NOCOUNT ON at the top of your stored procedure.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform