Created
December 11, 2012 14:46
-
-
Save roalcantara/4259051 to your computer and use it in GitHub Desktop.
SQLSERVER > Removendo quebra de linha de um Varchar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @STR AS VARCHAR(500) | |
SET @STR = 'Salvador · | |
Terça-feira 10 de abril de 2007 Ano XCI · No 19.383' | |
SELECT REPLACE(@STR,CHAR(13) + Char(10) ,' ') |
SELECT REPLACE(REPLACE(@coluna,CHAR(13) + Char(10) ,' '), CHAR(10), '')
Valeu pela dica!
Thx mustangGuns!
Muito obrigado!!!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍