Result: 'trimang.com.'
SELECT RIGHT('TipsMake.com', 4);
Result: '.com'
SELECT RIGHT('Quan Tri Mang', 9);
Result: 'Tri Mang '
SELECT RIGHT('Quan Tri Mang', 100);
Result: 'Quan Tri Mang '
Previous article: REPLACE function in SQL Server
Next article: RTRIM function in SQL Server