You are here: Re: How Do I Prevent SQL 2000 From Posting This Message To The Event Viewer - Application Log « MsSQL Server « IT news, forums, messages
Re: How Do I Prevent SQL 2000 From Posting This Message To The Event Viewer - Application Log

Posted by Erland Sommarskog on 09/21/05 00:32

Mike (mjorlando@campsystems.com) writes:
> Thanks Erland but I'm still not achieving my objective. Neither DBCC
> TRACEOFF (3226) nor DBCC TRACEOFF (3001) stops the logging. I tried it
> on the Master and the msdb databases and nothing changed. Should this
> command be run against a different database? Mike

Of course not. TRACEOFF turns off the trace flag! :-)

I didn't specify how to should activate the flag, because I was not
given any details on that. The simplest might be to add to the command
line (you can do this from Enterprise Manager), but it requires a server
restart).

I believe that DBCC TRACEON from a query window affects that process only,
nut adding -1 affects the server level. But I am very foggy on that point.

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация