Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/02/2008, 06:40
Avatar de culd
culd
 
Fecha de Ingreso: noviembre-2003
Mensajes: 959
Antigüedad: 20 años, 6 meses
Puntos: 19
Error al crear tabla y cargar registros

Buenas, estoy haciendo un script para que cree todas las bases y tablas correspondientes...

El primer error me tira cuando quiero crear esta tabla...

Código:
CREATE TABLE Prueba(TIPO VARCHAR(30), TEXTO VARCHAR(100), COLOR INT, LEFT INT, TOP INT, SIZE INT, BOLD BOOL, NAME VARCHAR(50), UNDERLINE BOOL, STRIKETHROUGH BOOL, ITALIC BOOL));
Y el error que me devuelve es el siguiente

Código:
ERROR 1064 (42000): You have an error in yout SQL syntax; check the manual that corresponds to your MySQL server version for the syntax to use near 'LEFT INT, TOP INT, SIZE INT, BOLD BOOL, NAME VARCHAR(50), UNDERLINE BOOL, STRIKE' at line 1
Sera que las palabras LEFT, TOP, SIZE, etc estan reservadas?