Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/12/2011, 03:54
quimfv
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Sabadell
Mensajes: 4.897
Antigüedad: 16 años, 1 mes
Puntos: 574
Respuesta: quitar salto de linea en MYSQL

Deberías saber que caracter tienes...

Código pre:
Ver original
  1. REPLACE(str,from_str,to_str)
  2.  
  3. Returns the string str with all occurrences of the string from_str replaced
  4. by the string to_str. REPLACE() performs a case-sensitive match when
  5. searching for from_str.
  6.  
  7. mysql> SELECT REPLACE('www.mysql.com', 'w', 'Ww');
  8.         -> 'WwWwWw.mysql.com'
  9.  
  10. This function is multi-byte safe.

Usa esta funcion en el select ....

O mejor en un UPDATE para limpiar esos caracteres...
__________________
Quim
--------------------------------------------------
Ayudar a ayudar es una buena práctica!!! Y da buenos resultados.