Skip to content

Commit 3a63bb6

Browse files
Merge pull request #771 from ClaudioESSilva/patch-2
Fix: error while inserting #tuning_recommendations
2 parents 4706985 + 8e07f82 commit 3a63bb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sp_QuickieStore/sp_QuickieStore.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11127,7 +11127,7 @@ WHERE EXISTS
1112711127
SELECT
1112811128
1/0
1112911129
FROM #query_store_plan AS qsp
11130-
WHERE plan_force_flat.regressed_plan_id = qsp.plan_id
11130+
WHERE TRY_CAST(plan_force_flat.regressed_plan_id AS bigint) = qsp.plan_id
1113111131
)
1113211132
OPTION(RECOMPILE);' + @nc10;
1113311133

0 commit comments

Comments
 (0)