Arumugam Commented 3 Years ago through
Blogs
Something else with the Recursive Replacement, which can be encapsulated in a function.
; WITH RecReplacer AS
(Select 1 as idx, CAST(' '+ @Proper_String AS VARCHAR(MAX)) As String , CHAR(65) q, CHAR(97) w
union all
select idx + 1, REPLACE(String...