sql >> Base de Datos >  >> RDS >> Oracle

ORA-00907:paréntesis derecho faltante (con ejemplos)

No tienes que definir la longitud de int. Retire el (10)

CREATE TABLE Orders (
order_id int NOT NULL,
order_date date NOT NULL,
total_value varchar(250) DEFAULT NULL,
order_status varchar(250) DEFAULT NULL,
payment_type_id int NOT NULL,
delivery_id int DEFAULT NULL,
store_id int NOT NULL,
staff_id int DEFAULT NULL,
client_id int NOT NULL,
sale_type_id int NOT NULL
);

DEMOSTRACIÓN DE SQL FIDDLE