程序笔记
随心而记

SELECT [name],
  case [type] when 'U' then 'TB' when 'V' then 'VE' when 'P' then 'SP' when 'IF' then 'FC' end as  型,
  [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函数
posted on 2009-06-26 09:43    阅读(548)  评论(0编辑  收藏  举报