SQL Server表 & 存储过程 创建日期查询

查询表创建时间

SELECT
        [name]
       ,create_date
       ,modify_date
FROM
        sys.tables 
        ORDER BY modify_date DESC

查下存储过程创建时间

SELECT  [name] ,
        create_date ,
        modify_date
FROM    sys.all_objects
WHERE   type_desc = N'SQL_STORED_PROCEDURE'
ORDER BY modify_date DESC

本人还没找到其他创建时间查下。如有查到可以分享。供博友使用。

原文地址:https://www.cnblogs.com/yhyjy/p/11203761.html