How to replace only the last character of a string:
select REPLACE('this is the news with a þ', 'þ', '__')
As a result, I get:
__is is __e news wi__ a __
EDIT Server and database mapping Latin1_General_CI_AS
The actual query I run is REPLACE(note, 'þ', '')
, where note
is the ntext
column. The point is to cut spike characters, because this character is used later in the process as a column delimiter. (Please do not suggest changing the delimiter that just won't happen, considering how much it was used!)
I tried using the N
prefix, even using the select select statement, here are the results:

source share