This works with the current year. You can replace getdate() with the year you want to manipulate.
select replace(reverse(substring(reverse(MyConcatenatedField),4,len(MyConcatenatedField))),cast(year(getdate()) as varchar),
'|'+cast(year(getdate()) as varchar))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.