deepforest
SSCommitted
Points: 1780
More actions
July 21, 2010 at 11:19 pm
#223522
Comments posted to this topic are about the item Custom Logging in a transaction
Fiacre Lenehan
Mr or Mrs. 500
Points: 584
July 22, 2010 at 1:15 am
#1196655
Nice idea.
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
akljfhnlaflkj
SSC Guru
Points: 76202
May 18, 2016 at 1:13 pm
#1880002
Thanks for the script.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply