Dynamic Table Creation in DTS Package
I need to import several very large CSV files (both in records and columns) into SQL Server 2000. I've created a DTS package that creates a table then uses bulk insert to load the dad. It uses a .ini file to specify dynamic values like db name, file name, etc, and it works fine. The problem is that not every table is identical so now I'd like to be able to alter the table creation query. My .ini file cuts off the query within a few dozen characters and it won't work with multiline queries. Does anyone know of a way to dynamically alter the SQL table creation in a DTS package? Thanks for your assistance.
|