Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/12/2009, 13:05
an3
 
Fecha de Ingreso: diciembre-2009
Mensajes: 9
Antigüedad: 14 años, 5 meses
Puntos: 0
Respuesta: Autoincrementar PrimaryKey

gracias huesos52 me dio un error pero luego busque y consegui esta sentencia

ALTER TABLE `tableName` CHANGE `attr` `aattr` INT( 11 ) NOT NULL AUTO_INCREMENT