Question

I have a DDL trigger on a database. I want to add a signature to it, by certificate. I have full sa rights, but when I try to run the statement

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

I get the following error

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.

How do I go about adding the signature to this DDL trigger?

Was it helpful?

Solution

According to this link, DDL triggers cannot be signed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top