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

Buenas tardes, resulta k toy haciendo una aplicacion de base datos y me tiene entretenido un puñetero error. Solo me pasa en esta tabla al pasar el mysq al phpmyadmin me da este error:

consulta SQL:

CREATE TABLE FACTURA(
baseimponible float,
fechafactura date,
fechaentrada date NOT NULL ,
pagada date,
tipoiva enum,
nfactura varchar,
estado text,
nexpedicion int,
idfactura int NOT NULL ,
idproveedor int NOT NULL ,
suministra_estado 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 '
nfactura varchar,
estado text,
nexpedicion int,
' at line 5

No veo el puto error, perdon, haber si me podeis echar un cablesito.
Muchisimas gracias