Al Programming
Free source code programming in C#, VB.Net, Java, SQL
Search This Blog
Thursday, February 13, 2014
ABS SQL Server Example
SQL Server
>
Built-in Functions
>
ABS
Returns the absolute positive value of a numeric expression.
Example
DECLARE
@i
int
;
SET
@i
=
-
333
;
SELECT
ABS
(
@i
);
Result:
333
Newer Post
Older Post
Home