Markus S. Gallagher (2/5/2013)
Slight improvement that works for decimal datatype:CASE WHEN FLOOR(LOG10(REVERSE(ABS(Wert)+1)))+1 < 0 THEN 0 ELSE FLOOR(LOG10(REVERSE(ABS(Wert)+1)))+1 END
Slight improvement how? Is it faster?
--Jeff Moden
Change is inevitable... Change for the better is not.