我需要知道表触发器的启用/禁用历史记录是否由 SQL Server 本地跟踪。
我查看了系统视图:
• [sys].[triggers] 包含一个 modify_date 字段
• [sys].[trigger_events] 关注触发器 INSERT/UPDATE/DELETE 事件
您能否推荐有关触发历史记录的任何其他信息来源?
我正在寻找必须采取的措施来导致包含多个镜像数据库的 SQL Server 2008 实例上的单个镜像数据库发生阈值警报。
仅供参考:这已经发布在ServerFault.com 上,并作为Microsoft Connect上的错误提交。
来自 Microsoft 的sys.dm_exec_sessions SQL Server 文档
client_interface_name
Name of library/driver being used by the client to communicate with the server.
datatype: nvarchar(32)
client_version
TDS protocol version of the interface that is used by the client to connect to the server.
datatype: int
Run Code Online (Sandbox Code Playgroud)
TDSVersion
The highest TDS version being used by the client.
The client sends a standard LOGIN7 message to the server to discover the server's highest TDS version.
datatype: binary
Run Code Online (Sandbox Code Playgroud)
Ben Gribaudo发布了部分值图,并表明 …