Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading ELEVATE_ONLINE and ELEVATE_RESUMABLE configuration while selecting maxdop #31

Merged

Conversation

tejaspan
Copy link

Fixes # .

Error when running cstore_doMaintenance on Azure database.
image

Changes proposed in this pull request:

  • ELEVATE_ONLINE and ELEVATE_RESUMABLE configuration are in public preview which has 'OFF' value rather then zero, this will convert 'OFF' to zero.

How to test this code:

  • Run it on latest azure database check for mentioned configuration which are on public preview and on OFF or ON state.

Has been tested on (remove any that don't apply):

  • Azure SQL DB

@tejaspan
Copy link
Author

select * from sys.database_scoped_configurations

image

Copy link
Contributor

@BrentOzar BrentOzar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on SQL Server 2019 (which has the same issue), and it worked there. I'll do a separate PR for the SQL Server 2019 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants