Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 how to prove data imported right?
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

249 Posts

Posted - 04/30/2013 :  11:35:50  Show Profile  Reply with Quote
Hi there,

I use SSIS to import some text files to sql db tables. SSIS packge runs without any problem. But for some reason I need to be 100% sure the data from text files are imported to the sql tables without any change. How can I prove it? or how test it?
Thanks in advance.

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 05/02/2013 :  01:46:28  Show Profile  Reply with Quote
do you've set of columns identified as primary key (or business key)?
in that case you could check for case of any missing records in the table based on values in text file to make sure they all got transferred fine.

SQL Server MVP
Go to Top of Page

Posting Yak Master

160 Posts

Posted - 05/14/2013 :  04:31:11  Show Profile  Reply with Quote
Strange but simple, your client will come back to you if there's any mismatch or something wrong with loaded data. Second way, create simple import/export job and run the mapping from SSMS; it will give you the number of rows read from Source and the number of records that were sent to target. You would see the number of records that were errored out, if any.
Go to Top of Page
  Previous Topic Topic Next 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.02 seconds. Powered By: Snitz Forums 2000