Currency Codes dropdown and SQL table

I always find it useful to share publicly those tasks I find myself carrying out many many times, almost robotically. In fact, I’d like for there to be a worker bot (soft AI not hard, and software not hard… we don’t need a Terminator style takeover) to do my dirty work for me.
Well, until such a helpful little worker bot exists, I’ll have to settle for blogging and sharing via Social Networks to appease my data reuse and job simplification desires. Here’s some data for International Currency information that I end up using in many databases (and I’ve added to my upcoming OpenRecommender project, to shamelessly plug my projects).
The following are the ISO-4217 Currency Codes of the (not including money symbols) of the current global financial system…
Currency code:
To save you a dig through the source, here’s the HTML for a quick Select drop-down box:
Next up, a nice raw MySQL dump you can use in your own application:
CREATE TABLE IF NOT EXISTS `currency` ( `currency_id` int(11) NOT NULL auto_increment, `currency_name` varchar(64) default NULL, `currency_code` char(3) default NULL, PRIMARY KEY (`currency_id`), KEY `idx_currency_name` (`currency_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ; -- -- Dumping data for table `currency` -- INSERT INTO `currency` (`currency_id`, `currency_name`, `currency_code`) VALUES (1, 'Andorran Peseta', 'ADP'), (2, 'United Arab Emirates Dirham', 'AED'), (3, 'Afghanistan Afghani', 'AFA'), (4, 'Albanian Lek', 'ALL'), (5, 'Netherlands Antillian Guilder', 'ANG'), (6, 'Angolan Kwanza', 'AOK'), (7, 'Argentine Peso', 'ARS'), (9, 'Australian Dollar', 'AUD'), (10, 'Aruban Florin', 'AWG'), (11, 'Barbados Dollar', 'BBD'), (12, 'Bangladeshi Taka', 'BDT'), (14, 'Bulgarian Lev', 'BGN'), (15, 'Bahraini Dinar', 'BHD'), (16, 'Burundi Franc', 'BIF'), (17, 'Bermudian Dollar', 'BMD'), (18, 'Brunei Dollar', 'BND'), (19, 'Bolivian Boliviano', 'BOB'), (20, 'Brazilian Real', 'BRL'), (21, 'Bahamian Dollar', 'BSD'), (22, 'Bhutan Ngultrum', 'BTN'), (23, 'Burma Kyat', 'BUK'), (24, 'Botswanian Pula', 'BWP'), (25, 'Belize Dollar', 'BZD'), (26, 'Canadian Dollar', 'CAD'), (27, 'Swiss Franc', 'CHF'), (28, 'Chilean Unidades de Fomento', 'CLF'), (29, 'Chilean Peso', 'CLP'), (30, 'Yuan (Chinese) Renminbi', 'CNY'), (31, 'Colombian Peso', 'COP'), (32, 'Costa Rican Colon', 'CRC'), (33, 'Czech Republic Koruna', 'CZK'), (34, 'Cuban Peso', 'CUP'), (35, 'Cape Verde Escudo', 'CVE'), (36, 'Cyprus Pound', 'CYP'), (40, 'Danish Krone', 'DKK'), (41, 'Dominican Peso', 'DOP'), (42, 'Algerian Dinar', 'DZD'), (43, 'Ecuador Sucre', 'ECS'), (44, 'Egyptian Pound', 'EGP'), (45, 'Estonian Kroon (EEK)', 'EEK'), (46, 'Ethiopian Birr', 'ETB'), (47, 'Euro', 'EUR'), (49, 'Fiji Dollar', 'FJD'), (50, 'Falkland Islands Pound', 'FKP'), (52, 'British Pound', 'GBP'), (53, 'Ghanaian Cedi', 'GHC'), (54, 'Gibraltar Pound', 'GIP'), (55, 'Gambian Dalasi', 'GMD'), (56, 'Guinea Franc', 'GNF'), (58, 'Guatemalan Quetzal', 'GTQ'), (59, 'Guinea-Bissau Peso', 'GWP'), (60, 'Guyanan Dollar', 'GYD'), (61, 'Hong Kong Dollar', 'HKD'), (62, 'Honduran Lempira', 'HNL'), (63, 'Haitian Gourde', 'HTG'), (64, 'Hungarian Forint', 'HUF'), (65, 'Indonesian Rupiah', 'IDR'), (66, 'Irish Punt', 'IEP'), (67, 'Israeli Shekel', 'ILS'), (68, 'Indian Rupee', 'INR'), (69, 'Iraqi Dinar', 'IQD'), (70, 'Iranian Rial', 'IRR'), (73, 'Jamaican Dollar', 'JMD'), (74, 'Jordanian Dinar', 'JOD'), (75, 'Japanese Yen', 'JPY'), (76, 'Kenyan Schilling', 'KES'), (77, 'Kampuchean (Cambodian) Riel', 'KHR'), (78, 'Comoros Franc', 'KMF'), (79, 'North Korean Won', 'KPW'), (80, '(South) Korean Won', 'KRW'), (81, 'Kuwaiti Dinar', 'KWD'), (82, 'Cayman Islands Dollar', 'KYD'), (83, 'Lao Kip', 'LAK'), (84, 'Lebanese Pound', 'LBP'), (85, 'Sri Lanka Rupee', 'LKR'), (86, 'Liberian Dollar', 'LRD'), (87, 'Lesotho Loti', 'LSL'), (89, 'Libyan Dinar', 'LYD'), (90, 'Moroccan Dirham', 'MAD'), (91, 'Malagasy Franc', 'MGF'), (92, 'Mongolian Tugrik', 'MNT'), (93, 'Macau Pataca', 'MOP'), (94, 'Mauritanian Ouguiya', 'MRO'), (95, 'Maltese Lira', 'MTL'), (96, 'Mauritius Rupee', 'MUR'), (97, 'Maldive Rufiyaa', 'MVR'), (98, 'Malawi Kwacha', 'MWK'), (99, 'Mexican Peso', 'MXP'), (100, 'Malaysian Ringgit', 'MYR'), (101, 'Mozambique Metical', 'MZM'), (102, 'Namibian Dollar', 'NAD'), (103, 'Nigerian Naira', 'NGN'), (104, 'Nicaraguan Cordoba', 'NIO'), (105, 'Norwegian Kroner', 'NOK'), (106, 'Nepalese Rupee', 'NPR'), (107, 'New Zealand Dollar', 'NZD'), (108, 'Omani Rial', 'OMR'), (109, 'Panamanian Balboa', 'PAB'), (110, 'Peruvian Nuevo Sol', 'PEN'), (111, 'Papua New Guinea Kina', 'PGK'), (112, 'Philippine Peso', 'PHP'), (113, 'Pakistan Rupee', 'PKR'), (114, 'Polish Zloty', 'PLN'), (116, 'Paraguay Guarani', 'PYG'), (117, 'Qatari Rial', 'QAR'), (118, 'Romanian Leu', 'RON'), (119, 'Rwanda Franc', 'RWF'), (120, 'Saudi Arabian Riyal', 'SAR'), (121, 'Solomon Islands Dollar', 'SBD'), (122, 'Seychelles Rupee', 'SCR'), (123, 'Sudanese Pound', 'SDP'), (124, 'Swedish Krona', 'SEK'), (125, 'Singapore Dollar', 'SGD'), (126, 'St. Helena Pound', 'SHP'), (127, 'Sierra Leone Leone', 'SLL'), (128, 'Somali Schilling', 'SOS'), (129, 'Suriname Guilder', 'SRG'), (130, 'Sao Tome and Principe Dobra', 'STD'), (131, 'Russian Ruble', 'RUB'), (132, 'El Salvador Colon', 'SVC'), (133, 'Syrian Potmd', 'SYP'), (134, 'Swaziland Lilangeni', 'SZL'), (135, 'Thai Baht', 'THB'), (136, 'Tunisian Dinar', 'TND'), (137, 'Tongan Paanga', 'TOP'), (138, 'East Timor Escudo', 'TPE'), (139, 'Turkish Lira', 'TRY'), (140, 'Trinidad and Tobago Dollar', 'TTD'), (141, 'Taiwan Dollar', 'TWD'), (142, 'Tanzanian Schilling', 'TZS'), (143, 'Uganda Shilling', 'UGX'), (144, 'US Dollar', 'USD'), (145, 'Uruguayan Peso', 'UYU'), (146, 'Venezualan Bolivar', 'VEF'), (147, 'Vietnamese Dong', 'VND'), (148, 'Vanuatu Vatu', 'VUV'), (149, 'Samoan Tala', 'WST'), (150, 'Communauté Financière Africaine BEAC, Francs', 'XAF'), (151, 'Silver, Ounces', 'XAG'), (152, 'Gold, Ounces', 'XAU'), (153, 'East Caribbean Dollar', 'XCD'), (154, 'International Monetary Fund (IMF) Special Drawing Rights', 'XDR'), (155, 'Communauté Financière Africaine BCEAO - Francs', 'XOF'), (156, 'Palladium Ounces', 'XPD'), (157, 'Comptoirs Français du Pacifique Francs', 'XPF'), (158, 'Platinum, Ounces', 'XPT'); (159, 'Democratic Yemeni Dinar', 'YDD'), (160, 'Yemeni Rial', 'YER'), (161, 'New Yugoslavia Dinar', 'YUD'), (162, 'South African Rand', 'ZAR'), (163, 'Zambian Kwacha', 'ZMK'), (164, 'Zaire Zaire', 'ZRZ'), (165, 'Zimbabwe Dollar', 'ZWD'), (166, 'Slovak Koruna', 'SKK'), (167, 'Armenian Dram', 'AMD');
Related articles
- Asian Currency Opportunity (r-bloggers.com)
- Future of money: A currency that’s building community (newscientist.com)
- Aussie Dollar, Swiss Franc and Swedish Kroner Lead the Pack (businessinsider.com)
- U.S. Currency Backed by Gold and Silver? Yes, But the ‘U’ Stands for Utah (dailyfinance.com)
- No Place To Hide: “Unexpected” Inflation Signal And Continued Weak Readings on Economy Drive DOW Under 12,000 (minx.cc)
- GOLD – GOLD – GOLD – the fever is alive … (bleyzie.wordpress.com)
- Lionel Dricot: The Bitcoin Bubble (ploum.net)
- Everything You Want to Know About Bitcoin, the Digital Currency Worth More Than the Dollar | 80beats (blogs.discovermagazine.com)
- Why bitcoin failed as a currency and is on its way to become an asset (reddit.com)
- Yuan expected to become major world currency (theglobeandmail.com)
- Forget piracy, U.S. government is going after Bitcoin (venturebeat.com)
- Theories of the current crisis: Closing thoughts on the hyperinflationists (pogoprinciple.wordpress.com)
- For Money and SQL Money Data Type Be Care full while using !!!! (bimentalist.wordpress.com)