Problem:
I have a DTS package scheduled every morning to import data form a .csv into our SQL Server Database.
In the package I have multiple .csv sources processing data into one SQL Server destination.
Each .csv source has its respective Global Variable to record the date of the last import.
All transformation processes were custom coded using ActiveX script and the code is responsible for updating the Global Variable.
The Global Variable is not consistantly being updated when the package is triggered by the SQL Server Agent (scheduler).
Note:
The Global Variable will update if I manually run the package twice. The first run will move the data, but not update the Global Variable until the second run.
If you need any more info to help solve this problem, please request it.
Thanks!!!
I have a DTS package scheduled every morning to import data form a .csv into our SQL Server Database.
In the package I have multiple .csv sources processing data into one SQL Server destination.
Each .csv source has its respective Global Variable to record the date of the last import.
All transformation processes were custom coded using ActiveX script and the code is responsible for updating the Global Variable.
The Global Variable is not consistantly being updated when the package is triggered by the SQL Server Agent (scheduler).
Note:
The Global Variable will update if I manually run the package twice. The first run will move the data, but not update the Global Variable until the second run.
If you need any more info to help solve this problem, please request it.
Thanks!!!