>>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.
I got it the first time you told me, but thanks for the reminder <g>
If it's not broken, fix it until it is.
My Blog