Código:
--texto de un stored procedure select text FROM syscomments WHERE id = (SELECT id FROM sysobjects WHERE name = 'REMITO_SelXID')