Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Revokes specific privileges from an existing user or group.

Syntax

REVOKE {privilege[, privilege, …]} ON
{TABLE table |
OBJECT object|

CONTAINTER container}
FROM {authorizationname[, authorizationname, …]}

The REVOKE statement has these parts:

Part

Description

privilege

The privilege or privileges to be revoked. Privileges are specified using the following keywords:

SELECT, DELETE, INSERT, UPDATE, DROP, SELECTSECURITY, UPDATESECURITY, DBPASSWORD, UPDATEIDENTITY, CREATE, SELECTSCHEMA, SCHEMA and UPDATEOWNER.

table

Any valid table name.

object

This can encompass any non-table object. A stored query (view or procedure) is one example.

container

The name of a valid container.

authorizationname

A user or group name.



Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×