No need using DTS.  

One word: bcp 

and xp_shell to execute it and it is super fast.


-----Original Message-----
From: Martin Thorpe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 26, 2006 5:36 AM
To: CF-Talk
Subject: reading large text file

Hello all.

 

I am uploading a 74 + MB tab delimited text file that I am then reading
and inserting the values into a database.  The problem is it always
times out, or just takes too long (did not finish over night!!!!) to
read the file.  It is uploaded fine.

 

Any suggestions about how I may approach this to make it work with such
large files?

 

I looked at a bit of Java code someone had posted here but it went no
quicker really.

 

I was thinking of maybe chopping the file into slices and then
processing but not too sure how I would approach this.

 

Any opinions or ideas/tips would be gratefully accepted.

 

Thanks for reading.

Cheers

Martin 






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247817
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to