Skip to content

Takes an IPv4 address in network byte order and then returns the address as a dotted-quad string representation.

func.try_inet_ntoa(<integer>)
func.try_inet_ntoaA(167773449)
┌───────────────────────────────┐
│ func.try_inet_ntoa(167773449) │
├───────────────────────────────┤
10.0.5.9 │
└───────────────────────────────┘
TRY_INET_NTOA( <integer> )

String.

SELECT TRY_INET_NTOA(167773449), TRY_IPV4_NUM_TO_STRING(167773449);
┌──────────────────────────────────────────────────────────────┐
│ try_inet_ntoa(167773449) │ try_ipv4_num_to_string(167773449) │
├──────────────────────────┼───────────────────────────────────┤
10.0.5.910.0.5.9
└──────────────────────────────────────────────────────────────┘