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
 General SQL Server Forums
 New to SQL Server Administration
 how to prove data imported right?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

allan8964
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.

visakh16
Very Important crosS Applying yaK Herder

India
52325 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
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

srimami
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  
 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.39 seconds. Powered By: Snitz Forums 2000