Skip to content

Commit c8fde7b

Browse files
authored
removed sql colorizer in the output block
1 parent 0734358 commit c8fde7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/t-sql/functions/abs-transact-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ SELECT ABS(-1.0), ABS(0.0), ABS(1.0);
5454

5555
[!INCLUDE[ssResult](../../includes/ssresult-md.md)]
5656

57-
```sql
57+
```
5858
---- ---- ----
5959
1.0 .0 1.0
6060
```
6161

6262
The `ABS` function can produce an overflow error when the absolute value of a number exceeds the largest number that the specified data type can represent. For example, the `int` data type has a value range from `-2,147,483,648` to `2,147,483,647`. Computing the absolute value for the signed integer `-2,147,483,648` will cause an overflow error because its absolute value exceeds the positive range limit for the `int` data type.
6363

6464
```sql
65-
DECLARE @i int;
65+
DECLARE @i INT;
6666
SET @i = -2147483648;
6767
SELECT ABS(@i);
6868
GO

0 commit comments

Comments
 (0)