DDL Trigger - Suspect DB

  • Just wanted to ask, is there a suitable way of capturing a database going into suspect mode by means of a DDL trigger - would ALTER_DATABASE actually catch this if the system did it rather than me just altering the state via a command?

    Thanks, as always

    D

    'Only he who wanders finds new paths'

  • No.

    DDL triggers are there to catch users making changes to the database.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • I thought as much, just wasnt sure if SQL itself issued an ALTER command - thanks as always Gail

    'Only he who wanders finds new paths'

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply