ABS() FUNCTION IN SQL SERVER



The ABS function is used for return positive value of numeric expression or to remove Minus value from
numeric expression.


Passing Negative value to  ABS Function



SELECT ABS(-123.25)   ---Output  123.25


Passing Positive value to  ABS Function                                


SELECT ABS(123.25)  ---Output  123.25

No comments:

Post a comment