dbTalk Databases Forums  

Importing, Transforming and Exporting text files without a staging

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


Discuss Importing, Transforming and Exporting text files without a staging in the microsoft.public.sqlserver.dts forum.



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

Default Importing, Transforming and Exporting text files without a staging - 04-05-2006 , 05:08 PM






Hi!

I need some help to do the next.

I have one text file like this:

13951926-4;500
465456-8;700
13951926-4;1000
465456-8;144444
....
and i want to get this

13951926-4;1500
465456-8;145144 (group by id, and sum the values)
....

and i must not pass through a database staging (i'm trying the enhance
the performance, if i'm wrong about this (not using an staging to do
it), please let me know)

It is posible? (all the examples that a read in the web, always use an
staging)

Do i have to read the whole text file, and programing like i was in
Visual Basic? (it exist something inside DTS which does the job (lookup
or something)?)

I also don't want to use an ODBC driver for text file (again, because
the performance).

Thanks.

Yours Faithfully

Francisco Villegas


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.