DENY Schema Permissions (Transact-SQL)
SQL Server 2012
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 |
|---|---|---|
|
ALTER |
CONTROL |
ALTER ANY SCHEMA |
|
CONTROL |
CONTROL |
CONTROL |
|
CREATE SEQUENCE |
ALTER |
ALTER ANY SCHEMA |
|
DELETE |
CONTROL |
DELETE |
|
EXECUTE |
CONTROL |
EXECUTE |
|
INSERT |
CONTROL |
INSERT |
|
REFERENCES |
CONTROL |
REFERENCES |
|
SELECT |
CONTROL |
SELECT |
|
TAKE OWNERSHIP |
CONTROL |
CONTROL |
|
UPDATE |
CONTROL |
UPDATE |
|
VIEW CHANGE TRACKING |
CONTROL |
CONTROL |
|
VIEW DEFINITION |
CONTROL |
VIEW DEFINITION |