Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Invalid Number of Parameters Ole DB Destination

$
0
0

Hi,

I'm using an Ole DB Source to retrieve data from a table in one database, then a Data Transformation, then an Ole DB Destination to place the data in a table in another database. This was working fine but then I learned that I had to use a stored procedure because of permissions where I work. Now, I need to use a sql statement like this to execute a stored procedure:

exec p_fra_fir_ins_invc_dstr_acty_trn_stg ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?

Do I need another task to setup the parameters? Without using a stored procedure another task wasn't required, but I think this might be the problem, that no parameters are actually set. I see where you can set them in the Ole DB Source but not in the destination. Could anyone help?

Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>