![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, An application .Net has to run a DTS package. This DTS package uses a step as followed: Execute SQL Task : execute a stored procedure with parameters. The problem is that the parameters of the stored procedure are using global variables, and .Net encounters some problems with them : exec myStoredProcedure ?,? => failure If we remove the Global Variables from the DTS package Properties, and hard code the parameters, it works : exec myStoredProcedure 10, 2003 => success But in any case, the DTS runs successfully in Entreprise Manager with or without any global variables. Thanks for your reply, Regards, Sophie BELAN |
![]() |
| Thread Tools | |
| Display Modes | |
| |