REPLACE ( string_expression , string_pattern , string_replacement ) ... 其中一個輸入引數是nvarchar 資料類型,便傳回nvarchar;否則,REPLACE 會傳回varchar。
msdn.microsoft.com