Link to home
Start Free TrialLog in
Avatar of jxharding
jxharding

asked on

Run a specific SSIS Data Flow Task in a Job

It is possible to run only a specific Data Flow task via Visual Studio (right click on the Data Flow and execute). E.g. you have multiple data flows- but only execute one of them.

I am now trying to implement this ability via a job - e.g. I have 1 Control Flow with 2 Data Flows (DataFlow1, DataFlow2) - and in

SQLJob1 - it will fire DataFlow1,

SQLJob2 - will fire DataFlow2 of the same SSISPackage

The aforementioned link states "You can build a special control flow logic using expressions on precendance constraints to define optional execution paths."

I dont want to create special control flow logic - or have 2 separate SSIS packages installed - what would the SQL command be in the Job to fire only DataFlow1 please?

I see I can in VS right click and disable a specific data flow - and then run the package. I tried to see the command for disabling/enabling a specific data flow, but there is no SQL Query for it - or is it possible to run SQL query to disable/enable specific data flow?
ASKER CERTIFIED SOLUTION
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial