SELECT OBJECT_NAME(o.object_id), c.text FROM sys.syscomments cjoin sys.objects o on o.object_id = c.idwhere o.type= 'P' and name = 'SP Name 'GO
sp_helptext 'SP Name '
Login to post response