--查詢建立時(shí)間--表select * from sysobjects where id=object_id(n'表名') and xtype='u' --表的結(jié)構(gòu) select * from syscolumns where id=object_id(n'表名') --存儲(chǔ)過程 select * from sysobjects where id=object_id(n'dqtx') and xtype='p' --查詢最后修改時(shí)間--存儲(chǔ)過程select name,modify_date from sys.all_objects where name = '存儲(chǔ)過程' and type='p' order by modify_date desc--觸發(fā)器select name,modify_date from sys.all_objects where name = '存儲(chǔ)過程' and type='tr' order by modify_date desc--表select * from sys.all_objects where name = '存儲(chǔ)過程' and type='u' order by modify_date desc