Viewing 3 posts - 1 through 3 (of 3 total)
Literally just the way it's presented in the question. Either with a scalar function, or in a longer script with a pre-built table of replacements.
April 19, 2022 at 12:38 pm
#4018566
That's really very clever. I can see making some code much cleaner using this instead of nested REPLACE operators.
April 18, 2022 at 12:24 pm
#4017955
How many of us had SSMS open in front of them when they read this question? I knew the answer, but I wondered if right-clicking the query window had a...
January 10, 2020 at 2:30 pm
#3714368