DENY Schema Permissions (Transact-SQL)
SQL Server 2008 R2
Denies permissions on a schema.
A schema is a database-level securable that is contained by the database that is its parent in the permissions hierarchy. The most specific and limited permissions that can be denied on a schema are listed in the following table, together with the more general permissions that include them by implication.
Schema permission | Implied by schema permission | Implied by database permission |
|---|---|---|
CONTROL | CONTROL | CONTROL |
TAKE OWNERSHIP | CONTROL | CONTROL |
ALTER | CONTROL | ALTER ANY SCHEMA |
EXECUTE | CONTROL | EXECUTE |
INSERT | CONTROL | INSERT |
DELETE | CONTROL | DELETE |
UPDATE | CONTROL | UPDATE |
SELECT | CONTROL | SELECT |
REFERENCES | CONTROL | REFERENCES |
VIEW CHANGE TRACKING | CONTROL | CONTROL |
VIEW DEFINITION | CONTROL | VIEW DEFINITION |