Viewing 3 posts - 1 through 3 (of 3 total)
Hey
If you didn't remove the line:
DECLARE @TraceID INT;
You are declaring it, so I would check for misspellings, left out lines, or if you do a GO inbetween
/Jon
DBA_Learner (9/12/2012)
September 13, 2012 at 12:10 am
Awesome!
Thanks a lot, that works great 🙂
/Jon
January 9, 2012 at 12:22 am
Hey
I am getting an error on adding the event
DECLARE @return_code INT;
DECLARE @TraceID INT;
DECLARE @maxfilesize BIGINT;
SET @maxfilesize = 5;
--step 1: create a new empty trace definition
EXEC sp_trace_create
...
January 6, 2012 at 5:31 am
Viewing 3 posts - 1 through 3 (of 3 total)