Forum Replies Created

Viewing 15 posts - 2,221 through 2,235 (of 8,416 total)

  • RE: SELECT TOP

    paul.knibbs (12/29/2010)


    And on the one I just tested it on (SQL 2008 Express Edition) I got 283633. Interestingly, second time I got 915585--seems the outcome is largely random!

    I assume you...

  • RE: SELECT TOP

    WayneS (12/29/2010)


    Just to point out that this code:

    IF EXISTS (SELECT * FROM tempdb..sysobjects WHERE name like '#Customer%')

    DROP TABLE #Customer

    is NOT the proper way to test for the existence of a...

  • RE: Are the posted questions getting worse?

    GSquared (12/28/2010)


    Honestly, the only people I've ever met who weren't "a work in progress", were already dead. 🙂

    You meet dead people? :unsure:

  • RE: SELECT TOP

    mtassin (12/21/2010)


    These days I begin to wonder if the optimizer doesn't just return them in clustered index order when the ORDER BY clause is omitted (and a clustered index is...

  • RE: Sequence

    Oleg Netchaev (12/21/2010)


    For example, the update in question can be easily restated like this:

    Or, even more succinctly:

    WITH Records (Old_Seq, New_Seq)

    AS (

    ...

  • RE: 64 bit

    I think that removing 32bit support from the next version of SQL Server would be a huge technical and marketing mistake, and even long time users would be slower to...

  • RE: Are the posted questions getting worse?

    WayneS (12/26/2010)


    @paul-2 - seems like the worlds been shaking down near you a lot lately... are you okay?

    There have been an unusual number of large quakes in the region recently,...

  • RE: How to get the TableName from within a clr trigger

    Jeff Moden (12/26/2010)


    I'm curious... what does such a trigger do?

    The idea is usually to write a CLR trigger which can be attached to many objects, auditing the same information for...

  • RE: Can I tune this?

    TheSQLGuru (12/23/2010)


    Bummer is that the optimal index is essentially another copy of the table, which could be large given that it is a DW fact table and also gum up...

  • RE: Are the posted questions getting worse?

    GilaMonster (12/22/2010)


    :w00t:

    Exciting isn't it!

    GilaMonster (12/22/2010)


    It's funny, most of the posts on my blog are related to performance (execution plans, indexes, T-SQL performance comparisons or concerns). So what's one of the...

  • RE: 64 bit

    Revenant (12/22/2010)


    We develop for 16-to-32 GB 64 bit Enterprise on 8 GB workstations that are running 64 bit Developer. If you are developing under 32 bits for a 64 bits...

  • RE: Displaying tables/columns with table names as "column header" and column names in rows

    jteeter (12/22/2010)


    Thanks Peter. I knew a simple solution was out there, I just couldn't visualize it how to pivot it appropriately. As to other tools, for a product...

  • RE: Are the posted questions getting worse?

    Gail is the subject of the 10th day of SQL:

    http://crysmanson.com/2010/12/22/on-the-10th-day-of-sql/

  • RE: Displaying tables/columns with table names as "column header" and column names in rows

    Peter Brinkhaus (12/22/2010)


    Anyway, here's an alternative...

    Definitely counts as elegant in my book. 🙂

  • RE: Can I tune this?

    As a regular Top-N-Per-Group problem, we can also write it using a ranking function:

    SELECT fcvsq.CoverageKey,

    fcvsq.SourceKey,

    ...

Viewing 15 posts - 2,221 through 2,235 (of 8,416 total)