sqlserver 字符串函数

sqlserver 字符串函数

ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.zh-CHS/s10de_6tsql/html/6940a83d-5374-4af3-bb27-5d89c8af83ac.htm

---

REPLACE ( string_expression , string_pattern , string_replacement )

参数

string_expression

要搜索的字符串表达式。string_expression 可以是字符或二进制数据类型。

string_pattern

是要查找的子字符串。string_pattern 可以是字符或二进制数据类型。string_pattern 不能是空字符串 ('')。

string_replacement

替换字符串。string_replacement 可以是字符或二进制数据类型。

返回类型

原文地址:https://www.cnblogs.com/xionda/p/15433315.html