What is the difference between trace and trace template in SQL Server?

What is the difference between trace and trace template? Is trace template mandatory for each trace? If yes, why?

    Requires Free Membership to View

A trace is when you are monitoring SQL Server to gather the commands being executed against it. A trace template is the initial set of settings that SQL Profiler uses when it runs the trace. The SQL Profiler application requires a trace template so it knows the initial settings to select on the Event Selection tab.

This was first published in August 2007

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.