dbTalk Databases Forums  

DTS Dynamic Question

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


Discuss DTS Dynamic Question in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
vze1r2ht@verizon.net
 
Posts: n/a

Default DTS Dynamic Question - 10-10-2006 , 04:56 PM






I have a ton of IIS log files that I want to import into a table in
SQL.

IIS uses a "space" limiter to seperate into columns.

I want to import each log file into the table. I written a DTS package
to do this BUT everytime the package completes, I have to go in and
switch the source file to a different source text file.

Is there a way to dynamically do this? I'm fairly new to DTS package
management.

Alternatively, I tried using .NET 2.0 and even BCP (bulk insert) to
import the data. .NET was too slow and BCP didn't import it properly.


Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: DTS Dynamic Question - 10-10-2006 , 05:10 PM






Try this loop method -

Looping, Importing and Archiving
(http://www.sqldts.com/default.aspx?246)


--
Darren
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com

<vze1r2ht (AT) verizon (DOT) net> wrote

Quote:
I have a ton of IIS log files that I want to import into a table in
SQL.

IIS uses a "space" limiter to seperate into columns.

I want to import each log file into the table. I written a DTS package
to do this BUT everytime the package completes, I have to go in and
switch the source file to a different source text file.

Is there a way to dynamically do this? I'm fairly new to DTS package
management.

Alternatively, I tried using .NET 2.0 and even BCP (bulk insert) to
import the data. .NET was too slow and BCP didn't import it properly.




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.