August 5, 2009 at 11:48 pm
Hello,
I have several sql scripts to be executed on a set schedule, with the output directed to a text file. If the schedule triggers this process daily, is it possible to append each days output to the same output file? I've researched the osql switches and various online sources...nothing really covers this.
This is done (relatively) easily with .vbs, but so far it looks tougher with TSQL.
Many thanks to all who respond!
August 6, 2009 at 12:20 am
Instead of using the [font="Arial Black"]-o filename [/font]option of OSQL, use [font="Arial Black"]>> filename [/font]instead
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply