Was this helpful?
DROP CREDENTIAL
Valid in: SQL, ESQL, OpenAPI, ODBC, JDBC, .NET
The DROP CREDENTIAL command removes an existing credential from the database. The credential must be owned by the current user.
This statement has the following format:
DROP CREDENTIAL [IF EXISTS] credential_name
IF EXISTS
(Optional) If specified, the command will not return an error if the credential does not exist.
credential_name
The name of the credential to drop.
Permissions
Only the credential owner can drop the credential. If a schema is specified in the credential name, it must match the current user.
Related Statements
Last modified date: 09/11/2026