Advertisement
kavallo

Remover retorno de carro en sql - Remover enter en campo sql

Jun 27th, 2014
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.15 KB | None | 0 0
  1. SELECT REPLACE(REPLACE(campodb,CHAR(10),''),CHAR(13),'') AS CampoDb
  2. FROM tabla
  3. WHERE campodb LIKE '%'+CHAR(13)+'%' OR campodb LIKE '%'+CHAR(10)+'%'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement