Aggregate replace in SQL Server?

前端 未结 3 1893
名媛妹妹
名媛妹妹 2021-01-22 03:25

What I\'m trying to achieve is to make dynamic a series of replacements that have to be performed on a certain field. (To make things even easier, I want in fact to remove data,

3条回答
  •  终归单人心
    2021-01-22 03:44

    You might have to write a scalar function to which you pass the original string, and enough information for it to know which strings to remove, and have it loop through them and return the result of the set of replacements.

提交回复
热议问题