Can you derive the name of the file from a simple query?
Even if its something like
SELECT 'TextFile'+Convert(char(8),GetDate(),112)+'.TXT'
If so, you can use a Dynamic Properties task within the DTS package to query the database and set the destination filename. If the query is complex or is derived from the calling procedure, then there is another more complex route.
How does the Dynamic Properties task work for you? Good luck!
--John
-----------------------------------
Behold! As a wild ass in the desert
go forth I to do my work.
--Gurnie Hallock (Dune)
This person wants to do something similar, If you follow the same general Idea, you could set the Dest File name via, Global variable which you would pass in to the DTS package when you execute it from the Stored procedure that is described in the thread
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.