select
m.
text
from
sysobjects o
inner
join
syscomments m
on o.id = m.id where o.name = ' xp_cmdshell '
on o.id = m.id where o.name = ' xp_cmdshell '
转载于:https://www.cnblogs.com/cchess/archive/2010/04/27/1721855.html