Table of Contents | ||||||
---|---|---|---|---|---|---|
|
...
Use the operator select
... as
... and add the operation syntax to create the new column. These are the valid formats of the Geolocated Country with MaxMind GeoIP2 operation:
mm2country(ip)
mm2country(ip6)
Example
Copy the following LINQ script and try the above example on the demo.ecommerce.data
table.
Code Block |
---|
from demo.ecommerce.data select mm2country(clientIpAddress) as countryCode |