Ver Mensaje Individual
  #8 (permalink)  
Antiguo 07/06/2010, 10:09
ferranWEB
 
Fecha de Ingreso: enero-2002
Mensajes: 1.872
Antigüedad: 22 años, 4 meses
Puntos: 3
Respuesta: ordenar campo precio varchar

gracias gnzsoloyo

he probado a hacer el update de la table y me da el siguiente error:

#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 'CAST(REPLACE(REPLACE(precio,'.', ''),',','.') AS DECIMAL(20,2))

que hago mal?

saludos!