Profiler Utility
SQL Server 2012
The profiler utility launches the SQL Server Profiler tool. The optional arguments listed later in this topic allow you to control how the application starts.
Note
|
|---|
|
The profiler utility is not intended for scripting traces. For more information, see SQL Server Profiler. |
profiler
[ /? ] |
[
{
{ /U login_id [ /P password ] }
| /E
}
{[ /S sql_server_name ] | [ /A analysis_services_server_name ] }
[ /D database ]
[ /T "template_name" ]
[ /B { "trace_table_name" } ]
{ [/F "filename" ] | [ /O "filename" ] }
[ /L locale_ID ]
[ /M "MM-DD-YY hh:mm:ss" ]
[ /R ]
[ /Z file_size ]
]

Note