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

Fix Cannot resolve collation conflict between "Language_A" and "Language_B" in add operator occurring in ORDER BY statement column 3. #2126

Merged
merged 1 commit into from Sep 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 4 additions & 6 deletions sp_BlitzIndex.sql
Expand Up @@ -2502,7 +2502,7 @@ BEGIN;
N'http://BrentOzar.com/go/AggressiveIndexes' AS URL,
i.db_schema_object_indexid + N': ' +
sz.index_lock_wait_summary + N' NC indexes on table: ' +
CAST(COALESCE((SELECT SUM(1)
COALESCE((SELECT SUM(1)
FROM #IndexSanity iMe
INNER JOIN #IndexSanity iOthers
ON iMe.database_id = iOthers.database_id
Expand All @@ -2511,8 +2511,7 @@ BEGIN;
WHERE i.index_sanity_id = iMe.index_sanity_id
AND iOthers.is_hypothetical = 0
AND iOthers.is_disabled = 0
), 0)
AS NVARCHAR(30)) AS details,
), 0) AS details,
i.index_definition,
i.secret_columns,
i.index_usage_summary,
Expand Down Expand Up @@ -2559,7 +2558,7 @@ BEGIN;
N'http://BrentOzar.com/go/AggressiveIndexes' AS URL,
i.db_schema_object_indexid + N': ' +
sz.index_lock_wait_summary + N' NC indexes on table: ' +
CAST(COALESCE((SELECT SUM(1)
COALESCE((SELECT SUM(1)
FROM #IndexSanity iMe
INNER JOIN #IndexSanity iOthers
ON iMe.database_id = iOthers.database_id
Expand All @@ -2568,8 +2567,7 @@ BEGIN;
WHERE i.index_sanity_id = iMe.index_sanity_id
AND iOthers.is_hypothetical = 0
AND iOthers.is_disabled = 0
),0)
AS NVARCHAR(30)) AS details,
),0) AS details,
i.index_definition,
i.secret_columns,
i.index_usage_summary,
Expand Down