dbTalk Databases Forums  

Execute SQL Task -- not setting Output parameter

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Execute SQL Task -- not setting Output parameter in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rick
 
Posts: n/a

Default Execute SQL Task -- not setting Output parameter - 03-03-2005 , 03:49 PM






I've read and followed the article http://www.sqldts.com/default.aspx?234 but
I _still_ can't get the result from the stored procedure's output parameter
to populate my DTSGlobalVariable -- and it's driving me nuts! I 've tested
the stored procedure in Query Analyzer and it's working correctly. Any
suggestions?

Execute SQL Task code is:
------------------------------
declare @Ready tinyint
exec LoadGroup_IsReadyToLoad ?, @Ready output
select @Ready as Ready

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Execute SQL Task -- not setting Output parameter - 03-04-2005 , 04:03 AM






Have you tried SET NOCOUNT ON?


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"Rick" <Rick (AT) discussions (DOT) microsoft.com> wrote

Quote:
I've read and followed the article http://www.sqldts.com/default.aspx?234
but
I _still_ can't get the result from the stored procedure's output
parameter
to populate my DTSGlobalVariable -- and it's driving me nuts! I 've tested
the stored procedure in Query Analyzer and it's working correctly. Any
suggestions?

Execute SQL Task code is:
------------------------------
declare @Ready tinyint
exec LoadGroup_IsReadyToLoad ?, @Ready output
select @Ready as Ready



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.