convert a Stored procedure to DLL by VC++
I have this stored procedure :
CREATE PROCEDURE [dbo].[GetTotalDebttoGrossIncomeRatio](@TotalDebttoGrossIncomeRatio Real Out,@ACCT int) AS
select @TotalDebttoGrossIncomeRatio = DBTRO
where HACCT# = @ACCT
If ISNULL(@TotalDebttoGrossIncomeRatio, ' ') = ' '
select @TotalDebttoGrossIncomeRatio = CLDRT$
where ACCT#$ = @ACCT
does anybody know how could I re -write it with C++ and create a DLL by that?
any sample please....