mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
6 lines
307 B
SQL
6 lines
307 B
SQL
select intDiv(-9223372036854775808, 255);
|
|
select intDiv(-9223372036854775808, 65535);
|
|
select intDiv(-9223372036854775808, 4294967295);
|
|
select intDiv(-9223372036854775808, 18446744073709551615); -- { serverError ILLEGAL_DIVISION }
|
|
select intDiv(-9223372036854775808, -1); -- { serverError ILLEGAL_DIVISION }
|