查看与某一个表相关的视图、存储过程、函数

--select * from sysdepends where depid=object_id('cse_log_header')
select a.* from sysobjects a, syscomments b where a.id = b.id and b.text like '%cse_log_header%'
select * from sys.sysobjects where xtype='P'
select * from syscomments

 

 

http://www.cnblogs.com/xx_cs/archive/2011/04/14/2016241.html
posted @ 2012-05-09 11:10  大树2  阅读(188)  评论(0编辑  收藏  举报