The tsql syntax throws an error about "view" in SQL Azure, but functions on SQL Server:
GRANT VIEW ON OBJECT dbo::foo TO [bar]
Can access be granted in SQL Azure to view the definition of an object outside of db_owner?
azure-sql-database
The tsql syntax throws an error about "view" in SQL Azure, but functions on SQL Server:
GRANT VIEW ON OBJECT dbo::foo TO [bar]
Can access be granted in SQL Azure to view the definition of an object outside of db_owner?
Best Answer
Your syntax is incorrect. It should be
Example