need some help with airport codes database

  • Thread starter daraptor
  • https://www.osnn.net/admin.php?templates/thread_view.1970/delete&_xfRedirect=https%3A%2F%2Fwww.osnn.net%2Fadmin.php%3Ftemplates%2Foutdated Start date

daraptor

OSNN Junior Addict
Joined
26 Jul 2005
Messages
12
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
12 Dec 2005
Messages
277
Last edited:

Geffy

OSNN Veteran Addict
Joined
18 Mar 2002
Messages
7,805
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 forum posts

Latest profile posts

Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,000
Messages
673,429
Members
5,596
Latest member
Joshua Liansky