摘要:
-- 数据库大小CREATE TABLE #tmptb(NAME VARCHAR(100),db_size VARCHAR(100),OWNER VARCHAR(500),dbid INT,created DATE,STATUS VARCHAR (500),COMPATIBILITY_LEVEL I... 阅读全文
摘要:
-- sql语句耗时百分比 declare @tmptb table(id int,name varchar(50),total_worker_time bigint,rate varchar(50),execute_count bigint) ;with cte1 as(select a.*,t. 阅读全文