Versions available for this page: CUBRID 8.4.3 | CUBRID 9.0.0 |
The INET_ATON function receives the string of an IP address and returns a number. When an IPv4 address string such as 'a.b.c.d' is entered, the function returns a x 2563 + b x 2562 + c x 256 + d. The return type is BIGINT.
INET_ATON( ip_string )
SELECT INET_ATON('192.168.0.10');
inet_aton('192.168.0.10')
============================
3232235530