Forum Replies Created

Viewing 15 posts - 3,196 through 3,210 (of 7,484 total)

  • RE: SQL Server Tables

    PHYData DBA (8/27/2013)


    Nice easy question... I always wondered why you can have a Primary Key on a heap and its still a heap if there is no clustered index on...

  • RE: SQL Server Tables

    While I wouldn't go quite as far as Jason and say the question is incorrect, and I do with Hugo that the explanation is misleading and awful, but that the...

  • RE: How to return list of all courses for which a student meets all the prerequisites.

    You have something close to the core of it there, because something like the subquery in the EXISTS expression is a good starting point. But it's going to print...

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (8/26/2013)


    SQLRNNR (8/26/2013)


    GilaMonster (8/26/2013)


    33 slides for 3 hours. Should be enough.

    With that many slides you could easily stretch it into an 8hr preso :hehe::w00t:

    33 slides is...

  • RE: Are the posted questions getting worse?

    GilaMonster (8/26/2013)


    So the current list is:

    No need to index small tables

    No need to index tables that fit into memory

    Indexes enforce physical order of data

    Seeks are better than scans

    Clustered index seek/scan...

  • RE: Transaction Trio

    Thomas Abraham (8/26/2013)


    Jeff.MSSqlSage (8/26/2013)


    Thomas Abraham (8/26/2013)


    Thanks for the Monday question. I was happy to begin the week with a question that didn't start with "When can normalising ...". 🙂

    As for...

  • RE: FK vs Check Constraint for Lookup/Reference Tables

    If the status really is just an attribute of the main item rather than a separate entity that is related to it, the restriction on the set of values is...

  • RE: Normal Forms and Data Integrity

    Hugo Kornelis (8/26/2013)


    Hi Tom,

    I just wasted two hours typing a long reply to your message, then forgetting to do a copy/paste before posting. I really hate this site at times...

  • RE: SQL SERVER Subquery Error

    Erland Sommarskog (8/25/2013)


    The nice thing here is that the optimizer will add a startup expression, only one of the CONTAINS queries will be executed.

    But is that just what currently...

  • RE: Transaction Trio

    Good question, and really terrific reference. That page should debunk many widely believed myths and isn't propagating any, which is quite unusual for a page that talks about the...

  • RE: FK vs Check Constraint for Lookup/Reference Tables

    I imagine that calling that multi-line UDF for each update/insert operation on the table will be a pretty horrifying overhead, but it's easy enough to rewrite it as a...

  • RE: Physical Security

    Yes, we should try to get our offices, server rooms, and so on up to a high standard of physical security.

    But something far more important for us to...

  • RE: Performance difference between using a transaction and not using a transaction

    Jan Arnoldus (8/24/2013)


    Hi Jeff,

    We did this test to check the overall response time on high number of consecutively updates, which is similar to the pattern the table is used...

  • RE: Another Duplicate removal question

    If you like using aggregates (all those MINs suggest that) and are not too concerned by the idea of using two queries instead of one, and that "having the most...

  • RE: SQL SERVER Subquery Error

    Presumably you are using IN rather than = because you want all the documents that satisfy the condition in the cases where there are more than one. But CASE...

Viewing 15 posts - 3,196 through 3,210 (of 7,484 total)