DROP CERTIFICATE (Transact-SQL)

Removes a certificate from the database.

Topic link iconTransact-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 AdventureWorks;
DROP CERTIFICATE Shipping04;

See Also

Reference

BACKUP CERTIFICATE (Transact-SQL)
CREATE CERTIFICATE (Transact-SQL)
ALTER CERTIFICATE (Transact-SQL)
EVENTDATA (Transact-SQL)

Other Resources

Encryption Hierarchy

Help and Information

Getting SQL Server 2005 Assistance