查看慢sql语句 st.text AS SQL_Full --父级完整语句 ,) , ((CASE statement_end_offset THEN DATALENGTH(st.text) ELSE qs.statement_end_offset END ) ) as SQL_Part --统计对应的部分语句 , ,) ) AS [平均消耗秒数] , , )) AS [最后完成消耗秒数] , qs.last_execution_time AS [最后执行时间] , , )) AS [最小消耗秒…