Sql server reverse function | ASPMANTRA | Asp.Net,MVC,AngularJs,Jquery,Javascript,Sql Server AND WCF 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

Post a Comment

[blogger]

MKRdezign

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget