Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize



Applies To: SQL Server 2014, SQL Server 2016 Preview

Removes a certificate from the database.


A backup of the certificate used for database encryption should be retained even if the encryption is no longer enabled on a database. Even though the database is not encrypted anymore, parts of the transaction log may still remain protected, and the certificate may be needed for some operations until the full backup of the database is performed. The certificate is also needed to be able to restore from the backups created at the time the database was encrypted.

Applies to: SQL Server (SQL Server 2008 through current version), SQL Database V12 (Preview in some regions), Azure SQL Data Warehouse Public Preview.

Topic link icon Transact-SQL Syntax Conventions

DROP CERTIFICATE certificate_name


Is the unique name by which the certificate is known in the database.

Certificates can only be dropped if no entities are associated with them.

Requires CONTROL permission on the certificate.

The following example drops the certificate Shipping04 from the AdventureWorks database.

USE AdventureWorks2012;
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft