DBCC TRACEOFF (T-SQL)

Turns off (disables) the specified trace flag(s).

Syntax

DBCC TRACEOFF (trace# [,...n])

Arguments
trace#
Is the number of the trace flag to turn off.
n
Is a placeholder indicating that multiple trace flags can be specified.
Remarks

Trace flags are used to customize certain characteristics controlling how Microsoft® SQL Server™ operates.

Result Sets

DBCC TRACEOFF returns this result set (message):

DBCC execution completed. If DBCC printed error messages, contact your system administrator.

  

Permissions

DBCC TRACEOFF permissions default to members of the sysadmin fixed server role only, and are not transferable.

Examples

This example disables the display of line numbers in syntax errors.

DBCC TRACEOFF (106)

GO

  

See Also
Trace Flags DBCC

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.