In TSQL create code that determines if the passed in string is apalindrome. A refresher on what a palindrome is can be foundat:
A number of test scenarios can be found at:
For this assignment, you will declare a variable and set it toyour test string. Your output should look like the following:
“The string <your string goeshere> is/is not a palindrome”.
You cannot use the built in REVERSE() functionfor this assignment. Your code should exclude or consider anythingthat is not a number or alphabetic character. This would include(but not limited to) commas, periods, dashes, quotation marks,special characters, and carriage returns.