Disables the specified trace flag(s).
DBCC TRACEOFF ( trace# [ ,...n ] )
trace#
Is the number of the trace flag to disable.
n
Is a placeholder indicating that multiple trace flags can be specified.
Trace flags are used to customize certain characteristics controlling how Microsoft® SQL Server™ operates.
To find out information about the status of trace flags, use DBCC TRACESTATUS. To enable certain trace flags, use DBCC TRACEON.
DBCC TRACEOFF returns this result set (message):
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
DBCC TRACEOFF permissions default to members of the sysadmin fixed server role only, and are not transferable.
This example disables the effects of trace flag 3205.
DBCC TRACEOFF (3205)
GO