Ver Mensaje Individual
  #8 (permalink)  
Antiguo 20/01/2004, 11:01
joputa
 
Fecha de Ingreso: febrero-2003
Mensajes: 47
Antigüedad: 21 años, 2 meses
Puntos: 0
No me sale eso de unique..
ahora mismo esta asi:
Campo: id
Tipo: INT
Longitud/Valores*: vacio
Atributos: vacio
Nulo: not null
Predeterminado**: 1
Extra: auto_increment
y me da este error:
Error

consulta SQL :

ALTER TABLE `Usuarios` CHANGE `id` `id` INT DEFAULT '1' NOT NULL AUTO_INCREMENT

MySQL ha dicho:


#1075 - Incorrect table definition; There can only be one auto column and it must be defined as a key