[code language="sql"] /* AUTHOR : Brahmanand Shukla DATE : 23-Jul-2018 DESCRIPTION : Generic function to check if a particular value is within the tolerance limit of the Benchmark value EXAMPLE : -- Sample with Tolerance Basis as 'PERCENTAGE' SELECT [dbo].[ufn_IsWithinToleranceRange] ( 100 -- @BenchmarkValue , 120 -- @ValueToCompare , 'PERCENTAGE' -- @ToleranceBasis , 20 -- … Continue reading Generic scalar function to check the tolerance – SQL Server
Tag: Scalar User Defined Function for tolerance