Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generic DTS package

Status
Not open for further replies.

PROPAR

Programmer
Oct 25, 2001
51
0
0
FR
Hello,
I need to transfer 312 files into as many tables in an SQL 2000 database.
Each file is a set of lines with a semi-colon separated columns, and have to be transferred in a table named after the file.
Each file have a different number of fields, each resulting in a table column.

I build a sample DTS package which works fine for a file (reading the file and creating the table).

How can I get a generic DTS package ?

The trick is that when run the DTS asks for a description of the "transform data task" just to be told that it is the simplest way : each column from a file field.

And I didn't found a way to do this automatically.

Thank you for any clue.
 
Hi,

Try using the Bulk insert task. We've found that to be a generic way of getting data into tables.

Best of luck,
Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top