查询内容中包含某字段的存储过程、视图
--查询存储过程中含某字段的所有存储过程: select distinct name, text from dbo. syscomments a,dbo. sysobjects b where a.id=b.id and b.xtype= 'p' and a. text like '%ZyNum%' --查询视图内容中含某字段的所有视图: select distinct name, text from dbo. syscomments a,dbo. sysobjects b where a.id=b.id and b.xtype= 'v' and a. text like '%ZyNum%'

浙公网安备 33010602011771号