-
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed
usp_sqlwatch_internal_get_query_plans
PK violation (#334)
* Fixing duplicates in tmp index * Change PK as query_plan_hash can have different offset dependin on which statement it came from. It is still the same plan though * Fixed PK violation on the second run due to referencing incorrect ROW_NUMBER column * Fixed errors caused by some columns not being available pre 2016 * Added terminator * Fixed missing params * Moved header generation closer to the data insert to minimise time gap * Added missed column that was version dependant
- Loading branch information
1 parent
a1a984d
commit 3b5b203
Showing
4 changed files
with
94 additions
and
45 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
SqlWatch.Monitor/Project.SqlWatch.Database/Scripts/Pre-Deployment/SetDacVersion.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
-- Generated by MsBuild Step - DO NOT EDIT | ||
:setvar DacVersion " | ||
4.1.0.42000 | ||
4.1.0.24109 | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters