欧美国产另类久热|951超碰伊人久久|伊人影视久久久久|色婷婷亚洲小电影|色东京热69XX|婷婷玖玖深爱网|加勒比东京热网站|无码A级毛片在线观看|一级a毛一级a看|中文字幕人妻欧美

sql查詢出表、存儲過程、觸發(fā)器的創(chuàng)建時間和最后修改時間示例
來源:易賢網 閱讀:4992 次 日期:2016-11-14 16:28:13
溫馨提示:易賢網小編為您整理了“sql查詢出表、存儲過程、觸發(fā)器的創(chuàng)建時間和最后修改時間示例”,方便廣大網友查閱!
這篇文章主要介紹了sql查詢出表、存儲過程、觸發(fā)器的創(chuàng)建時間和最后修改時間示例,本文直接給出代碼實例,需要的朋友可以參考下
 
--查詢建立時間--表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--觸發(fā)器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

 

更多信息請查看技術文章
關于我們 | 聯(lián)系我們 | 人才招聘 | 網站聲明 | 網站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點

版權所有:易賢網