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;