Monday, January 26, 2015

RIGHT() function in SQL Server

Right():- This function returns the specified number of characters from the Right part of the given character string.


 Select RIGHT ( character_expression , integer_expression )

 For example, the below query will return two characters from the last.

 Select RIGHT('Vivek',2) 



No comments:

Post a Comment

Post a Comment