We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b3b0c8 commit f807476Copy full SHA for f807476
1 file changed
Install-All/DarlingData.sql
@@ -1,4 +1,4 @@
1
--- Compile Date: 04/06/2026 03:09:14 UTC
+-- Compile Date: 04/06/2026 12:14:51 UTC
2
SET ANSI_NULLS ON;
3
SET ANSI_PADDING ON;
4
SET ANSI_WARNINGS ON;
@@ -36898,7 +36898,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
36898
HAVING
36899
COUNT_BIG(DISTINCT qs.plan_handle) > 1
36900
ORDER BY
36901
- COUNT_BIG(DISTINCT qs.plan_handle) DESC
+ COUNT_BIG(DISTINCT qs.plan_handle) DESC,
36902
+ SUM(qs.total_worker_time) DESC
36903
OPTION(RECOMPILE, MAXDOP 1);
36904
36905
RETURN;
0 commit comments