Data Control Language Statements Flashcards
1
Q
What is the statement to give access to a table to a user?
A
GRANT SELECT, INSERT, UPDATE, DELETE ON [TableName] TO UserName
2
Q
What is the statement to remove access to a table to a user?
A
REVOKE SELECT, INSERT, UPDATE, DELETE ON [TableName] TO UserName
3
Q
What is the statement to make sure that a user does not have access to a table?
A
DENY SELECT, INSERT, UPDATE, DELETE ON [TableName] TO UserName