mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +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 }
|