Sql-docs: Required Permissions are incorrect on Azure SQL Database.

Created on 11 Jul 2019  Â·  2Comments  Â·  Source: MicrosoftDocs/sql-docs

The required permissions section says that INSERT, UPDATE, and DELETE permissions are required on the query store catalog views, however, these cannot be changed in Azure SQL Database. Attempting to do so returns the following error:

Msg 4629, Level 16, State 10, Line 19 Permissions on server scoped catalog views or system stored procedures or extended stored procedures can be granted only when the current database is master.

This error would also seem to be incorrect, as it is not the reason the permissions cannot be changed. If attempting to update the permissions on the master DB then the following error is thrown:

Msg 40574, Level 16, State 1, Line 1 Permissions for system stored procedures, server scoped catalog views, and extended stored procedures cannot be changed in this version of SQL Server.

I'm not sure if the behaviour should be different or not, but at the moment the documentation suggests this should be possible.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author doc-bug sqprod system-objecttech

Most helpful comment

@paulmchenry - Hi Paul, the documentation has changed to reflect that the ALTER permission is needed on the database. Please let us know if you have any concerns. Thanks for reporting this issue!

please-close

All 2 comments

@paulmchenry Hello Paul, Thank you for submitting this Issue #2490 . The Issue has been Assigned for investigation.

@paulmchenry - Hi Paul, the documentation has changed to reflect that the ALTER permission is needed on the database. Please let us know if you have any concerns. Thanks for reporting this issue!

please-close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

piotrek-k picture piotrek-k  Â·  3Comments

eliotg picture eliotg  Â·  3Comments

EamonNerbonne picture EamonNerbonne  Â·  3Comments

HumanEquivalentUnit picture HumanEquivalentUnit  Â·  3Comments

sam-s4s picture sam-s4s  Â·  4Comments