How to take last four characters from a varchar? December 11, 2022 by Tarik Right should do: select RIGHT('abcdeffff',4)