sql server 查看对象最后修改时间,根据最后修改时间排序

存储过程

 SELECT * FROM sys.all_objects WHERE  TYPE='P' ORDER BY modify_date DESC;

 

视图

 SELECT * FROM sys.all_objects WHERE  TYPE='v' ORDER BY modify_date DESC;

 SELECT * FROM sys.all_objects WHERE  TYPE='u' ORDER BY modify_date DESC;

posted on 2017-09-22 20:59  lypzxy  阅读(288)  评论(0编辑  收藏  举报