Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/03/2008, 21:11
WinDoctor
 
Fecha de Ingreso: octubre-2006
Mensajes: 51
Antigüedad: 17 años, 6 meses
Puntos: 1
Re: campo autonumerico

Es con AUTO_INCREMENT

CREATE TABLE ejemplo.incrementos(
id INT NOT NULL AUTO_INCREMENT,
nombre CHAR NOT NULL,
PRIMARY KEY (id)
) engine = innodb

saludos!!