Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/05/2008, 02:42
xavi33es
 
Fecha de Ingreso: mayo-2008
Mensajes: 32
Antigüedad: 16 años
Puntos: 0
Re: No me sale el 'cero' en el valor de un campo

He hecho lo que me dices y me sale este error:

Error
consulta SQL:

ALTER TABLE `dir_empresas` CHANGE `cp` `cp` VARCHAR( 5 ) UNSIGNED ZEROFILL CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL

MySQL ha dicho:

#1064 - 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 'UNSIGNED ZEROFILL CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL' at line 1