oracle - How do you ORA - 00907: Missing right parenthesis -


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)), 

why keep getting ora 00907 missing right parenthesis on hire_date line?

you've lost comma after 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)); 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -