Ver Mensaje Individual
  #6 (permalink)  
Antiguo 19/06/2007, 10:43
Avatar de turco_7
turco_7
 
Fecha de Ingreso: diciembre-2003
Ubicación: Córdoba, Argentina
Mensajes: 1.044
Antigüedad: 20 años, 5 meses
Puntos: 19
Re: auto_increment

Prueba creando la tabla de esta manera ...

Código PHP:
CREATE TABLE IF NOT EXISTS mdl_id_curso (
id MEDIUMINT NOT NULL AUTO_INCREMENT,
grupo_verificacion VARCHAR(100NOT NULL,
curso VARCHAR(20NOT NULL,
nombre_asignatura VARCHAR(100NOT NULL
Fijate que he cambiado esta linea
id BIGINT(10) UNSIGNED not null auto_increment, por esta otra en realidad he cambiado el tipo de datoid MEDIUMINT NOT NULL AUTO_INCREMENT,

Saludos y espero que funcione...
__________________
Mi Blog http://turco7.blogspot.com
Usuario Linux : 404289
Mi última página: http://www.digitalservicecba.com.ar - Reparacion de camaras digitales!