![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
After reading the helpfull comments on here and the suggested articiles, i though i had this problem licked. My ExecuteQSQlTask looks like this DECLARE @SPReturn Int EXEC @SPReturn = Boss_UpdateHeaders '217680', '21/01/2004', '924', '000000', 'Unsubmitted', 'Test', 'A' SELECT @SPReturn AS SpOutput I have assigned the output paramenter to a global variable, ( and Integer ). Whe i run the task, the global varaible does not get updated, If i copy the code to a tSQl window it returns @spreturn with a value. If i use the build query ( executesqltask) it doesent return anything.. I can not see where i am going wrong |
#3
| |||
| |||
|
|
Hi, I have the same problem with my stored procedure CREATE PROCEDURE TESTSP @RTNVAL Integer OUTPUT AS SET NOCOUNT ON Select @RTNVAL = Count(*) from employees GO using in the Execute sql task declare @NbrLigne varchar(3) execute testsp @NbrLigne select @NbrLigne and making the output parameter in row value but it doesnot work please help thx ../Ména |
![]() |
| Thread Tools | |
| Display Modes | |
| |