Question : Error using stored procedure with a parameter in DTS Transform Data Task

Hi,

I am trying to create a DTS package.

I use a stored procedure with 1 parameter as a data source for the Transform Data Task in such a form:

       exec sp_my_stored_procedure ?

The parameter is created. I also created Global Variable to hold the value for the parameter.
Nevertheless, when I try to execute stored procedure (I push the Preview button), I get the following
error message:

     Values for one or more required parameters are missed

Can anybody help me ?

Gregory

Answer : Error using stored procedure with a parameter in DTS Transform Data Task

To be honest I think the DTS is still a bit flaky and I wouldn't be suprised if there is strange behaviour with the preview button.

If you want to seriously look into it you could try using Profiler to see exactly what is being sent to the database.

Random Solutions  
 
programming4us programming4us