I\'m trying to find out the best practice when removing characters from the start of a string.
In some languages, you can use MID without a length parameter however, in
Well, the first is more expressive of your intent. The last is clearly messy (hard-coded length etc). I doubt you'd find much performance difference between the first & second, so I'd use the simplest - RIGHT
.
Of course, if you are doing this lots, you could write a udf that encapsulates this - then if you change your mind you only have one place to change...