DROP CERTIFICATE (Transact-SQL)
Removes a certificate from the database.
Transact-SQL Syntax Conventions
Syntax
DROP CERTIFICATE certificate_name
Arguments
- certificate_name
Is the unique name by which the certificate is known in the database.
Remarks
Certificates can only be dropped if no entities are associated with them.
Permissions
Requires CONTROL permission on the certificate.
Examples
The following example drops the certificate Shipping04 from the AdventureWorks database.
USE AdventureWorks2012;
DROP CERTIFICATE Shipping04;
See Also
Reference
BACKUP CERTIFICATE (Transact-SQL)
CREATE CERTIFICATE (Transact-SQL)
ALTER CERTIFICATE (Transact-SQL)