Active Trace Flags

If you ever need to identify the Trace Flags that are currently active you can simply execute the TSQL Statement below. The output will return each of the trace flags that are currently enabled.

DBCC TRACESTATUS(-1)