如何将签名添加到DDL触发器?

时间:2010-12-15 15:29:40

标签: sql-server ddl-trigger

我在数据库上有一个DDL触发器。我想通过证书添加签名。我有完整的sa权限,但是当我尝试运行语句时

ADD SIGNATURE TO OBJECT::[objects_monitoring]
BY CERTIFICATE [mail_certificate] 
WITH PASSWORD = 'password1';
GO

我收到以下错误

Msg 15151, Level 16, State 1, Line 2
Cannot alter the object 'objects_monitoring', because it does not exist or you do not have permission.

如何将签名添加到此DDL触发器?

1 个答案:

答案 0 :(得分:3)

根据this link,无法签署DDL触发器。