Nested Break

  • mwpowellhtx

    Old Hand

    Points: 356

    ZZartin (3/17/2015)


    So was this a question on why single character variable names @i and @j-2 are terrible choices?

    No, but it is bad practice not to alias the result columns 🙂

  • Eric M Russell

    SSC Guru

    Points: 125100

    This would be an excellent interview question for those situations where someone has a personal grudge against the candidate. :crazy:

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • x

    SSC-Insane

    Points: 23593

    ZZartin (3/17/2015)


    So was this a question on why single character variable names @i and @j-2 are terrible choices?

    Ok lets see your choice for variable names!

  • mwpowellhtx

    Old Hand

    Points: 356

    patrickmcginnis59 10839 (3/17/2015)


    ZZartin (3/17/2015)


    So was this a question on why single character variable names @i and @j-2 are terrible choices?

    Ok lets see your choice for variable names!

    given the execution of the script as-is, it wasn't the names of the variables, it was the lack of aliases. 😉

  • x

    SSC-Insane

    Points: 23593

    mwpowellhtx (3/17/2015)


    patrickmcginnis59 10839 (3/17/2015)


    ZZartin (3/17/2015)


    So was this a question on why single character variable names @i and @j-2 are terrible choices?

    Ok lets see your choice for variable names!

    given the execution of the script as-is, it wasn't the names of the variables, it was the lack of aliases. 😉

    Ok lets see the aliases too! :hehe::hehe::hehe:

  • TomThomson

    SSC Guru

    Points: 104773

    Koen Verbeeck (3/17/2015)


    Easy one and a bit of a déjà vu as well.

    Thanks Steve for the question.

    Yes easy, and yes, very much déjà vu - it's pretty much the same question as 13 days ago, just minimal difference.

    Tom

  • twin.devil

    SSC-Insane

    Points: 22208

    nice question. Thanks for sharing

Viewing 7 posts - 16 through 22 (of 22 total)

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