July 21, 2010 at 11:19 pm
Comments posted to this topic are about the item Custom Logging in a transaction
Mr or Mrs. 500
July 22, 2010 at 1:15 am
I have used xp_cmdshell to pipe debug to logfile when transactions fail
declare @msg varchar(255)
set @msg = 'echo ' + 'debug text here' + ' > c:\log.txt'
exec xp_cmdshell @msg ,NO_OUTPUT
but this is better
May 18, 2016 at 1:13 pm
Thanks for the script.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply