替換

句法:

REPLACE( 字串搜尋 , 字串搜尋並替換 , 字串放入原始字串 )

例:

SELECT REPLACE( 'Peter Steve Tom', 'Steve', 'Billy' ) --Return Values: Peter Billy Tom