• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Anyone has all the country codes in .sql?

Status
Not open for further replies.
Junior Spellweaver
Joined
Mar 19, 2011
Messages
129
Reaction score
7
Hello,

Does anyone on this forum have all the country codes/names in a SQL Query for me?

Example:

Noxious RL - Anyone has all the country codes in .sql? - RaGEZONE Forums


Thanks in advance.



Nvm got it, if you want it :

REPLACE INTO `countrys` (`id`, `code`, `name`, `count`) VALUES
(1, 'NL', 'Netherlands', 0),
(2, 'IL', 'Israel', 0),
(3, 'AE', 'United Arab Emirates', 0),
(4, 'DE', 'Germany', 0),
(5, 'IE', 'Ireland', 0),
(6, 'SE', 'Sweden', 0),
(7, 'AF', 'Afghanistan', 0),
(8, 'AL', 'Albania', 0),
(9, 'DZ', 'Algeria', 0),
(10, 'DS', 'American Samoa', 0),
(11, 'AD', 'Andorra', 0),
(12, 'AO', 'Angola', 0),
(13, 'AI', 'Anguilla', 0),
(14, 'AQ', 'Antarctica', 0),
(15, 'AG', 'Antigua and Barbuda', 0),
(16, 'AR', 'Argentina', 0),
(17, 'AM', 'Armenia', 0),
(18, 'AW', 'Aruba', 0),
(19, 'AU', 'Australia', 0),
(20, 'AT', 'Austria', 0),
(21, 'AZ', 'Azerbaijan', 0),
(22, 'BS', 'Bahamas', 0),
(23, 'BH', 'Bahrain', 0),
(24, 'BD', 'Bangladesh', 0),
(25, 'BB', 'Barbados', 0),
(26, 'BY', 'Belarus', 0),
(27, 'BE', 'Belgium', 0),
(28, 'BZ', 'Belize', 0),
(29, 'BJ', 'Benin', 0),
(30, 'BM', 'Bermuda', 0),
(31, 'BT', 'Bhutan', 0),
(32, 'BO', 'Bolivia', 0),
(33, 'BA', 'Bosnia and Herzegovina', 0),
(34, 'BW', 'Botswana', 0),
(35, 'BV', 'Bouvet Island', 0),
(36, 'BR', 'Brazil', 0),
(37, 'IO', 'British Indian Ocean Territory', 0),
(38, 'BN', 'Brunei Darussalam', 0),
(39, 'BG', 'Bulgaria', 0),
(40, 'BF', 'Burkina Faso', 0),
(41, 'BI', 'Burundi', 0),
(42, 'KH', 'Cambodia', 0),
(43, 'CM', 'Cameroon', 0),
(44, 'CA', 'Canada', 0),
(45, 'CV', 'Cape Verde', 0),
(46, 'KY', 'Cayman Islands', 0),
(47, 'CF', 'Central African Republic', 0),
(48, 'TD', 'Chad', 0),
(49, 'CL', 'Chile', 0),
(50, 'CN', 'China', 0),
(51, 'CX', 'Christmas Island', 0),
(52, 'CC', 'Cocos (Keeling) Islands', 0),
(53, 'CO', 'Colombia', 0),
(54, 'KM', 'Comoros', 0),
(55, 'CG', 'Congo', 0),
(56, 'CK', 'Cook Islands', 0),
(57, 'CR', 'Costa Rica', 0),
(58, 'HR', 'Croatia (Hrvatska)', 0),
(59, 'CU', 'Cuba', 0),
(60, 'CY', 'Cyprus', 0),
(61, 'CZ', 'Czech Republic', 0),
(62, 'DK', 'Denmark', 0),
(63, 'DJ', 'Djibouti', 0),
(64, 'DM', 'Dominica', 0),
(65, 'DO', 'Dominican Republic', 0),
(66, 'TP', 'East Timor', 0),
(67, 'EC', 'Ecuador', 0),
(68, 'EG', 'Egypt', 0),
(69, 'SV', 'El Salvador', 0),
(70, 'GQ', 'Equatorial Guinea', 0),
(71, 'ER', 'Eritrea', 0),
(72, 'EE', 'Estonia', 0),
(73, 'ET', 'Ethiopia', 0),
(74, 'FK', 'Falkland Islands (Malvinas)', 0),
(75, 'FO', 'Faroe Islands', 0),
(76, 'FJ', 'Fiji', 0),
(77, 'FI', 'Finland', 0),
(78, 'FR', 'France', 0),
(79, 'FX', 'France, Metropolitan', 0),
(80, 'GF', 'French Guiana', 0),
(81, 'PF', 'French Polynesia', 0),
(82, 'TF', 'French Southern Territories', 0),
(83, 'GA', 'Gabon', 0),
(84, 'GM', 'Gambia', 0),
(85, 'GE', 'Georgia', 0),
(86, 'DE', 'Germany', 0),
(87, 'GH', 'Ghana', 0),
(88, 'GI', 'Gibraltar', 0),
(89, 'GK', 'Guernsey', 0),
(90, 'GR', 'Greece', 0),
(91, 'GL', 'Greenland', 0),
(92, 'GD', 'Grenada', 0),
(93, 'GP', 'Guadeloupe', 0),
(94, 'GU', 'Guam', 0),
(95, 'GT', 'Guatemala', 0),
(96, 'GN', 'Guinea', 0),
(97, 'GW', 'Guinea-Bissau', 0),
(98, 'GY', 'Guyana', 0),
(99, 'HT', 'Haiti', 0),
(100, 'HM', 'Heard and Mc Donald Islands', 0),
(101, 'HN', 'Honduras', 0),
(102, 'HK', 'Hong Kong', 0),
(103, 'HU', 'Hungary', 0),
(104, 'IS', 'Iceland', 0),
(105, 'IN', 'India', 0),
(106, 'IM', 'Isle of Man', 0),
(107, 'ID', 'Indonesia', 0),
(108, 'IR', 'Iran (Islamic Republic of)', 0),
(109, 'IQ', 'Iraq', 0),
(110, 'IE', 'Ireland', 0),
(111, 'IL', 'Israel', 0),
(112, 'IT', 'Italy', 0),
(113, 'CI', 'Ivory Coast', 0),
(114, 'JE', 'Jersey', 0),
(115, 'JM', 'Jamaica', 0),
(116, 'JP', 'Japan', 0),
(117, 'JO', 'Jordan', 0),
(118, 'KZ', 'Kazakhstan', 0),
(119, 'KE', 'Kenya', 0),
(120, 'KI', 'Kiribati', 0),
(121, 'KP', 'Korea, Democratic People\'s Republic of', 0),
(122, 'KR', 'Korea, Republic of', 0),
(123, 'XK', 'Kosovo', 0),
(124, 'KW', 'Kuwait', 0),
(125, 'KG', 'Kyrgyzstan', 0),
(126, 'LA', 'Lao People\'s Democratic Republic', 0),
(127, 'LV', 'Latvia', 0),
(128, 'LB', 'Lebanon', 0),
(129, 'LS', 'Lesotho', 0),
(130, 'LR', 'Liberia', 0),
(131, 'LY', 'Libyan Arab Jamahiriya', 0),
(132, 'LI', 'Liechtenstein', 0),
(133, 'LT', 'Lithuania', 0),
(134, 'LU', 'Luxembourg', 0),
(135, 'MO', 'Macau', 0),
(136, 'MK', 'Macedonia', 0),
(137, 'MG', 'Madagascar', 0),
(138, 'MW', 'Malawi', 0),
(139, 'MY', 'Malaysia', 0),
(140, 'MV', 'Maldives', 0),
(141, 'ML', 'Mali', 0),
(142, 'MT', 'Malta', 0),
(143, 'MH', 'Marshall Islands', 0),
(144, 'MQ', 'Martinique', 0),
(145, 'MR', 'Mauritania', 0),
(146, 'MU', 'Mauritius', 0),
(147, 'TY', 'Mayotte', 0),
(148, 'MX', 'Mexico', 0),
(149, 'FM', 'Micronesia, Federated States of', 0),
(150, 'MD', 'Moldova, Republic of', 0),
(151, 'MC', 'Monaco', 0),
(152, 'MN', 'Mongolia', 0),
(153, 'ME', 'Montenegro', 0),
(154, 'MS', 'Montserrat', 0),
(155, 'MA', 'Morocco', 0),
(156, 'MZ', 'Mozambique', 0),
(157, 'MM', 'Myanmar', 0),
(158, 'NA', 'Namibia', 0),
(159, 'NR', 'Nauru', 0),
(160, 'NP', 'Nepal', 0),
(161, 'NL', 'Netherlands', 0),
(162, 'AN', 'Netherlands Antilles', 0),
(163, 'NC', 'New Caledonia', 0),
(164, 'NZ', 'New Zealand', 0),
(165, 'NI', 'Nicaragua', 0),
(166, 'NE', 'Niger', 0),
(167, 'NG', 'Nigeria', 0),
(168, 'NU', 'Niue', 0),
(169, 'NF', 'Norfolk Island', 0),
(170, 'MP', 'Northern Mariana Islands', 0),
(171, 'NO', 'Norway', 0),
(172, 'OM', 'Oman', 0),
(173, 'PK', 'Pakistan', 0),
(174, 'PW', 'Palau', 0),
(175, 'PS', 'Palestine', 0),
(176, 'PA', 'Panama', 0),
(177, 'PG', 'Papua New Guinea', 0),
(178, 'PY', 'Paraguay', 0),
(179, 'PE', 'Peru', 0),
(180, 'PH', 'Philippines', 0),
(181, 'PN', 'Pitcairn', 0),
(182, 'PL', 'Poland', 0),
(183, 'PT', 'Portugal', 0),
(184, 'PR', 'Puerto Rico', 0),
(185, 'QA', 'Qatar', 0),
(186, 'RE', 'Reunion', 0),
(187, 'RO', 'Romania', 0),
(188, 'RU', 'Russian Federation', 0),
(189, 'RW', 'Rwanda', 0),
(190, 'KN', 'Saint Kitts and Nevis', 0),
(191, 'LC', 'Saint Lucia', 0),
(192, 'VC', 'Saint Vincent and the Grenadines', 0),
(193, 'WS', 'Samoa', 0),
(194, 'SM', 'San Marino', 0),
(195, 'ST', 'Sao Tome and Principe', 0),
(196, 'SA', 'Saudi Arabia', 0),
(197, 'SN', 'Senegal', 0),
(198, 'RS', 'Serbia', 0),
(199, 'SC', 'Seychelles', 0),
(200, 'SL', 'Sierra Leone', 0),
(201, 'SG', 'Singapore', 0),
(202, 'SK', 'Slovakia', 0),
(203, 'SI', 'Slovenia', 0),
(204, 'SB', 'Solomon Islands', 0),
(205, 'SO', 'Somalia', 0),
(206, 'ZA', 'South Africa', 0),
(207, 'GS', 'South Georgia South Sandwich Islands', 0),
(208, 'ES', 'Spain', 0),
(209, 'LK', 'Sri Lanka', 0),
(210, 'SH', 'St. Helena', 0),
(211, 'PM', 'St. Pierre and Miquelon', 0),
(212, 'SD', 'Sudan', 0),
(213, 'SR', 'Suriname', 0),
(214, 'SJ', 'Svalbard and Jan Mayen Islands', 0),
(215, 'SZ', 'Swaziland', 0),
(216, 'AF', 'Afghanistan', 0),
(217, 'AL', 'Albania', 0),
(218, 'DZ', 'Algeria', 0),
(219, 'DS', 'American Samoa', 0),
(220, 'AD', 'Andorra', 0),
(221, 'AO', 'Angola', 0),
(222, 'AI', 'Anguilla', 0),
(223, 'AQ', 'Antarctica', 0),
(224, 'AG', 'Antigua and Barbuda', 0),
(225, 'AR', 'Argentina', 0),
(226, 'AM', 'Armenia', 0),
(227, 'AW', 'Aruba', 0),
(228, 'AU', 'Australia', 0),
(229, 'AT', 'Austria', 0),
(230, 'AZ', 'Azerbaijan', 0),
(231, 'BS', 'Bahamas', 0),
(232, 'BH', 'Bahrain', 0),
(233, 'BD', 'Bangladesh', 0),
(234, 'BB', 'Barbados', 0),
(235, 'BY', 'Belarus', 0),
(236, 'BE', 'Belgium', 0),
(237, 'BZ', 'Belize', 0),
(238, 'BJ', 'Benin', 0),
(239, 'BM', 'Bermuda', 0),
(240, 'BT', 'Bhutan', 0),
(241, 'BO', 'Bolivia', 0),
(242, 'BA', 'Bosnia and Herzegovina', 0),
(243, 'BW', 'Botswana', 0),
(244, 'BV', 'Bouvet Island', 0),
(245, 'BR', 'Brazil', 0),
(246, 'IO', 'British Indian Ocean Territory', 0),
(247, 'BN', 'Brunei Darussalam', 0),
(248, 'BG', 'Bulgaria', 0),
(249, 'BF', 'Burkina Faso', 0),
(250, 'BI', 'Burundi', 0),
(251, 'KH', 'Cambodia', 0),
(252, 'CM', 'Cameroon', 0),
(253, 'CA', 'Canada', 0),
(254, 'CV', 'Cape Verde', 0),
(255, 'KY', 'Cayman Islands', 0),
(256, 'CF', 'Central African Republic', 0),
(257, 'TD', 'Chad', 0),
(258, 'CL', 'Chile', 0),
(259, 'CN', 'China', 0),
(260, 'CX', 'Christmas Island', 0),
(261, 'CC', 'Cocos (Keeling) Islands', 0),
(262, 'CO', 'Colombia', 0),
(263, 'KM', 'Comoros', 0),
(264, 'CG', 'Congo', 0),
(265, 'CK', 'Cook Islands', 0),
(266, 'CR', 'Costa Rica', 0),
(267, 'HR', 'Croatia (Hrvatska)', 0),
(268, 'CU', 'Cuba', 0),
(269, 'CY', 'Cyprus', 0),
(270, 'CZ', 'Czech Republic', 0),
(271, 'DK', 'Denmark', 0),
(272, 'DJ', 'Djibouti', 0),
(273, 'DM', 'Dominica', 0),
(274, 'DO', 'Dominican Republic', 0),
(275, 'TP', 'East Timor', 0),
(276, 'EC', 'Ecuador', 0),
(277, 'EG', 'Egypt', 0),
(278, 'SV', 'El Salvador', 0),
(279, 'GQ', 'Equatorial Guinea', 0),
(280, 'ER', 'Eritrea', 0),
(281, 'EE', 'Estonia', 0),
(282, 'ET', 'Ethiopia', 0),
(283, 'FK', 'Falkland Islands (Malvinas)', 0),
(284, 'FO', 'Faroe Islands', 0),
(285, 'FJ', 'Fiji', 0),
(286, 'FI', 'Finland', 0),
(287, 'FR', 'France', 0),
(288, 'FX', 'France, Metropolitan', 0),
(289, 'GF', 'French Guiana', 0),
(290, 'PF', 'French Polynesia', 0),
(291, 'TF', 'French Southern Territories', 0),
(292, 'GA', 'Gabon', 0),
(293, 'GM', 'Gambia', 0),
(294, 'GE', 'Georgia', 0),
(295, 'DE', 'Germany', 0),
(296, 'GH', 'Ghana', 0),
(297, 'GI', 'Gibraltar', 0),
(298, 'GK', 'Guernsey', 0),
(299, 'GR', 'Greece', 0),
(300, 'GL', 'Greenland', 0),
(301, 'GD', 'Grenada', 0),
(302, 'GP', 'Guadeloupe', 0),
(303, 'GU', 'Guam', 0),
(304, 'GT', 'Guatemala', 0),
(305, 'GN', 'Guinea', 0),
(306, 'GW', 'Guinea-Bissau', 0),
(307, 'GY', 'Guyana', 0),
(308, 'HT', 'Haiti', 0),
(309, 'HM', 'Heard and Mc Donald Islands', 0),
(310, 'HN', 'Honduras', 0),
(311, 'HK', 'Hong Kong', 0),
(312, 'HU', 'Hungary', 0),
(313, 'IS', 'Iceland', 0),
(314, 'IN', 'India', 0),
(315, 'IM', 'Isle of Man', 0),
(316, 'ID', 'Indonesia', 0),
(317, 'IR', 'Iran (Islamic Republic of)', 0),
(318, 'IQ', 'Iraq', 0),
(319, 'IE', 'Ireland', 0),
(320, 'IL', 'Israel', 0),
(321, 'IT', 'Italy', 0),
(322, 'CI', 'Ivory Coast', 0),
(323, 'JE', 'Jersey', 0),
(324, 'JM', 'Jamaica', 0),
(325, 'JP', 'Japan', 0),
(326, 'JO', 'Jordan', 0),
(327, 'KZ', 'Kazakhstan', 0),
(328, 'KE', 'Kenya', 0),
(329, 'KI', 'Kiribati', 0),
(330, 'KP', 'Korea, Democratic People\'s Republic of', 0),
(331, 'KR', 'Korea, Republic of', 0),
(332, 'XK', 'Kosovo', 0),
(333, 'KW', 'Kuwait', 0),
(334, 'KG', 'Kyrgyzstan', 0),
(335, 'LA', 'Lao People\'s Democratic Republic', 0),
(336, 'LV', 'Latvia', 0),
(337, 'LB', 'Lebanon', 0),
(338, 'LS', 'Lesotho', 0),
(339, 'LR', 'Liberia', 0),
(340, 'LY', 'Libyan Arab Jamahiriya', 0),
(341, 'LI', 'Liechtenstein', 0),
(342, 'LT', 'Lithuania', 0),
(343, 'LU', 'Luxembourg', 0),
(344, 'MO', 'Macau', 0),
(345, 'MK', 'Macedonia', 0),
(346, 'MG', 'Madagascar', 0),
(347, 'MW', 'Malawi', 0),
(348, 'MY', 'Malaysia', 0),
(349, 'MV', 'Maldives', 0),
(350, 'ML', 'Mali', 0),
(351, 'MT', 'Malta', 0),
(352, 'MH', 'Marshall Islands', 0),
(353, 'MQ', 'Martinique', 0),
(354, 'MR', 'Mauritania', 0),
(355, 'MU', 'Mauritius', 0),
(356, 'TY', 'Mayotte', 0),
(357, 'MX', 'Mexico', 0),
(358, 'FM', 'Micronesia, Federated States of', 0),
(359, 'MD', 'Moldova, Republic of', 0),
(360, 'MC', 'Monaco', 0),
(361, 'MN', 'Mongolia', 0),
(362, 'ME', 'Montenegro', 0),
(363, 'MS', 'Montserrat', 0),
(364, 'MA', 'Morocco', 0),
(365, 'MZ', 'Mozambique', 0),
(366, 'MM', 'Myanmar', 0),
(367, 'NA', 'Namibia', 0),
(368, 'NR', 'Nauru', 0),
(369, 'NP', 'Nepal', 0),
(370, 'NL', 'Netherlands', 0),
(371, 'AN', 'Netherlands Antilles', 0),
(372, 'NC', 'New Caledonia', 0),
(373, 'NZ', 'New Zealand', 0),
(374, 'NI', 'Nicaragua', 0),
(375, 'NE', 'Niger', 0),
(376, 'NG', 'Nigeria', 0),
(377, 'NU', 'Niue', 0),
(378, 'NF', 'Norfolk Island', 0),
(379, 'MP', 'Northern Mariana Islands', 0),
(380, 'NO', 'Norway', 0),
(381, 'OM', 'Oman', 0),
(382, 'PK', 'Pakistan', 0),
(383, 'PW', 'Palau', 0),
(384, 'PS', 'Palestine', 0),
(385, 'PA', 'Panama', 0),
(386, 'PG', 'Papua New Guinea', 0),
(387, 'PY', 'Paraguay', 0),
(388, 'PE', 'Peru', 0),
(389, 'PH', 'Philippines', 0),
(390, 'PN', 'Pitcairn', 0),
(391, 'PL', 'Poland', 0),
(392, 'PT', 'Portugal', 0),
(393, 'PR', 'Puerto Rico', 0),
(394, 'QA', 'Qatar', 0),
(395, 'RE', 'Reunion', 0),
(396, 'RO', 'Romania', 0),
(397, 'RU', 'Russian Federation', 0),
(398, 'RW', 'Rwanda', 0),
(399, 'KN', 'Saint Kitts and Nevis', 0),
(400, 'LC', 'Saint Lucia', 0),
(401, 'VC', 'Saint Vincent and the Grenadines', 0),
(402, 'WS', 'Samoa', 0),
(403, 'SM', 'San Marino', 0),
(404, 'ST', 'Sao Tome and Principe', 0),
(405, 'SA', 'Saudi Arabia', 0),
(406, 'SN', 'Senegal', 0),
(407, 'RS', 'Serbia', 0),
(408, 'SC', 'Seychelles', 0),
(409, 'SL', 'Sierra Leone', 0),
(410, 'SG', 'Singapore', 0),
(411, 'SK', 'Slovakia', 0),
(412, 'SI', 'Slovenia', 0),
(413, 'SB', 'Solomon Islands', 0),
(414, 'SO', 'Somalia', 0),
(415, 'ZA', 'South Africa', 0),
(416, 'GS', 'South Georgia South Sandwich Islands', 0),
(417, 'ES', 'Spain', 0),
(418, 'LK', 'Sri Lanka', 0),
(419, 'SH', 'St. Helena', 0),
(420, 'PM', 'St. Pierre and Miquelon', 0),
(421, 'SD', 'Sudan', 0),
(422, 'SR', 'Suriname', 0),
(423, 'SJ', 'Svalbard and Jan Mayen Islands', 0),
(424, 'SZ', 'Swaziland', 0),
(425, 'SE', 'Sweden', 0),
(426, 'CH', 'Switzerland', 0),
(427, 'SY', 'Syrian Arab Republic', 0),
(428, 'TW', 'Taiwan', 0),
(429, 'TJ', 'Tajikistan', 0),
(430, 'TZ', 'Tanzania, United Republic of', 0),
(431, 'TH', 'Thailand', 0),
(432, 'TG', 'Togo', 0),
(433, 'TK', 'Tokelau', 0),
(434, 'TO', 'Tonga', 0),
(435, 'TT', 'Trinidad and Tobago', 0),
(436, 'TN', 'Tunisia', 0),
(437, 'TR', 'Turkey', 0),
(438, 'TM', 'Turkmenistan', 0),
(439, 'TC', 'Turks and Caicos Islands', 0),
(440, 'TV', 'Tuvalu', 0),
(441, 'UG', 'Uganda', 0),
(442, 'UA', 'Ukraine', 0),
(443, 'AE', 'United Arab Emirates', 0),
(444, 'GB', 'United Kingdom', 0),
(445, 'US', 'United States', 0),
(446, 'UM', 'United States minor outlying islands', 0),
(447, 'UY', 'Uruguay', 0),
(448, 'UZ', 'Uzbekistan', 0),
(449, 'VU', 'Vanuatu', 0),
(450, 'VA', 'Vatican City State', 0),
(451, 'VE', 'Venezuela', 0),
(452, 'VN', 'Vietnam', 0),
(453, 'VG', 'Virgin Islands (British)', 0),
(454, 'VI', 'Virgin Islands (U.S.)', 0),
(455, 'WF', 'Wallis and Futuna Islands', 0),
(456, 'EH', 'Western Sahara', 0),
(457, 'YE', 'Yemen', 0),
(458, 'YU', 'Yugoslavia', 0),
(459, 'ZR', 'Zaire', 0),
(460, 'ZM', 'Zambia', 0),
(461, 'ZW', 'Zimbabwe', 0);
 
Status
Not open for further replies.
Back
Top