>That's actually a double work. In the thread I referenced in another thread there is WriteToLogFile function.
>
>
http://vyaskn.tripod.com/code/write_to_file.txt>
Sure,
BUT in SQL Server 2005 xp_cmdshell is disabled by default and most of DBAs leave it that way and even didn't want to hear about to enable it.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.