How do I do a simple 'Find and Replace" in MsSQL?

前端 未结 5 652
别那么骄傲
别那么骄傲 2020-12-12 23:12

Question is pretty self explanitory. I want to do a simple find and replace, like you would in a text editor on the data in a column of my database (which is MsSQL on MS Win

5条回答
  •  半阙折子戏
    2020-12-12 23:53

    If you are working with SQL Server 2005 or later there is also a CLR library available at http://www.sqlsharp.com/ that provides .NET implementations of string and RegEx functions which, depending on your volume and type of data may be easier to use and in some cases the .NET string manipulation functions can be more efficient than T-SQL ones.

提交回复
热议问题