We help IT Professionals succeed at work.
Get Started

How to setup a single DTS package to handle loading multiple files

ktQueBIT
ktQueBIT asked
on
1,523 Views
Last Modified: 2013-11-30
I have created a DTS package using SQL Server 2000 that loads data into SQL server from an external set of extracted data files.  The problem is that the DTS package is currently loading the data from excel spreadsheets and using the Excel 97-2000 source object in DTS it forces you to map to a specific file name.  My problem is that the data files that the DTS package is going to be loading are coming from several different sources.  The thing is the content of the data files is exactly the same as it gets pulled from each source so the column in all the data files are identical so they can be loaded by the same DTS package.  My problem is that I do not know of a good way to have the DTS pakcage handle a set of files.  In this case the files will have the exact content structure but the acutal file names will vary based on the source.  Does anyone know of a good way to have DTS load about 20 files worth of data into SQL server using a single DTS package where the only difference will be the names of the files.  Any ideas guidance or examples would be greatly appreciated.
Comment
Watch Question
Top Expert 2007
Commented:
This problem has been solved!
Unlock 2 Answers and 6 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE