Descripción: missing right parenthesis
Causa: A left parenthesis has been entered without a closing right parenthesis, or extra information was contained in the parentheses. All parentheses must be entered in pairs.
Acción: Correct the syntax and retry the statement.
COMENTARIOS:
por Anónimo | 30/03/2007 22:31:10
RE: ORA-00907
create table factura
(
id_cliente int not null
nombre varchar(30),
prymary key (id_cliente)
) type =innodb
por CARMEN | 14/02/2008 1:25:50
RE: ORA-00907
COMO PUEDO SOLUCIONAR EL ERROR
por PATTY | 14/02/2008 20:20:29
RE: ORA-00907
NO SE QUE HAGO MAL
por SENYORUNO | 26/02/2008 19:41:06
RE: ORA-00907
CREATE TABLE PEDIDOS2
(
NIF VARCHAR2(10) FOREING KEY REFERENCES TIENDAS2,
ARTICULO VARCHAR2 (20),
COD_FABRICANTE NUMBER(3)FOREIGN KEY REFERENCES FABRICANTES2,
PESO NUMBER(3),
CATEGORIA VARCHAR2(10) CHECK CATEGORIA IN('Primera', 'Segunda', 'Tercera'),
FECHA_PEDIDO DATE,
UNIDADES_PEDIDAS NUMBER(4)CHECK (UNIDADES_PEDIDAS >0),
CONSTRAINT FK1 FOREIGN KEY (ARTICULO, COD_FABRICANTE, PESO, CATEGORIA) REFERENCES ARTICULOS2),
CONSTRAINT PK1 PRIMARY KEY (NIF, ARTICULO, COD_FABRICANTE, PESO, CATEGORIA, FECHA_PEDIDO),
);