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:
01448388
Views:
45
>>Within an update command, I need to replace a portion of a string in a Text field. So, basically, I am looking for the equivalent of this in SQL Server:
>>
>>
>>UPDATE MyTable SET MyField=STRTRAN(MyField," \ ","\")
>>
>
>REPLACE()
>
>
>UPDATE MyTable SET MyField=REPLACE(MyField,' \ ','\')
>
How do you get this to work if your field name is description ?
Brandon Harker
Sebae Data Solutions
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform