Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return variable question
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00667483
Message ID:
00667546
Vues:
22
>>
>>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
>
>
>Where to I issue SET NOCOUNT ON? Right after "Create procedure blahblah AS"?

Ignore the previous post - I didn't read Sergey's response closely enough - SET NOCOUNT ON did the trick. Thanks.
Al Williams

Anola MB, CANADA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform