PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 25 → WX - Removendo aspa simples do MS SQL Server
WX - Removendo aspa simples do MS SQL Server
Started by BOLLER, Oct., 20 2016 7:56 PM - No answer
Registered member
3,659 messages
Popularité : +175 (223 votes)
Posted on October, 20 2016 - 7:56 PM
Prezados

Removendo aspa simples do MS SQL Server,
Só informar 4 aspas simples, simples assim:

Exemplo ok:

USE [CEP]
GO
UPDATE [dbo].[t0010_enderecoscorreioslogradouro]
SET [LOG_NOME] = REPLACE(LOG_NOME,'''','')
,[CEP] = REPLACE(CEP,'''','')
,[LOG_COMPLEMENTO] = REPLACE(LOG_COMPLEMENTO,'''','')
,[LOG_TIPO_LOGRADOURO] = REPLACE(LOG_TIPO_LOGRADOURO,'''','')
,[LOG_STATUS_TIPO_LOG] = REPLACE(LOG_STATUS_TIPO_LOG,'''','')
,[LOG_NO_SEM_ACENTO] = REPLACE(LOG_NO_SEM_ACENTO,'''','')
,[LOG_KEY_DNE] = REPLACE(LOG_KEY_DNE,'''','')
,[TEMP] = REPLACE(TEMP,'''','')


--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/