1
Create TABLE Emp_test1
(Employee_id Number (6)
CONSTRAINT employee_id NOT NULL,
FIRST_NAME Varchar2 (20),
LAST_NAME Varchar2 (25)
CONSTRAINT Last_name NOT NULL,
Email Varchar2 (25)
CONSTRAINT Email NOT NULL,
PHONE_NUMBER Varchar2 (20)
HIRE_DATE Date 
CONSTRAINT Hire_date NOT NULL,
Job_id Varchar2 (10)
CONSTRAINT Job_id NOT NULL,
Salary Number (8,2),
Commission_pct Number (2,2),
Manager_id NUmber (6),
Department_id Number (4)),

ORA 00907Hire_date 行で右括弧が欠落し続けるのはなぜですか?

4

1 に答える 1

4

あなたはコンマを失ったPHONE_NUMBER Varchar2 (20),

Create TABLE Emp_test1
(Employee_id Number (6)
CONSTRAINT employee_id NOT NULL,
FIRST_NAME Varchar2 (20),
LAST_NAME Varchar2 (25)
CONSTRAINT Last_name NOT NULL,
Email Varchar2 (25)
CONSTRAINT Email NOT NULL,
PHONE_NUMBER Varchar2 (20),
HIRE_DATE Date 
CONSTRAINT Hire_date NOT NULL,
Job_id Varchar2 (10)
CONSTRAINT Job_id NOT NULL,
Salary Number (8,2),
Commission_pct Number (2,2),
Manager_id NUmber (6),
Department_id Number (4));
于 2013-05-15T06:23:41.893 に答える