查询sqlserver数据库视图、存储过程等包含特定的字符串
时间:2014-05-22 05:39:16
收藏:0
阅读:284
1
2
3
4
5
6 |
SELECT
A. name , B.definition FROM
SYS.objects A INNER
JOIN sys.sql_modules B ON
A.object_id = B.object_id AND
( CHARINDEX( ‘包含字符‘ , B.definition) > 0 ) |
评论(0)