﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Lowell Smith / Article Discussions / Article Discussions by Author  / Automated Trace File Collection / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 04:40:20 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Automated Trace File Collection</title><link>http://www.sqlservercentral.com/Forums/Topic14118-127-1.aspx</link><description>I ran the SQL script found at http://www.sqlservercentral.com/columnists/losmith/automatedtracefilecollection.aspand get the following message when it completes:Msg 19055, Level 16, State 1, Procedure sp_trace_setfilter, Line 1Filters with the same event column ID must be grouped together.(1 row(s) affected)Does anyone know how to correct that script so as not to receive that message?Thank you.Roger</description><pubDate>Mon, 06 Oct 2008 13:16:55 GMT</pubDate><dc:creator>Roger Abram</dc:creator></item><item><title>RE: Automated Trace File Collection</title><link>http://www.sqlservercentral.com/Forums/Topic14118-127-1.aspx</link><description>This is a good article but the examples are just for testing the trace features.  To set up a regular (daily) trace, the article written by Haidong Ji titled "Using SQL Trace to Audit Database Access" has better examples of the steps needed. The VBScript is nice to know, but unnecessary.  The FN_TRACE_GETTABLE will automatically import all files with the same file name plus "_x" where x is a sequential number. (example trace_1.trc)  Instead of scheduling a job to run every ten minutes and calling the SP_TRACE_SETSTATUS, setting the stop time on the SP_TRACE_CREATE parameter would be less costly.Haidong Ji's article is here:[url]http://www.sqlservercentral.com/columnists/hji/trace.asp[/url] </description><pubDate>Tue, 29 Jul 2003 13:43:00 GMT</pubDate><dc:creator>cppwiz</dc:creator></item><item><title>Automated Trace File Collection</title><link>http://www.sqlservercentral.com/Forums/Topic14118-127-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF=http://www.sqlservercentral.com/columnists/losmith/automatedtracefilecollection.asp&gt;http://www.sqlservercentral.com/columnists/losmith/automatedtracefilecollection.asp&lt;/A&gt;</description><pubDate>Sun, 13 Jul 2003 00:00:00 GMT</pubDate><dc:creator>lowellismith</dc:creator></item></channel></rss>