I have a table of names, that have been converted to upper/lower case but suffixes like II, III, and IV got converted to Ii, Iii and Iv.
So for example,
select REPLACE(name,' iv',' IV') from Person where name like '% iv'
fixes the one with suffix "IV"
as I think that makes it easier to "add more", or rearrange the order (if that turns out to be important) over time.
Note that those REPLACEs will ALSO change "Ivan" to "IVan", and so on. You might be able to improve on that by adding a prefix space, but there is still a risk that matches something within the NameField
if the suffixes are always at the end of the string? then you could probably further "ring-fence" the replacements like this:
Replace(Replace(Replace(Replace(
NameField+'~' --- where "~" is a character which does NOT occur anywhere in the NameField
, ' iv~', ' IV~')
, ' ii~', ' II~')
, ' iii~', ' III~')
, '~', '')