Ver Mensaje Individual
  #3 (permalink)  
Antiguo 22/05/2007, 09:26
naxalite
 
Fecha de Ingreso: mayo-2007
Mensajes: 2
Antigüedad: 17 años
Puntos: 0
Re: Error de sintaxis sql ¿aonde joe?

Gracias por el comentario, pero aun definiendolo me sigue dando el error, he probado kitando ese campo y sigue igual, ainnns k desesperacion.

CREATE TABLE FACTURA(
baseimponible float,
fechafactura date,
fechaentrada date NOT NULL ,
pagada date,
tipoiva enum( 'medium', 'large' ) ,
nfactura varchar,
estado text,
nexpedicion int,
idfactura int UNIQUE NOT NULL ,
idproveedor int NOT NULL ,
suministraestado text
);

MySQL ha dicho: Documentación
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
estado text,
nexpedicion int,
idfactura int UN' at line 6