zoukankan      html  css  js  c++  java
  • SQL查询表、视图、存储过程、函数的创建和变更时间

    显示行号 复制代码 这是一段程序代码。
    1. SELECT [name],
        case [type] when 'U' then 'TB' when 'V' then 'VE' when 'P' then 'SP' when 'IF' then 'FC' end as  类型,
    2.   [create_date]as 创建时间,
        [modify_date] as 修改时间 FROM sys.objects
      Where ([type]='U' or [type] = 'V' OR [type]= 'P' or [type]='IF') and ([name]<>'sysdiagrams' and [name] not like 'sp_%')
      ORDER BY [modify_date] desc

    * TB 表 VE 视图 SP 存储过程 FC函数

  • 相关阅读:
    騎士宣言
    [洛谷P1631] 序列合并
    [HNOI2006]公路修建问题
    [洛谷2068] 统计和
    [洛谷P1168] 中位数
    【模板】可持久化数组(可持久化线段树/平衡树)
    【模板】可持久化线段树 1(主席树)
    [JSOI2008]最大数maxnumber
    NOI导刊2010提高(06) 黑匣子
    [洛谷1533] 可怜的狗狗
  • 原文地址:https://www.cnblogs.com/mmmhhhlll/p/1598907.html
Copyright © 2011-2022 走看看