DROP DATABASE ENCRYPTION KEY
removes a database encryption key
What changes
- Input
- catalog
- Output or change
- security catalog: database encryption key
Syntax at a glance
DROP DATABASE ENCRYPTION KEY
Work example
A database encryption key is retired after decryption and recovery dependencies are reviewed.
Check encryption state, certificate backup, database copies, and key recovery ownership with the DBA.
Check your work The database no longer needs the key and can be restored through the approved path.
Open Microsoft Learn for full syntax, permissions, and details for your version.