查看数据最后修改时间,建立时间
2014-11-27 20:13
246 查看
--查询建立时间 select * from sysobjects where id=object_id(N'表名') and xtype='U' --表 select * from syscolumns where id=object_id(N'表名') --表的结构 select * from sysobjects where id=object_id(N'存储过程名') and xtype='P' --存储过程 --查询最后修改时间 DECLARE @UpDateTime datetime set @UpDateTime='2014-11-27' select name,modify_date from sys.all_objects where type='P' and modify_date>@UpDateTime --存储过程 select name,modify_date from sys.all_objects where type='u' and modify_date>@UpDateTime --表 select name,modify_date from sys.all_objects where type='TR' and modify_date>@UpDateTime --触发器
相关文章推荐
- 查看mysql数据库大小、表大小和最后修改时间
- SQL获取表名、列名、数据类型、描述、表最后修改时间
- 查看mysql数据库表大小和最后修改时间
- 查看网页最后修改时间
- MySQL中日期类型数据的使用:如何让字段保存记录的创建时间和最后修改时间
- 查看mysql数据库大小、表大小和最后修改时间
- 如何查看BPC中Excel模版,主数据等最后修改人等信息
- 查看mysql数据库大小、表大小和最后修改时间
- 查看mysql数据库大小、表大小和最后修改时间
- sql server 查看对象最后修改时间
- 查看mysql数据库大小、表大小和最后修改时间
- 查看mysql数据库表大小和最后修改时间
- 查看mysql数据库大小、表大小和最后修改时间
- 查看mysql数据库大小、表大小和最后修改时间
- 查看mysql各数据库使用大小以及库中每个表最后修改时间
- 如何查看表结构最后修改时间
- 查看mysql数据库大小、表大小和最后修改时间
- 查看mysql数据库大小、表大小和最后修改时间
- 查看mysql数据库大小、表大小和最后修改时间
- 查看mysql数据库大小、表大小和最后修改时间