Create Table Error -- Help Please
From: Victor M <eh936_NO_SPAM__at_hotmail.com>
Date: Mon, 07 Jul 2003 01:53:09 GMT
Message-ID: <MPG.19729c249d7208789896a4_at_nntp.slnt.phub.net.cable.rogers.com>
Date: Mon, 07 Jul 2003 01:53:09 GMT
Message-ID: <MPG.19729c249d7208789896a4_at_nntp.slnt.phub.net.cable.rogers.com>
Hello everyone.
I'm running Oracle 8.0 on NT4 (yep thats right) and running SQL*Plus 8.03.
I'm typing the following at the SQL*Plus prompt:
- Create Table EMPLOYEES
- (
- FName VARCHAR(15) NOT NULL,
- MINIT CHAR,
- LName VARCHAR(15) NOT NULL,
- SSN CHAR(9) NOT NULL,
- BDATE CHAR(25),
- Address VARCHAR(30),
- Sex CHAR,
- Salary DECIMAL(10,2),
- SUPERSSN CHAR(9),
- DNO INT,
- Primary Key(SSN),
- Foreign Key(SUPERSSN) REFERENCES EMPLOYEES(SSN),
- Foreign Key(DNO) REFERENCES DEPARTMENT(DNUMBER) 16.);
I receive the following error:
"ORA-0091:invalid Character" line 16
Can anyone suggest why I'm getting this error ? I've tried removing the character (semi-colon) but then I get a error ("missing or invalid option line 16" )for the next Create Table ... statement that follows. I've tried replacing it with a comma (,) but this gives the same error as "missing or invalid option line 16".
Thanks very much for your time. Any help would be appreciated.
Victor Received on Mon Jul 07 2003 - 03:53:09 CEST
