Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace a portion of a string
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Application:
Web
Miscellaneous
Thread ID:
01381814
Message ID:
01448408
Views:
30
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform