문제

I have changed one of the databases to read-only in SQL Server 2005. I would like to track if someone tries to write to the database.

Any suggestions on how to track such requests (end user write request failures)?

도움이 되었습니까?

해결책

A readonly database is "READ_ONLY". No writes are allowed - the application will get an error stating that the database is readonly.

You can run a server side trace (since you are stuck with sql server 2005) and look for user error messages and filter your database by ID.

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