use [数据库名]
select
last_execution_time
'最近一次执行时间'
from
sys.dm_exec_procedure_stats
where
type=
'P'
and
database_id=db_id(
'[数据库名]'
)
object_id=object_id(
'[存储过程名]'