ClickHouse/tests/queries/0_stateless/01664_ntoa_aton_mysql_compatibility.sql

5 lines
188 B
MySQL
Raw Normal View History

SELECT INET6_NTOA(toFixedString(unhex('2A0206B8000000000000000000000011'), 16));
SELECT hex(INET6_ATON('2a02:6b8::11'));
SELECT INET_NTOA(toUInt32(1337));
SELECT INET_ATON('192.168.0.1');