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

How to run a Dos batch from SSIS based on SQL table content

$
0
0

Hi,

I have a very simple package with an execute sql task. This task checks if a certain record is present in the DWH or not. This record is always a row in a table where the task checks if the time of the latest data import equals today's date. I would like to extend tis package so that if that record exists,so the latest data imoprt was succesfull in the DWH then package runs a .BAT file from the file system, if the reocrd is not present do nothing.

Is there a TSQL command to run a .BAT file from my file system? I did  not really find my answers on the net so any help is appreciated

Thanks



Viewing all articles
Browse latest Browse all 24688

Trending Articles