sqlserver查询存储过程的创建时间及最后修改时间

select 
 [name]
 ,create_date
 ,modify_date 
FROM 
 sys.all_objects 
where 
 type_desc = N'SQL_STORED_PROCEDURE' 
 --and name = 'spName'
 and modify_date >='2015-08-05 00:00:00'
 ORDER BY modify_date DESC

 

posted @ 2015-12-31 13:57  davidhou  阅读(1849)  评论(0编辑  收藏  举报