need some help with airport codes database

daraptor

OSNN Junior Addict
Joined
Jul 26, 2005
Messages
12
#1
hey guyz...i think this is off topic but am tryin to design a site for airfares and i need all airport codes mdb file....i would appreciate if anyone can help me out with this....plz help guyz....i need it very badly.......thanks....
 

hansrijf

sh! it stinks
Joined
Dec 12, 2005
Messages
277
#2
Last edited:

Geffy

OSNN Veteran Addict
Joined
Mar 18, 2002
Messages
7,805
#3
hansrijf: those links seem to require login

http://en.wikipedia.org/wiki/List_of_airports_by_IATA_code will give them to you by first letter, it might take you some time but its probably a reasonably complete list.


Even a start of a database for you :p
Code:
CREATE TABLE airport_codes (
  iata CHAR (3) PRIMARY KEY NOT NULL,
  icao CHAR (4) UNIQUE,
  name VARCHAR (255) NOT NULL,
  city VARCHAR (255),
  locality VARCHAR (255),
  country CHAR (2) NOT NULL
);

---         IATA   ICAO    Airport name                       City        Locality            Country
INSERT INTO airport_codes ("iata", "icao", "name", "city", "locality", "country")
    VALUES ('AAA', 'KAAA', 'Logan County Airport',            'Lincoln',  'Illinois',         'US');
INSERT INTO airport_codes ("iata", "icao", "name", "city", "locality", "country")
    VALUES ('AAA', 'NTGA', 'Anaa Airport',                    'Anaa',     'Tuamotu Island',   'PF');
INSERT INTO airport_codes ("iata", "icao", "name", "city", "locality", "country")
    VALUES ('AAB', 'YARY', 'Arrabury Airport',                'Arrabury', 'Queensland',       'AU');
INSERT INTO airport_codes ("iata", "icao", "name", "city", "locality", "country")
    VALUES ('AAC', 'HEAR', 'El Arish International Airport',  'El Arish', '',                 'EG');
INSERT INTO airport_codes ("iata", "icao", "name", "city", "locality", "country")
    VALUES ('AAD', ''    , 'Ad-Dabbah Airport',               'Ad-Dabbah', '',                'SD');
INSERT INTO airport_codes ("iata", "icao", "name", "city", "locality", "country")
    VALUES ('AAE', 'DABB', 'Rabah Bitat Airport (Les Salines Airport)', 'Annaba', '',         'DZ');
 
Last edited:

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Hey ep!

All good with me, applying for microsoft mvp right now, should have done this a while ago.

Notifications don't work, I only found your response by comming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier, mine is perriscalderon at gmail
Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...

Forum statistics

Threads
62,011
Messages
673,481
Members
89,034
Latest member
nasty12