This blog shows how to get the last n values starting count from the Right most character using RIGHT function in SQL
Example:
SELECT RIGHT('this is a sample for the RIGHT function', 10)
The expected result would be "'T function"
SQL Server Transact Basic to Expert - Using String Function Get Right most n values
SQL Server Transact Basic to Expert - Using String Function Get Right most n values


Join the conversation! Your thoughts help the community grow.