Expand Minimize
This topic has not yet been rated - Rate this topic

DROP CREDENTIAL (Transact-SQL)

Removes a credential from the server.

Topic link icon Transact-SQL Syntax Conventions


DROP CREDENTIAL credential_name
credential_name

Is the name of the credential to remove from the server.

To drop the secret associated with a credential without dropping the credential itself, use ALTER CREDENTIAL.

Information about credentials is visible in the sys.credentials catalog view.

Requires ALTER ANY CREDENTIAL permission. If dropping a system credential, requires CONTROL SERVER permission.

The following example removes the credential called Saddles.

DROP CREDENTIAL Saddles;
GO
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.