Skip to content

替换

REPLACE(base_string, substring_to_remove, string_to_substitute)

用指定的子字符串替换所有出现的地方与替代字符串。

例如:

REPLACE('hello world', 'hello' 'hi') =='hi world'