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:
01448411
Views:
27
>>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)),'\',' \')


TEXT type in SQL Server 2005!!!!!!!!!!!!!!!
Grrrr,
Change it immediately to n/varchar(max)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform