dbTalk Databases Forums  

Scrub Data using DTS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Scrub Data using DTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
blinton25
 
Posts: n/a

Default Scrub Data using DTS - 08-22-2003 , 02:27 AM






Hello,

How are you today?

I wish to carry out the following:

1. Periodocally Import data from a csv file into a temp table.
2. Clean the data (which mainly would involve identifying values not
present in a lookup table and cleaning Postal Code info.)
3. Report any errors found so these can be fixed
4. Append the clean data to the destination table.

Since my destination table will be in SQL Server I wish to use DTS,
but was wondering if they are any good tutorials which I can use as a
guideline or alternatively if scripts exist to achieve this goal.

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Scrub Data using DTS - 08-22-2003 , 02:43 AM






Your methodology is one that I would use also. I always import text/csv
files into working tables. I then use TSQL/VBScript to scrub my data.

3. I presume by errors you mean duplicates. Easily done simply by matching
on key columns
4. Easily done by matching on key columns (Outer Join) where the real
table's key column is blank.

--


Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.