Sql server reverse function - Free Asp.Net,MVC,AngularJs,Jquery,Javascript,Sql Server,WCF,Entity framework snippets and tutorial

Sql server reverse function

In this article I am going to explain the Sql server’s reverse function.


Description:
Sql server Reverse function used to get reverse order of string value.

Syntax:
reverse ( string_expression ) 

Example 1:
Select reverse('articlemirror')

Example 2:
Select reverse('123456789')

Example 3:
declare @city varchar(50) ='Chandigarh'
select reverse(@city) as 'Reversed Name'

Output:

Sql server reverse function

What do you think about this article?

If you found this article useful, please share and follow on Facebook, Twitter, Google Plus and other social media websites. To get free updates subscribe to newsletter. Please put your thoughts and feedback in comments section.

Share this

Share on FacebookTweet on TwitterPlus on Google+


EmoticonEmoticon