Comments posted to this topic are about the item ASCII Character Groups in String
What's the reasoning behind using the IF... GOTO Next; instead of using a Case statement?
I'm assuming the Case would execute faster, but regardless, I think it would be easier to follow.
I learned way back in 1981 in computer class, working on a statistics program for the football team, (written in BASIC) that the GOTO statement easily lead to nightmarish code, and that they are generally very easy to avoid, as in this case.
Thanks for the script.
There was no CASE statement in sql server 2005. All my GOTOs jump to the same place. I'm not one to discard any command or specialty tool although I agree the GOTOs of the '80s were excessive.
Please feel free to offer updated versions of anything I do online.
Viewing 4 posts - 1 through 3 (of 3 total)