Ver Mensaje Individual
  #12 (permalink)  
Antiguo 04/05/2011, 17:13
trafico10
 
Fecha de Ingreso: abril-2005
Mensajes: 62
Antigüedad: 19 años
Puntos: 1
Respuesta: productos vista horizontal

hola estoy utilizando mysql front u me sale un error que no puedo resolver espero me puedas ayudar gracias

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 'TYPE=InnoDB;
CREATE TABLE empleos (
id_empleos INTEGER(11) NOT NULL AUTO_IN' at line 6 (1064) - CREATE TABLE categorias ( id_categoria INTEGER(11) NOT NULL AUTO_INCREMENT, nombre_categoria VARCHAR(200) NOT NULL, PRIMARY KEY(id_categorias) ) TYPE=InnoDB;

CREATE TABLE categorias (
id_categoria INTEGER(11) NOT NULL AUTO_INCREMENT,
nombre_categoria VARCHAR(200) NOT NULL,
PRIMARY KEY(id_categorias)
)
TYPE=InnoDB;

CREATE TABLE empleos (
id_empleos INTEGER(11) NOT NULL AUTO_INCREMENT,
lugares_id_lugar INTEGER(11) NOT NULL,
tipo_id_tipo INTEGER(11) NOT NULL,
categorias_id_categorias INTEGER(11) UNSIGNED NOT NULL,
id_categoria INTEGER(11) NULL,
id_tipo INTEGER(11) NULL,
id_lugar INTEGER(11) NULL,
titulo_empleo VARCHAR(200) NULL,
fecha_publicacion DATETIME NULL,
PRIMARY KEY(id_empleos),
INDEX empleos_FKIndex1(categorias_id_categorias),
INDEX empleos_FKIndex2(tipo_id_tipo),
INDEX empleos_FKIndex3(lugares_id_lugar)
)
TYPE=InnoDB;

CREATE TABLE lugares (
id_lugar INTEGER(11) UNSIGNED NOT NULL AUTO_INCREMENT,
nombre_lugar VARCHAR(200) NULL,
PRIMARY KEY(id_lugar)
);
TYPE=InnoDB;

CREATE TABLE tipo (
id_tipo INTEGER(11) UNSIGNED NOT NULL AUTO_INCREMENT,
nombre_tipo VARCHAR(200) NULL,
PRIMARY KEY(id_tipo)
);
TYPE=InnoDB;