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

查询表建立时间spa

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

 

查下存储过程建立时间code

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

本人还没找到其余建立时间查下。若有查到能够分享。供博友使用。blog

相关文章
相关标签/搜索