{{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:

Generate Models from SQL Server using Entity Framework Core

To generate models from SQL Server database tables using Entity Framework (EF) in .NET, you can follow the Database-First approach with Ent...