|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, May 19, 2010 3:52 AM
Points: 35,
Visits: 129
|
|
Hi All, I have a question about Precedence Constraints in data flow task. My scenario is i have used multicast to connect multiple destination. In that destination i have inserted to some of the tables. Destination2 table having foreign key of destination1. The destination2 will start once the destination1 completes. I dont know how it was worked. Whether i need to put any precedence over there.
Thanks in advance Pras
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: 2 days ago @ 11:51 AM
Points: 1,106,
Visits: 2,111
|
|
aprasy (4/22/2009) Hi All, I have a question about Precedence Constraints in data flow task. My scenario is i have used multicast to connect multiple destination. In that destination i have inserted to some of the tables. Destination2 table having foreign key of destination1. The destination2 will start once the destination1 completes. I dont know how it was worked. Whether i need to put any precedence over there.
Thanks in advance Pras
Split your loading process in two separate data flows and make the second data flow execute only after the first data flow is done. There is no precedence constraint in a data flow.
--- SSIS Tasks Components Scripts Services | http://www.cozyroc.com/
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, May 19, 2010 3:52 AM
Points: 35,
Visits: 129
|
|
Thanks for your reply. I dont know how to run the second data flow task while the first data flow task is done. Can u clear this? I am curious to know how to do that.
Thanks
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: 2 days ago @ 5:12 AM
Points: 4,226,
Visits: 9,458
|
|
You will have two dataflows appearing on your Control Flow - simply join (a) to (b) and you can be sure that (b) will execute after (a).
Not sure that helps you - as you want all of the processing controlled within a single DF task, I think. I can't see an obvious way of controlling precedence immediately after a Multicast, but I'm betting CozyRoc has a solution.
____________________________________________________________________________________________
Help us to help you. For better, quicker and more focused answers to your questions, consider following the advice in this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
If you are asking for help and your post does not contain a question, you should expect responses which do not contain any answers. Put a question mark in there somewhere - it's not rocket science.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: 2 days ago @ 11:51 AM
Points: 1,106,
Visits: 2,111
|
|
aprasy (4/28/2009) Thanks for your reply. I dont know how to run the second data flow task while the first data flow task is done. Can u clear this? I am curious to know how to do that.
Thanks
You just connect the data flow tasks with the standard connector.
--- SSIS Tasks Components Scripts Services | http://www.cozyroc.com/
|
|
|
|