I have a package that export the data from table to text file, and I need to create this text file with different names, like ("file001","file002",...).
I'm thinking in to use a gloval variable in the file name property, like this: C:\Claydson\ETL\DTS\[variable], but it isn't working.
Does anybody know how can I do this?
Thanks MAK very much. It worked very well! I have another question: I need to process text files as source data, and I don't know its names, I know only the path where they are located. How can I "discover" the name of the files in a path and use it into my package?
I am scheduling DTS package to generate output in text file. I am using stored procedure for generating data. In that stored procedure I am creating temporary table and deleting it after its usage. It works fine in SQL Analyzer however fails in scheduling as DTS. Can anyone tell why it happens? thanks...