How to calculate the Bi-weekly in SQL

  • Christian Buettner (12/29/2008)


    RBarryYoung (12/29/2008)


    Christian Buettner (12/29/2008)


    Hi RBarryYoung,

    Why do you think it is not a statement terminator?

    Still waiting for your response to my question:

    RBarryYoung (12/28/2008)


    Christian Buettner (12/28/2008)


    I might be nitpicking here again, but the semicolon is required after the preceding statement, not before the WITH statement.

    Of course the end result is a semicolon between the two statements, but I want to emphasize again that the semicolon ENDs a statement and does not START a statement.

    Ah, and can you describe what the difference is between these two things?

    🙂

    I am not sure what your intention is here, but the difference is where the terminator is located.

    Just like you end questions with a questionmark. Or would you start sentences after a question with a question mark like this

    ?Looks odd, doesn't it ?

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

  • RBarryYoung (12/31/2008)


    Christian Buettner (12/29/2008)


    RBarryYoung (12/29/2008)


    Christian Buettner (12/29/2008)


    Hi RBarryYoung,

    Why do you think it is not a statement terminator?

    Still waiting for your response to my question:

    RBarryYoung (12/28/2008)


    Christian Buettner (12/28/2008)


    I might be nitpicking here again, but the semicolon is required after the preceding statement, not before the WITH statement.

    Of course the end result is a semicolon between the two statements, but I want to emphasize again that the semicolon ENDs a statement and does not START a statement.

    Ah, and can you describe what the difference is between these two things?

    🙂

    I am not sure what your intention is here, but the difference is where the terminator is located.

    Just like you end questions with a questionmark. Or would you start sentences after a question with a question mark like this

    ?Looks odd, doesn't it ?

    Sorry, I still don't get it. My intention here was to explain that a terminator ENDs (or call it TERMINATEs) a statement opposed to STARTing the statement. It was by no means meant to be the definition of a terminator or to compare it against a separator. And if you mean the part where I say that the "difference is where the terminator is located", then this is just again not a definition. It is an explanation of why you position something that ENDs something differently than something that STARTs something. It is "common sense" or at least I hoped it was.

    I know I did want to stop the discussion on this topic before, but It really hurts being accused of being unfair.

    Happy New Year by the way.

    Best Regards,

    Chris Büttner

  • This thread is amazing; there hasn’t been an on-topic post since Sunday but it just keeps on going. :exclamationmark:

  • Good golly, are we still doing this?

    Christian Buettner (1/1/2009)


    ...I know I did want to stop the discussion on this topic before, but It really hurts being accused of being unfair.

    Me too, so please allow me to apologize for any offense, none was intended.

    Happy New Year by the way.

    Likewise. 🙂

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

  • Man-o-man... I trully hope no one got any feelings hurt... it was all a bit of fun to watch.

    Happy New Year, folks! Better times are coming!

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
    "Change is inevitable... change for the better is not".

    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)
    Intro to Tally Tables and Functions

Viewing 5 posts - 46 through 49 (of 49 total)

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