Forum Replies Created

Viewing 15 posts - 241 through 255 (of 521 total)

  • RE: How to calculate the Bi-weekly in SQL

    RBarryYoung (12/30/2008)


    Christian Buettner (12/30/2008)


    The difference according to my tiny theoretical knowledge is that

    a) you separate two or more statements with separators. (A;B;C;)

    b) terminators...

  • RE: How to calculate the Bi-weekly in SQL

    Jeff Moden (12/30/2008)


    BWA-HAA! See why I hate the damned things? You guys are still going on about punctuation marks... :P:hehe:

    Well, you started all this

    !:P

    No, point taken, this discussion...

  • RE: How to calculate the Bi-weekly in SQL

    RBarryYoung (12/29/2008)


    Yes, Microsoft, Wikipedia and lots of other places call it a terminator. The problem is that it does not meet the definition of a terminator that most people...

  • RE: How to calculate the Bi-weekly in SQL

    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...

  • RE: How to calculate the Bi-weekly in SQL

    RBarryYoung (12/28/2008)


    Christian Buettner (12/28/2008)


    The reason they implemented this now is that the WITH has more than one meaning.

    Actually, I doubt that that is the reason, otherwise why would SEND...

  • RE: How to calculate the Bi-weekly in SQL

    Jeff Moden (12/28/2008)


    Christian Buettner (12/28/2008)


    Conventions aid us in that they remove decision processes from us. Instead of having do decide for each statement whether a semicolon is necessary, you just...

  • RE: How to calculate the Bi-weekly in SQL

    RBarryYoung (12/28/2008)


    Christian Buettner (12/28/2008)


    Putting the semicolon in front of the WITH just adds additional confusion.

    This is only true if all of the other SQL statements in the same procedure or...

  • RE: How to calculate the Bi-weekly in SQL

    Hi RBarryYoung,

    Why do you think it is not a statement terminator?

    ;

    Transact-SQL statement terminator.Although the semicolon is not required for most statements in this version of SQL Server, it will...

  • RE: How to calculate the Bi-weekly in SQL

    Jeffrey Williams (12/28/2008)


    Christian - the semi-colon is required before a CTE WITH statement. I personally prefer prefixing the WITH instead of relying upon the previous statement ending with a...

  • RE: How to calculate the Bi-weekly in SQL

    Jeff Moden (12/28/2008)


    Thanks, Chris. Yeah, I know it looks unusual... WITH is the only place where a semi-colon is actually required before something and since I don't use semi-colons...

  • RE: RAID 1 vs. RAID 10

    kendal.vandyke (12/23/2008)


    Lots of great articles on the intertubez about disk alignment and RAID configurations but I haven't found an answer (or a good way to test, and yes I...

  • RE: How to calculate the Bi-weekly in SQL

    Jeff Moden (12/27/2008)


    Just for grins, here's the CTE version without TOP...

    ;WITH

    cteTally AS

    (

    SELECT ROW_NUMBER() OVER (ORDER BY ID)-1 AS N

    FROM Master.sys.SysColumns

    )

    SELECT DATEADD(dd,(t.n)*14,'20090102') AS BiFriday

    ...

  • RE: add business days to a date

    Marc (12/23/2008)


    Thanks Jack and Jeffrey for all your help!

    I believe this is what I need.

    Happy Holidays,

    Marc

    Are you sure? As mentioned before by others, you probably need a calendar table that...

  • RE: Indexes

    Hi Scott,

    As mentioned before, we assume that the documentation is bad.

    But your opinon drew me in the other direction:

    If the indexed view is indeed an index, then it should not...

  • RE: Indexes

    I agree with Hugo.

    I would rather call it a view-index if we are referring to the index itself.

    But blame it on MS and their documentation / naming 😛

Viewing 15 posts - 241 through 255 (of 521 total)