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;
时间: 2024-11-01 14:28:41