Azure / Azure/azure-quickstart-templates

The latest version of the solution is not compatible with AZURE SQL (PaaS)

Open
#14,338 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

The following stored procedures have issues with AZURE SQL:
- IndexOptimize
- DatabaseIntegrityCheck

These are pointing to SQL objects that do not exist in Azure, for example:
- sys.dm_os_host_info
- sys.availability_groups
- sys.availability_replicas
- sys.master_files
- dbo.[Queue]
- dbo.QueueDatabase

I temporarily solved my problem by using an old version I have from the year: July 19, 2015.

![Image](https://github.com/user-attachments/assets/b3db4582-f448-481e-9e8c-d0be0a494421)

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the IndexOptimize and DatabaseIntegrityCheck stored procedures in the repository and compare their referenced SQL objects with those available in Azure SQL. Start by reproducing the failure against Azure SQL and inspect the listed objects, including sys.dm_os_host_info and sys.availability_groups. Done means both procedures run without referencing unavailable objects, with coverage for the affected paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, sql
Domain
cloud, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.