In
this article I am going to explain the Sql server’s reverse function.
In
previous article I have explained how to create chart using Google chart API inMVC, how to create multiselect dropdown with checkbox using Bootstrapmultiselect Jquery plugin and how to populate and validate the Dropdowncheckboxcustom control in asp.net.
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:
No comments:
Post a Comment