Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Transfer data based on a condition Expand / Collapse
Author
Message
Posted Wednesday, December 18, 2013 4:34 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Tuesday, September 9, 2014 3:27 AM
Points: 1,893, Visits: 2,329
Hi all,

I have to transfer data from Source to Destination based on a condition, how can I achieve this?

Currently I took OLEDB as Source and after that I put a conditional split so that I can transfer data only for rows who has StatusFlag = 0 only and then I used OLEDB as Destination.

Is it Ok or Do we can achieve this scenario in another way too?


Thanks in advance....



_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Post #1524027
Posted Wednesday, December 18, 2013 4:48 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, September 15, 2014 9:35 AM
Points: 1,116, Visits: 959
I don't think you would require a conditional split in this scenario. Instead you can filter the required data at your source where StatusFlag = 0.
Post #1524032
Posted Wednesday, December 18, 2013 4:49 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 12:49 AM
Points: 12,946, Visits: 10,719
Please do not crosspost. It fragments replies and wastes peoples time.

Original thread with replies can be found here:
http://www.sqlservercentral.com/Forums/Topic1524028-2799-1.aspx




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1524034
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse