Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace a portion of a string
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Web
Divers
Thread ID:
01381814
Message ID:
01448408
Vues:
31
>If a field is SQL Server reserved word, you need to use []. You can use it for regular fields as well. In other words, you can use it every time.

Thanks. My issue actually turned out to be because I'm using TEXT field type. Had to cast it do it like

set description=replace(cast(description as varchar(max)),'\',' \')
Brandon Harker
Sebae Data Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform