I have a stored procedure signed with a certificate. After changing it with ALTER
, it seems to lose the signature. I have to rerun ADD SIGNATURE TO
to get it back.
Is there some way to prevent this from happening? Otherwise I have to remember to rerun the ADD SIGNATURE
script anytime I make changes to the procedure.
MSDN documentation states that the signature is dropped when the module is changed.
Naturally, when something is changed, its signature also changes. Otherwise, signatures would be pretty useless.