corsasport.co.uk
 

Corsa Sport » Message Board » General Chat » SQL Help


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author SQL Help
Andrew
Member

Registered: 5th May 04
Location: Skoda Octavia Estate, Ford Puma
User status: Offline
17th Jan 05 at 11:39   View User's Profile U2U Member Reply With Quote

I'm trying to create a Foreign Key. Code i've done: -

CREATE TABLE Advanced_Flight_Information
(Flight_Identifier CHAR(5) FOREIGN KEY,
Departure_City CHAR(10) NOT NULL,
Departure_Country CHAR(10) NOT NULL,
Departure_Runways CHAR(10) NOT NULL,
Stopover CHAR(10) NOT NULL,
Destination_City CHAR(10) NOT NULL,
Destination_Country CHAR(10) NOT NULL,
Destination_Runways CHAR(10) NOT NULL);

Error: -

ERROR at line 2:
ORA-00907: missing right parenthesis

 
New Topic

New Poll

Corsa Sport » Message Board » General Chat » SQL Help 24 database queries in 0.0083091 seconds