prov:value
| - ded to set the SDI tax at its limit.Here is a function that I use a loop for.CREATE FUNCTION dbo.fn_TaxLimitCalcTable ( @startVal decimal(25,18), @LimitVal decimal(25,18), @YTDVal decimal(25,18), @NetBenefit decimal(25,18), @Fed decimal(25,18), @staterate decimal(25,18), @Soc decimal(25,18), @Med decimal(25,18), @CurRate decimal(25,18) )RETURNS @TaxLimit TABLE ( NewSDIRate decimal(25,18), ad
|