how to reverse a string in sql without using reverse function

join shbcf.ru