SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 validate flat file data for each row & Column
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AshokVallu
Starting Member

India
1 Posts

Posted - 07/21/2014 :  10:52:49  Show Profile  Reply with Quote
Hi All,

I am trying to find a solution for my task.

My task is, I have a Flat File Source data. Using Flat File Source of DFT, I am reading it.

Now I have to validate data of this source for each row nearly on all columns with the data of different tables of a database.

For example, Data of ColumnA of source file need to validate with some x table data of my database. In the same way data of columnB of source need to be validate with some Y table data of my database.

What exactly I want to say is, for each column of source data, I have to apply some different business rules and after passing all these validation the result data I have to insert into Destination table.

Please help me, if any one have solution for this.

Thanks & Regards


Ashok Vallu

gbritton
Flowing Fount of Yak Knowledge

1077 Posts

Posted - 07/21/2014 :  13:27:54  Show Profile  Reply with Quote
the Lookup transform is helpful in validating against databases. The Conditional Split transform lets you create separate data flows based on the contents of the data. If your business rules are applied row-by-row, these tools may suffice. If you need more sophisticated tests, consider writing a script component or two.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000