May 4, 2015 at 9:11 pm
Comments posted to this topic are about the item DDL Auditing using the Default trace
Regards,
Raj
May 5, 2015 at 6:59 am
A little deep for me. I'll pass this one on to the Admin.
May 5, 2015 at 11:01 am
I'd suggest changing the query to get the trace file name from:
select convert(varchar(1000),path) as path from sys.traces where id = 1
To
select convert(varchar(1000),path) as path from sys.traces where is_default = 1
if the server you run it on has C2 or common criteria enabled you aren't guaranteed that the default trace will get id = 1, but it will always have is_default = 1.
Otherwise a good article. I'd like to see a follow-up that has some SSRS reports built on top of the data collected.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 5, 2015 at 9:39 pm
Jack Corbett (5/5/2015)
I'd suggest changing the query to get the trace file name from:
select convert(varchar(1000),path) as path from sys.traces where id = 1
To
select convert(varchar(1000),path) as path from sys.traces where is_default = 1
if the server you run it on has C2 or common criteria enabled you aren't guaranteed that the default trace will get id = 1, but it will always have is_default = 1.
Otherwise a good article. I'd like to see a follow-up that has some SSRS reports built on top of the data collected.
Thanks for the suggestion. Not sure I can edit the article as it has been published. Will attempt a follow up on SSRS reports as well
Regards,
Raj
Viewing 4 posts - 1 through 3 (of 3 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