Forum Replies Created

Viewing 15 posts - 4,021 through 4,035 (of 6,026 total)

  • RE: Common Mistakes

    Chris Harshman (3/24/2015)


    Eric M Russell (3/20/2015)

    Yes, I do that sometimes, but the catch is that it has to be a 'persisted' computed column. Adding these persisted columns to an existing...

  • RE: Common Mistakes

    Chris Harshman (3/24/2015)


    Iwas Bornready (3/24/2015)


    What I often see is this. A programmer goes in to fix a problem, finds the source of the problem and fixes it. Done. But wait,...

  • RE: Common Mistakes

    Jeff Moden (3/22/2015)


    Eric M Russell (3/20/2015)


    Chris Harshman (3/20/2015)


    Eric M Russell (3/20/2015)


    One thing that SQL Server could use is function based indexes, so we can index on something like CAST(SALESDATE AS...

  • RE: query required

    Rename the table and see how many users complain. 🙂

    Or use an extended event trace. Either way, it's not something you want to be counting 24x7. I assume you just...

  • RE: Are There That Many GUIDs?

    Toby Harman (3/23/2015)


    ...

    One area which no-one has mentioned (that I saw) was that using GUIDs as the clustered key can avoid hot-spots when adding a lot of data. The random...

  • RE: First Episodes

    below86 (3/23/2015)


    Eric M Russell (3/23/2015)


    below86 (3/23/2015)


    Eric M Russell (3/23/2015)


    No has even attempted a reboot of B. J. and the Bear.

    I loved that show.

    I ran into this same issue...

  • RE: Incremental Load

    Phil Parkin (3/23/2015)


    Eric M Russell (3/23/2015)


    abhas (3/23/2015)


    DATE_MODIFIED column is there.

    If DATE_MODIFIED is populated when the row is initially inserted, and it's updated consistently by the application, and it's indexed,...

  • RE: Incremental Load

    Koen Verbeeck (3/23/2015)


    Eric M Russell (3/23/2015)


    abhas (3/23/2015)


    DATE_MODIFIED column is there.

    If DATE_MODIFIED is populated when the row is initially inserted, and it's updated consistently by the application, and it's indexed,...

  • RE: First Episodes

    below86 (3/23/2015)


    Eric M Russell (3/23/2015)


    No has even attempted a reboot of B. J. and the Bear.

    I loved that show.

    I ran into this same issue with a couple movies....

  • RE: Incremental Load

    abhas (3/23/2015)


    DATE_MODIFIED column is there.

    If DATE_MODIFIED is populated when the row is initially inserted, and it's updated consistently by the application, and it's indexed, then that's ideal. You may...

  • RE: First Episodes

    No has even attempted a reboot of B. J. and the Bear.

  • RE: Common Mistakes

    Charles Kincaid (3/20/2015)


    Knut Boehnert (3/20/2015)


    #1 No documentation

    ...

    #2 Incomplete documentation

    ...

    #3 Inadequate documentation

    ...

    I'm working on a tool to help with this right now. First release is targeted for April.

    Don't forget the...

  • RE: Common Mistakes

    Chris Harshman (3/20/2015)


    Eric M Russell (3/20/2015)


    One thing that SQL Server could use is function based indexes, so we can index on something like CAST(SALESDATE AS DATE) or even PRODUCTDESC LIKE...

  • RE: Common Mistakes

    xsevensinzx (3/20/2015)


    Eric M Russell (3/20/2015)


    #5 Inappropriate use of datetime columns. For example SELECT ... WHERE SALESDATE BETWEEN '2015/03/01' AND '2015/03/31'.

    This one is the one I found myself doing...

  • RE: Common Mistakes

    Steve Jones - SSC Editor (3/20/2015)


    CGMChris (3/20/2015)


    What exactly is the "chef problem"? A quick Google search didn't turn up anything seemingly relevant. Or perhaps Steve meant "chief"?

    The chef problem...

Viewing 15 posts - 4,021 through 4,035 (of 6,026 total)