SQL Server Transact Basic to Expert - Using String Function Get Right most n values

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"
Ebook Download
View all
Learn
View all