查看存储过程对应的dll,以及dll对应的存储过程
2009-01-18 16:38
c) 查找存储过程对应的Dll文件
============================
select o.name,c.text from dbo.syscomments c, dbo.sysobjects o where c.id = o.id
and o.name = 'xp_cmdshell'

d) 查找Dll文件对应的存储过程
============================
select o.name,c.text from dbo.syscomments c, dbo.sysobjects o where c.id = o.id
and c.text = 'xplog70.dll'
e) 查询DLL文件与对应存储过程关联
============================
select text,object_name(id) as spname from syscomments where text like '%.dll%'