dbTalk Databases Forums  

Re: How do you sort files in DTS?

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


Discuss Re: How do you sort files in DTS? in the microsoft.public.sqlserver.dts forum.



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

Default Re: How do you sort files in DTS? - 08-23-2004 , 03:22 PM






In message <4057715B-AD3C-4007-9C1B-814F4D3EC800 (AT) microsoft (DOT) com>, JUnits
<JUnits (AT) discussions (DOT) microsoft.com> writes
Quote:
This may be a dumb question, but how do you sort files in dts? I suppose you
could use the window sort command, but it doesn't allow you to specify colums
to sort on. Do you have to use a third party sort program?

I have a data warehouse load application that currently does most of the
processing in a staging database which is initially load via bcp. The
sorting, matching, cleaning, etc. happens in the database. I would like to
pull this processing out of the database and use text file processing to do
the etl and then bcp the results to the datawarehouse to speed up the
processing. However, this will be a tough task without a flexible sorting
program.

Does anybody do something similar?

Today I think you are better off doing this in a staging database. Not
sure how you can efficiently perform matches between files and files and
SQL for example.

No help at all I'm sure, but come SQL 2005 then things get a lot better,
and you can sort data inside DTS, whilst performing the entire ETL
process. If this is a new project you might have scope to start with SQL
2005 Beta 2, depending on delivery dates etc

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

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.