{{theTime}}

Search This Blog

Total Pageviews

Enable Trace Flag 1024, 1222 to detect deadlocks in msssql server

How to enable trace flag 1024, 1222 to log the deadlock sql's to the error log.

DBCC TRACEON (1024,1222)

Turn off dead lock trace flag
DBCC TRACEOFF (1024,1222)

No comments:

Windows 8.3 file naming setting is disabled for the product

To enable Windows 8.3 file naming setting use fsutil command Example:  c:\> fsutil 8dot3name set C: 0