Forum Replies Created

Viewing 15 posts - 196 through 210 (of 388 total)

  • RE: Linking to the Previous Row

    Sorry Doc...I meant that specifically the different approaches to the "previous / next row" problem haven't been compared side by side.

    As for Paul's Apply articles, I have read...

  • RE: Linking to the Previous Row

    Thanks Chris...I guess it could be analogous to a non-equi join or a cross join with a where clause, but I remain somehow unconvinced and I'd still like to see...

  • RE: Linking to the Previous Row

    Alistair,

    Just looking at it, I'd tend to agree with you. While I agree with the assertion that the CTE approach can't benefit from indexes (there are none), I'd be...

  • RE: The HierarchyID Datatype in SQL Server 2008

    Excellent article...pitched just right for me. Like some of the other readers, I found that it required a little effort to understand, but that was to do with the...

  • RE: Linking to the Previous Row

    alistairgthomas (11/11/2010)


    OK, confession time. Reading Charles' Outer Apply suggestion I can't see why this isn't a RBAR solution. Doesn't the Outer Apply do exactly what a subquery of the type...

  • RE: How to Compare Rows within Partitioned Sets to Find Overlapping Dates

    Shouldn't you have a LEFT JOIN rather than an INNER JOIN?

  • RE: Create XMl using for XML Path

    The xml you are trying to create isn't valid.

    You are on the right lines with your sql xml, but the problem is with your target.

    <Is>

    ...

  • RE: Sending scheduled SQL query results via HTML e-mail using SSIS

    Jeff Moden (9/4/2010)


    And did you see the size of the style sheet that was posted on this thread?....The addition of a style sheet in the discussion made it...

  • RE: Linking to the Previous Row

    Hi Liya (aka anudata!),

    Given the volumes of data involved, I suggest you get familiar with the other approaches available in tackling this problem. If you leaf through the discussion...

  • RE: Linking to the Previous Row

    anudata...first point is that a lot of people won't answer your post because you haven't made the effort to script the data.

    Look at how Eric did it above....

  • RE: Rating Bugs

    Protecting reputation is extremely important. The michigan example reminds me of an incident a couple of years ago where EUROSTAT, the European institution charged with providing statistics about everything,...

  • RE: Linking to the Previous Row

    charles.gildawie (8/20/2010)


    It's a good introduction for ROW_NUMBER but the query plan it generates is a little horrible. I wouldn't recommend ROW_NUMBER() for this task.

    With the ROW_NUMBER() approach you can't use...

  • RE: Feedback for IT

    Couldn't agree more, Steve.

    Two personalities in the SQL world, I'd most like to meet. Steve and Steve's wife!

    In France, where I live, (and I wouldn't be surprised if it...

  • RE: 1NF View Generator

    David McKinney (7/9/2010)


    Thanks Mark,

    Interesting idea and implementation. I think it's a pity you didn't put a little more text around it, add an example and submit it as an...

  • RE: 1NF View Generator

    Thanks Mark,

    Interesting idea and implementation. I think it's a pity you didn't put a little more text around it, add an example and submit it as an article rather...

Viewing 15 posts - 196 through 210 (of 388 total)