You are here: SQL Error Logs - changes to DB states and detachements « MsSQL Server « IT news, forums, messages
SQL Error Logs - changes to DB states and detachements

Posted by snafu66 on 08/29/07 05:57

Hi All,

Hoping someone can assist with this. Is there an SQL trace flag, or
other method, where I can get the SQL server error logs (2000 and
2005) to log database detachements, and changes in DB status (eg to
read only from online etc).

I thought about a trigger on sysdatabases (sys.databases) but am
highly skeptical of triggers on system tables.

Why am I doing this? I need to monitor the up time of individual
databases on an instance, and third party tools are not an option.

thanks in advance.

 

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

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