SQL SERVER – Difference Between GRANT and WITH GRANT
- by pinaldave
This was very interesting question recently asked me to during my session at TechMela Nepal. The question is what is the difference between GRANT and WITH GRANT when giving permissions to user.
Let us first see syntax for the same.
GRANT:
USE master;
GRANT VIEW ANY DATABASE TO username;
GO
WITH GRANT:
USE master;
GRANT VIEW ANY…