![]() | |
![]() |
| | Thread Tools | Display Modes |
#31
| |||
| |||
|
|
Hi Sergei, Glad I could help with the parameter issue - it was a while ago that I did this, so it might be useful if you post your findings somewhere regarding when "?"'s are accepted and when they aren't ![]() Regarding the column list issue; as one of the posts in your link suggested, this might be due to the use of temporary tables in your stored procedure. *Basically SSIS doesn't like them! *There is a work- around, but it can result in the stored proc being executed 5x instead of just once ... hardly ideal. *Otherwise you can try changing any temp tables into table variables - these should work fine with SSIS. I've also had problems in the past with the column list when using parameterised SP calls. *To get around this, I usually set up task using hard-coded SP parameters. *This usually allows the parser to get a resultset for preview and define the column list. *Once the columns are set then you can parameterize the statement and the metadata will remain. Good luck! J |
#32
| |||
| |||
|
|
Hi Sergei, Glad I could help with the parameter issue - it was a while ago that I did this, so it might be useful if you post your findings somewhere regarding when "?"'s are accepted and when they aren't ![]() Regarding the column list issue; as one of the posts in your link suggested, this might be due to the use of temporary tables in your stored procedure. *Basically SSIS doesn't like them! *There is a work- around, but it can result in the stored proc being executed 5x instead of just once ... hardly ideal. *Otherwise you can try changing any temp tables into table variables - these should work fine with SSIS. I've also had problems in the past with the column list when using parameterised SP calls. *To get around this, I usually set up task using hard-coded SP parameters. *This usually allows the parser to get a resultset for preview and define the column list. *Once the columns are set then you can parameterize the statement and the metadata will remain. Good luck! J |
#33
| |||
| |||
|
|
Hi Sergei, Glad I could help with the parameter issue - it was a while ago that I did this, so it might be useful if you post your findings somewhere regarding when "?"'s are accepted and when they aren't ![]() Regarding the column list issue; as one of the posts in your link suggested, this might be due to the use of temporary tables in your stored procedure. *Basically SSIS doesn't like them! *There is a work- around, but it can result in the stored proc being executed 5x instead of just once ... hardly ideal. *Otherwise you can try changing any temp tables into table variables - these should work fine with SSIS. I've also had problems in the past with the column list when using parameterised SP calls. *To get around this, I usually set up task using hard-coded SP parameters. *This usually allows the parser to get a resultset for preview and define the column list. *Once the columns are set then you can parameterize the statement and the metadata will remain. Good luck! J |
![]() |
| Thread Tools | |
| Display Modes | |
| |