I have a SSIS package with a Data Flow Task containing an OLEDB source and OLEDB Destination. Again I have a Batch file(.bat file) to execute the SSIS package, using dtexec command. In the batch file I am setting the ConnectionString property of the oledb destination’s connection manager.
I need the SSIS package to get executed parallely with different values for the Destination ConnectionString since I have to populate multiple Destination tables simulatneously.
How can I change the batch file commands so that I can execute the same SSIS package parallely at the same time, setting different values for the Destination connection Manager’s Connection string
dbenham is correct. Use the Start command in your batch file (using your example):
start “Instance 1” dtexec /FILE “C:\Users\Desktop\SSIS\PKG.dtsx” /MAXCONCURRENT ” 2 ” /SET “\Package.Connections[Destination].Properties[ConnectionString]”;\””Data Source=datasrc1;Initial Catalog=db1;User ID=usrid;Password =pswd;Provider=SQLOLEDB.1;”\”
start “Instance 2” dtexec /FILE “C:\Users\Desktop\SSIS\PKG.dtsx” /MAXCONCURRENT ” 2 ” /SET “\Package.Connections[Destination].Properties[ConnectionString]”;\””Data Source=datasrc2;Initial Catalog=dbn2;User ID=usrid;Password =pswd;Provider=SQLOLEDB.1;”\”
These will execute in parallel with different Destination ConnectionString values.