Академический Документы
Профессиональный Документы
Культура Документы
Login
DB9.LITE
IP2Location LITE IP-COUNTRY-REGION-CITY-LATITUDE-LONGITUDE-ZIPCODE Database provides a solution
to determine the country, region or state, city, latitude and longitude, and US ZIP code of origin for any IP
address in a few simple steps. First, retrieve the IP address from the networking protocol or server-side
variable of the Web server. Next, translate the IP address to an IP number in decimal format to speed up
the database query. Lastly, reverse lookup the IP number from the IP2Location database to pinpoint the
exact geographical location.
The LITE edition is an open-source version of database with limited accuracy & number of records
compares to commercial release. It is free for personal or commercial use with attribution required by
mentioning the use of this data as follows,
Please get the commercial edition if you are looking for high data accuracy, more records & customer
support. Please visit product comparison page for more information.
Product Features
Features Translates IP address to country, region or state, city, latitude and longitude, and US ZIP code.
Database Format ASCII Text File (Comma Delimited) & Binary (BIN)
Database Fields
Name Type Description
Set Up Database
Create SQL table
MS-SQL
USE ip2location
GO
1 de 3 07/05/14 14:47
Free IP2Location LITE IP-COUNTRY-REGION-CITY-L... http://lite.ip2location.com/database-ip-country-regi...
MySQL
PostgreSQL
MS-SQL
DB9.FMT
NOTE: You will need to copy the FMT code below and save it as a le named DB9.FMT on your computer.
The rst line of the FMT code indicates the version of bcp. Please change the version as according to your MS-SQL installed.
2 de 3 07/05/14 14:47
Free IP2Location LITE IP-COUNTRY-REGION-CITY-L... http://lite.ip2location.com/database-ip-country-regi...
10.0
10
1 SQLCHAR 0 1 "\"" 0 first_double_quote Latin1_General_CI_AI
2 SQLCHAR 0 20 "\",\"" 1 ip_from ""
3 SQLCHAR 0 20 "\",\"" 2 ip_to ""
4 SQLCHAR 0 2 "\",\"" 3 country_code Latin1_General_CI_AI
5 SQLCHAR 0 64 "\",\"" 4 country_name Latin1_General_CI_AI
6 SQLCHAR 0 128 "\",\"" 5 region_name Latin1_General_CI_AI
7 SQLCHAR 0 128 "\",\"" 6 city_name Latin1_General_CI_AI
8 SQLCHAR 0 20 "\",\"" 7 latitude ""
9 SQLCHAR 0 20 "\",\"" 8 longitude ""
10 SQLCHAR 0 30 "\"\r\n" 9 zip_code Latin1_General_CI_AI
MySQL
PostgreSQL
That's all and no changes to your existing database structure, unless you are upgrading to a dierent package. Please visit IP2Location DB9 for
details.
License Agreement: General Terms and Conditions for the database licensing.
Stay Connected
3 de 3 07/05/14 14:47