DROP DATABASE SCOPED CREDENTIAL

DROP DATABASE SCOPED CREDENTIAL#

Removes a database scoped credential from the current virtual database.

Syntax#

DROP DATABASE SCOPED CREDENTIAL credential name

Arguments#

credential_name

The name of the credential to remove.

Remarks#

IF EXISTS is not supported. Dropping a credential that does not exist raises an error.

Permissions#

Requires the connection-management permission (CreateConnection) on the server.

Examples#

Drop AppCred from the current virtual database:

DROP DATABASE SCOPED CREDENTIAL AppCred;

See also#