手机
当前位置:查字典教程网 >编程开发 >数据库其他 >SQL查询出表、存储过程、触发器的创建时间和最后修改时间示例
SQL查询出表、存储过程、触发器的创建时间和最后修改时间示例
摘要:--查询建立时间--表select*fromsysobjectswhereid=object_id(N'表名')andxtype='U'--...

--查询建立时间 --表 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'dqtx') and xtype='P' --查询最后修改时间 --存储过程 select name,modify_date from sys.all_objects where name = '存储过程' and type='P' order by modify_date desc --触发器 select name,modify_date from sys.all_objects where name = '存储过程' and type='TR' order by modify_date desc --表 select * from sys.all_objects where name = '存储过程' and type='u' order by modify_date desc

【SQL查询出表、存储过程、触发器的创建时间和最后修改时间示例】相关文章:

MSSQL内连接inner join查询方法

50条SQL查询技巧、查询语句示例

特殊的存储过程-触发器概述

数据库命名规范小结

SQL中Having与Where的区别及注意

主键与聚集索引

ACCESS转SQLSERVER数据库的注意事项

在PostgreSQL的基础上创建一个MongoDB的副本的教程

8 种常用的 NoSQL 数据库系统对比分析

最新统计排名前十的SQL和NoSQL数据库排行榜

精品推荐
分类导航