문제

I have executed DBCC TRACEON (1204, 1222) on several servers.

Some of them simply do not turn the trace flags on. The command brings the same expected informational message for each but some simply do not react.

DBCC TRACESTATUS(1204, 1222) delivers 0, 0, 0 in this case for both flags.

Why do they ignore it?

도움이 되었습니까?

해결책

Running just DBCC TRACEON (1204, 1222) is per session level.

You should run DBCC TRACEON (1204, -1) globally.

See BOL- DBCC TRACEON for more details.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 dba.stackexchange
scroll top