[MS SQL] Procedure 最後執行時間
Procedure最後執行時間
SELECT
OBJECT_NAME(object_id) AS ProcedureName,
last_execution_time AS 最後執行時間
FROM
sys.dm_exec_procedure_stats
WHERE
OBJECT_NAME(object_id) <> ''
ORDER BY ProcedureName;
參考網址:
By Hao★
Procedure最後執行時間
SELECT
OBJECT_NAME(object_id) AS ProcedureName,
last_execution_time AS 最後執行時間
FROM
sys.dm_exec_procedure_stats
WHERE
OBJECT_NAME(object_id) <> ''
ORDER BY ProcedureName;
留言
張貼留言
歡迎留言