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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly