Update alter-workload-group-transact-sql.md#9547
Update alter-workload-group-transact-sql.md#9547rwestMSFT merged 2 commits intoMicrosoftDocs:livefrom
Conversation
adding note that to modify resource governor configuration in Azure SQL Managed instance, you must be in the context of the master database.
|
@kendra-little : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
|
Learn Build status updates of commit c1a53a0: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
|
@markingmyname - can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #label:"aq-pr-triaged" @MicrosoftDocs/public-repo-pr-review-team |
|
@kendra-little Are you suggesting that this should be noted across all the Resource Governor articles in this section where we mention SQL Managed Instance? |
Hiya, I don't have a super strong opinion -- I ran into the issue when altering the default workload group, which I think might be one of the more common operations for resource governor with Managed Instance. But I can see how someone might run into it on other pages like https://learn.microsoft.com/en-us/sql/relational-databases/resource-governor/create-and-test-a-classifier-user-defined-function?view=sql-server-ver16, which might also be common for folks to use due to the handy scripts. Whatever you think best, really :) Just took me a while to figure it out, especially because I don't see the same behavior on my local SQL Server install, which doesn't seem to care which database I'm using when running these commands. I was convinced for a brief time that it was broken or not allowed until I thought to try using master. Thank you! |
|
ps -- i think i just realized why you asked. I made this PR using the "pencil" and I saw
which seemed like where the modification would go, but I didn't know how to edit that directly through the UI :) Sorry if that was confusing! |
|
@kendra-little I think this is what you had in mind. Check the files tab now. |
|
Learn Build status updates of commit 8f00d28: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
|
PR 9547 has been merged from kendra-little:patch-3 to MicrosoftDocs:live by rwestMSFT. |
Adding note that to modify resource governor configuration in Azure SQL Managed instance, you must be in the context of the master database.
If I attempt to run a resource governor command in the context of another database, I receive the message:
But it works when I use master.
I think probably this note should be integrated into an include file in some way, but I couldn't manage to do this through the web UI and I wanted to submit this before I forgot. If it's easier to close this PR and make the change another way, totally understand. Thanks in advance!