CREATE procedure [wh].[p_PL_D2_S169RischiomercatoRischiocredito] (@Rete char(1), @CodiceFiscale varchar(16)) as  select top 999999 ProcedureName,i_rete,i_codiceFiscale,RETE,COD_FISCALE,INSTITUTENAME,CTV,CODICEPROFILO,VARMAX,VAR,VARSTRING,RISKCLASS,RISKCLASSSTRING,COVERAGE,COVERAGESTRING,RISKCLASSMAX,PERCENTAGE,ORDINE,Ully_perc from wh.PL_D2_S169RischiomercatoRischiocredito  
 where i_rete = @rete and i_codiceFiscale = @codiceFiscale 
ORDER BY  ordine