Forum Replies Created

Viewing 15 posts - 121 through 135 (of 2,838 total)

  • RE: Are the posted questions getting worse?

    Just found a surprising test result. Well surprising to me at least.

    Testing on an Azure DS-series "Premium iops" machine. All SSD drives. SQL Server 2014.

    Index rebuild of 1 million records,...

  • RE: Removing Duplicates

    hans.reidt (1/28/2015)


    I do this on tables with > 1.000.000 records

    Something to keep in mind of course, is the number / complexity of indexes.

    A possibility is to disable all indexes, remove...

  • RE: Removing Duplicates

    hans.reidt (1/28/2015)


    My way of working:

    [font="Courier New"]

    BEGIN TRAN

    SELECT DISTINCT *

    INTO #tempTable

    FROM myTable

    TRUNCATE TABLE myTable

    INSERT INTO myTable

    SELECT *

    FROM #tempTable

    COMMIT TRAN

    DROP TABLE #tempTable

    [/font]

    That certainly is a way you can do it,...

  • RE: Are the posted questions getting worse?

    Koen Verbeeck (1/27/2015)


    So it seems the snow blizzard of the century in New York was just a mild breeze?

    Not from what I've heard out of NYC. And here in Boston...

  • RE: Are the posted questions getting worse?

    Jack Corbett (1/26/2015)


    Grant Fritchey (1/26/2015)


    What it's like, at this exact moment, everywhere in Massachusetts.

    That's awesome. Of course, last night I told my wife, "make sure you fill...

  • RE: Are the posted questions getting worse?

    Grant Fritchey (1/23/2015)


    Steve Jones - SSC Editor (1/23/2015)


    Sioban Krzywicki (1/23/2015)


    GilaMonster (1/23/2015)


    I haven't got any clue for a costume. Maybe cheat, buy a green hoodie and go as Arrow (but without...

  • RE: Are the posted questions getting worse?

    I think some people who comment on articles never read past the title.

  • RE: Removing Duplicates

    PHYData DBA (1/23/2015)


    How do you delete a duplicate from a Heap?

    If the table is a true Heap with no PK and the records in every column match you would have...

  • RE: Removing Duplicates

    pmusiej (1/23/2015)


    Hi,

    I some times use cte to delete duplicates. It works fine.

    Paul

    Sure! That's a way you can do it. Want to post some code to share with people? I find...

  • RE: Removing Duplicates

    Jeff Moden (1/23/2015)


    Shankar Walvekar (1/23/2015)


    http://deleteduplicaterecords.blogspot.in/

    You get all answers here

    Why? Sioban's article has all the answers along with reasons why it works.

    Thanks Jeff.

    I feel like I always see someone self-promoting...

  • RE: Are the posted questions getting worse?

    GilaMonster (1/23/2015)


    Luis Cazares (1/22/2015)


    Brandie Tarvin (1/22/2015)


    rodjkidd (1/22/2015)


    Steve Jones - SSC Editor (1/21/2015)


    So....

    What's the superhero costume of choice here? SQL Bits is a month+ away, with the theme of superheroes for...

  • RE: Removing Duplicates

    nicolas_johnson 52979 (1/23/2015)


    Sometimes the easiest way is not the most elegant. When I just have one set of duplicates I select the date, stash it on a nopepad or...

  • RE: Are the posted questions getting worse?

    Grant Fritchey (1/22/2015)


    Sioban Krzywicki (1/22/2015)


    Grant Fritchey (1/22/2015)


    Steve Jones - SSC Editor (1/21/2015)


    So....

    What's the superhero costume of choice here? SQL Bits is a month+ away, with the theme of superheroes for...

  • RE: Are the posted questions getting worse?

    Grant Fritchey (1/22/2015)


    Steve Jones - SSC Editor (1/21/2015)


    So....

    What's the superhero costume of choice here? SQL Bits is a month+ away, with the theme of superheroes for the Friday night party.

    Need...

  • RE: Are the posted questions getting worse?

    rodjkidd (1/22/2015)


    Brandie Tarvin (1/22/2015)


    rodjkidd (1/22/2015)


    Steve Jones - SSC Editor (1/21/2015)


    So....

    What's the superhero costume of choice here? SQL Bits is a month+ away, with the theme of superheroes for the Friday...

Viewing 15 posts - 121 through 135 (of 2,838 total)