|
Question : DTS export to a generated text filename
|
|
I have a DTS package that needs to be run hourly. It is querying a couple tables and will write out a text file. This works fine. My next step is to have a generated text filename for the file. The task needs to run every hour of the day and create a filename based on mmddyy01.txt mmddyy02.txt.
The date field will be the actualy date and the 01-24 will be a counter based on the hour the file is run. I don't see how I am able to do this last part from DTS. It seems as I can only have a static file name to export to and either append or re-write the file each time the dts package kicks off. Am I missing something?
|
|
Answer : DTS export to a generated text filename
|
|
Right. It should be: Active X script --> Connection 1 -> Transform Data Task -> Text File Destination -> On Completion
|
|
|