How to setup a single DTS package to handle loading multiple files
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.
Microsoft SQL Server
8/22/2022 - Mon
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat