diff --git a/sp_QuickieStore/sp_QuickieStore.sql b/sp_QuickieStore/sp_QuickieStore.sql index bab9de23..4ecf3d23 100644 --- a/sp_QuickieStore/sp_QuickieStore.sql +++ b/sp_QuickieStore/sp_QuickieStore.sql @@ -1265,24 +1265,6 @@ CREATE TABLE ) ); -/*Gonna try gathering this based on*/ -CREATE TABLE - #query_hash_totals -( - database_id integer NOT NULL, - query_hash binary(8) NOT NULL, - total_executions bigint NOT NULL, - total_duration_ms decimal(19,2) NOT NULL, - total_cpu_time_ms decimal(19,2) NOT NULL, - total_logical_reads_mb decimal(19,2) NOT NULL, - total_physical_reads_mb decimal(19,2) NOT NULL, - total_logical_writes_mb decimal(19,2) NOT NULL, - total_clr_time_ms decimal(19,2) NOT NULL, - total_memory_mb decimal(19,2) NOT NULL, - total_rowcount decimal(19,2) NOT NULL, - PRIMARY KEY CLUSTERED(query_hash, database_id) -); - /*GET ALL THOSE DATABASES*/ CREATE TABLE #databases