
正文
SQLServer2008找出所有包含172.17.224.40字样的存储过程
提示:扫一扫查出行【扫一扫了解最新限行尾号】
复制提示
SQLServer2008
找出所有包含172.17.224.40的存储过程
select distinct name
from syscomments a,sysobjects b
where a.id=b.id and b.xtype='v' and text like '%172.17.224.40%'
from syscomments a,sysobjects b
where a.id=b.id and b.xtype='v' and text like '%172.17.224.40%'
找出所有包含172.17.224.40的视图
select distinct name
from syscomments a,sysobjects b
where
a.id=b.id and b.xtype='p' and text like '%172.17.224.40%'
from syscomments a,sysobjects b
where
a.id=b.id and b.xtype='p' and text like '%172.17.224.40%'







