Skip to content

Update install_service_broker.sql - #75

Merged
OpenQueryStore merged 1 commit into
OpenQueryStore:masterfrom
SpotOnDBA:patch-4
Aug 16, 2018
Merged

Update install_service_broker.sql#75
OpenQueryStore merged 1 commit into
OpenQueryStore:masterfrom
SpotOnDBA:patch-4

Conversation

@SpotOnDBA

Copy link
Copy Markdown
Contributor

If OQS is installed on a second database within the same instance, the procedure dbo.open_query_store_startup is already present, so the create statement will fail, which will lead to the uninstallation of OQS.
Now the script will check if the procedure is already present, and if not, it will create an empty procedure, which can be altered to include the body, on the same way as Adam Machanic does with sp_whoisactive.

If OQS is installed on a second database within the same instance, the procedure dbo.open_query_store_startup is already present, so the create statement will fail, which will lead to the uninstallation of OQS.
Now the script will check if the procedure is already present, and if not, it will create an empty procedure, which can be altered to include the body, on the same way as Adam Machanic does with sp_whoisactive.
@OpenQueryStore
OpenQueryStore merged commit d84126b into OpenQueryStore:master Aug 16, 2018
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.

2 participants