dbd_del_ex

exec dbd_del_ex 'schema.objectname'

This function immediately removes object/mask from the list of objects excluded from protection. You need to run it in the context of an encrypted database. If the database is encrypted and locked, you need to unlock it first.

You may see a list of unprotected objects by running exec dbd_list_ex

Changes made by the function are saved permanently.

Example

  
use [mydatabase]
open symmetric key dbdx decryption by password='C00lPass!'
exec dbd_del_ex 'dbo.Reports'

Remarks

To see the list of exceptions, run dbd_list_ex, to add dbd_add_ex