Forum Replies Created

Viewing 15 posts - 16 through 30 (of 65 total)

  • RE: Risks of NOLOCK, part 2

    Hi Hugo - I got all four of these (surprise, surprise)... 😎

    Like any tool, you should understand what it does before you use it...

  • RE: Risks of NOLOCK, part 1

    serge 65885 (11/2/2015)


    I would just say that queries with nolock have a tendency to return "funny" results on already committed rows, so I would never call nolock as being...

  • RE: Risks of NOLOCK, part 1

    I got the three primary issues right, but missed the performance one. I would be surprised if the performance difference was as high as 1-2% and I suspect it...

  • RE: Masking Data

    I work in Public Safety (i.e., law enforcement) and we needed to be able to do support work for some large customers where the actual size of the data AND...

  • RE: Positive or Negative

    Jeff Moden (10/28/2015)


    As for the reason why some systems use -1 for true, it's because -1 sets all bits in a byte to "1" including the sign bit. 0...

  • RE: DELETE syntax - jus checking in..

    Jeff Moden (10/26/2015)


    I'll just bet they didn't send you a check for finding such a problem either. 😀

    True that... 🙁

  • RE: DELETE syntax - jus checking in..

    Jeff Moden (10/25/2015)


    [font="Arial Black"]The reason why I'm so interested in this is because it HAS happened before.[/font] I believe it was post 2000 SP2 but SQL Server ignored a...

  • RE: Positive or Negative

    SQLBill (10/26/2015)


    IMO, databases/tables/columns, need to be designed based on what information you want to get out of it. Then you determine what information needs to go into it.

    -SQLBill

    Absolutely correct!...

  • RE: Positive or Negative

    Jeff Moden (10/24/2015)


    +1000 to the date thing, Kim. I've to often seen a (simplified for sure) "StartDate" and "EndDate" that's also accompanied by an "IsActive" column which "IsInsane" to...

  • RE: Positive or Negative

    If this is a simple attribute which is rarely to be used as a key filter in queries, then I prefer the "IsActive" approach.

    However, if this "IsActive" column is to...

  • RE: Deleting large batches of rows - optimum batch size?

    Eric M Russell (10/20/2015)


    Why import it into SQL Server, rather than staging the records to flat files which can be archived or deleted when no longer needed?

    The database tables are...

  • RE: Deleting large batches of rows - optimum batch size?

    Eric M Russell (10/19/2015)


    it's indicative of poor ETL processing or poor data modeling. I mean, why insert something and then delete it?

    We have interfaces with other systems where data is...

  • RE: Deleting large batches of rows - optimum batch size?

    Thanks for all the replies. A couple of observations/comments.

    Absolutely agree with the WAITFOR breaks. When doing a lot of transactions, I always insert these to avoid getting to...

  • RE: Creating Clustered index on a large table

    Jeff Moden (10/17/2015)It's no wonder C-Level types think they don't need a DBA.

    But doesn't Microsoft sell SQL Server against Oracle by telling everyone they don't need a DBA with SQL...

  • RE: Temp Table's Primary Key Default

    I should have been clearer - I would recommend creating BOTH indexes in either of the two sets, not just one or the other. Because the query has two...

Viewing 15 posts - 16 through 30 (of 65 total)