ASCII Character Groups in String

  • Bill Talada

    SSChampion

    Points: 11956

    Comments posted to this topic are about the item ASCII Character Groups in String

  • Ken Hiatt

    SSC-Addicted

    Points: 431

    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.

  • akljfhnlaflkj

    SSC Guru

    Points: 76202

    Thanks for the script.

  • Bill Talada

    SSChampion

    Points: 11956

    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 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply