You can report bugs on https://feedback.azure.com/d365community/forum/04fe6ee0-3b25-ec11-b6e6-000d3a4f0da0 This lets Microsoft know about the bug.
If it is an issue for which you need a fix, you need to open a support case.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
If you select from dm_db_mirroring_auto_page_repair as a non sysadmin user, with View Server State and there is a database in restoring state, SQL dumps a stack trace.
So far, I've seen this on SQL 2012, 2014 and 2019.
We are doing this in a health check script we don't want to run as sysadmin.
Attempting to join sys.databases and filtering out dbs in state 1 isn't working for me... After SQL2012 I can't work out how to force a plan that doesn't appear to scan dm_db_mirroring_auto_page_repair causing the dump...
You can report bugs on https://feedback.azure.com/d365community/forum/04fe6ee0-3b25-ec11-b6e6-000d3a4f0da0 This lets Microsoft know about the bug.
If it is an issue for which you need a fix, you need to open a support case.
Hi @Bruce,
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.