November 12, 2014 at 4:45 am
Comments posted to this topic are about the item Read all trace file data and print the action performed
Thanks.
May 11, 2015 at 1:27 pm
Thanks, I'll check this out.
September 13, 2016 at 7:35 am
Thanks for taking the time to share this with everyone. I did run into a problem though. I would get an error message similar to this:
Msg 567, Level 16, State 5, Line 36
File 'xxxxxx' either does not exist or is not a recognizable trace file. Or there was an error opening the file.
I found that if you change this line of code:
SET @CMD = 'DIR ' + @tracelocation + '*.TRC' + ' /B'
To this (adding double-quotes):
SET @CMD = 'DIR "' + @tracelocation + '*.TRC"' + ' /B'
Then it works fine. Thanks.
Lee
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy