![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am very new to DTS, so please bear with me. I have set up simple DTS packages using just Transform Data Tasks and Execute SQL Tasks, and they work well. One of the data sources is an Oracle 8i database. Now I would like to select data from the Oracle database based on data already in my SQL Server database (do an incremental update), but appearently it is not possible to use parameters because the Oracle OLE Provider does not support parameters. Is there another way to do this? E.g., is it possible to write an ActiveX Task to manipulate the SQL in an existing Transform Data Task so that only literal "parameters" are sent in the SQL to Oracle. Or is there a better, different way to do this? Even if someone could just point me in the right direction, it would be a great help. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thanks Allan. Perfect response. I used your first method and after a bit of fiddling with VB Script it runs like a dream. The article and sample code by Darren Green was also invaluable. Thanks again |
#5
| |||
| |||
|
|
OK changing the SQL using an ActiveX Script works but... Doesn't any other driver to access oracle support parameters?? I've tried using Microsoft ODBC for Oracle but couldn't make it work. Les Russell wrote: Thanks Allan. Perfect response. I used your first method and after a bit of fiddling with VB Script it runs like a dream. The article and sample code by Darren Green was also invaluable. Thanks again |
![]() |
| Thread Tools | |
| Display Modes | |
| |