Rhys666
Programmer
- May 20, 2003
- 1,106
I'm fairly experienced with SQL Server and TSQL, but usually write GUI's, (.Net, VB 6.0 etc), and therefore don't have the same level of experience with DTS as I do with sProcs etc.
I need to create a DTS package, which will output a table as a CSV file to fully qualified network location. I have the string of the Network path in a table, and the filename.
I know how to use DTS to output a table to a text file on the network but don't want to essentially hard code the filename and path in the package. I can easily get the Network path and filename from a table, and am happy I'll be able to get them into variables.
How would I then give the variables to the Text File (Destination) in the SQL Server 2000 DTS Designer, and output the chosen table to the path, with the given filename?
Rhys
Be careful that the light at the end of the tunnel isn't a train coming the other way.
I need to create a DTS package, which will output a table as a CSV file to fully qualified network location. I have the string of the Network path in a table, and the filename.
I know how to use DTS to output a table to a text file on the network but don't want to essentially hard code the filename and path in the package. I can easily get the Network path and filename from a table, and am happy I'll be able to get them into variables.
How would I then give the variables to the Text File (Destination) in the SQL Server 2000 DTS Designer, and output the chosen table to the path, with the given filename?
Rhys
Be careful that the light at the end of the tunnel isn't a train coming the other way.