select o.name,c.text from dbo.syscomments c , dbo.sysobjects o 
where c.id=o.id and o.name='xp_cmdshell'