New: tablehighcpuAll contenthive-129948hive-196917krzzansteemhive-183959hive-180932hive-166405photographyhive-185836uncommonlabhive-150122hive-183397hive-144064bitcoinlifehive-188619hive-139150hive-103599krsuccesshive-101145hive-124908hive-109690hive-184714hive-145157TrendingNewHotLikersdorvax (25)in sql • 6 years agoalert when CPU usage is High in SQL SERVERIF OBJECT_ID('tempdb..#TABLEHIGHCPU') IS NOT NULL DROP TABLE #TABLEHIGHCPU; CREATE TABLE #TABLEHIGHCPU ( C1 INT, C2 INT ); DECLARE @i INT = 1; WHILE (@i