Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: When will the next 13th fall on a Friday?

    Nigel,

    Yes, your tally approach is much faster. 100 ms vs 1400 ms on my machine.

    Thanks,

    Bill

  • RE: When will the next 13th fall on a Friday?

    I agree with Rimvydas' approach.

    And for performance concerns on CTEs on this particular problem, this gives all the years from 1753 to 9999 that have 3 Friday the thirteenths. ...

  • RE: Linking to the Previous Row

    slange (1/23/2009)


    Bill Coale (3/13/2008)


    Also truncate to midnight the start/end date and any date comparisons to the range

    I handle the end date solution a little differently....

    Yes, and I'm looking forward to...

  • RE: Linking to the Previous Row

    For this date range technique, for the end date:

    nextrow.PriceStartDate AS EndDate

    I usually do:

    dateadd(day, -1, nextrow.PriceStartDate) AS EndDate

    Also truncate to midnight the start/end date and any date comparisons to the...

  • RE: Newsletter Changes

    Your changes and alternatives to instead RSS stream the forums make sense.

    I only read the the direct hyperlinks in the "In this Issue" section, namely:

    Featured Articles, Editorial, and Featured...

Viewing 5 posts - 1 through 5 (of 5 total)