>

CityNameFromIP

Description

Extracts the city name from a given IPv4 string (dot-decimal notation).

Syntax

CityNameFromIP(ipaddress)

Examples

CityNameFromIP('128.193.8.81') returns 'Corvallis'.

Notes

The function uses GeoLite2 data created by MaxMind, available from http://www.maxmind.com

Return value datatype

String

Impact of null value

If input is null, returns null.