Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

string transformation

Status
Not open for further replies.

cgj

IS-IT--Management
May 21, 2001
4
US
I am looking to manipulate a string through that is used in a stored procedure so that it is inverted (eg abcdef becomes cdbeaf). Is there a SQL string function to tranform the string in this way?

Thanks!
cgj
 
But doesn't that just literally reverse the string and not invert it?
Thanks for your help!
 
Sorry, I didn't read your example carefully enough. The only definition of "inverse string" that I've seen is "the original string read backwards" which REVERSE does.

I'm unaware of any function that does what you want. What is the algorithm? You should be able to write a function or T-SQL code if the algorithm is known. Terry

;-) I never worry about the future. It comes soon enough. -Albert Einstein

SQL Article links:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top