I have a DTS script that runs a stored procedure into a new table and then exports that data to a specific file. I now need to change that file name by incrementing the suffex. ie: myfile_0001.txt, myfile_0002.txt etc..
I can create a table to store the incremented number but I don't know how...
After reading the last few threads, I realized I had been using something in SQL that tells you what tables/fields get updated during a particular process.
There's a program called DBWatch at the website below ($25 per copy) which I had found through the Microsoft SQL Magazine...
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.