Forum Replies Created

Viewing 15 posts - 121 through 135 (of 703 total)

  • RE: Indexes

    This one looked familiar. Back in January, we were asked how many indexes could be applied to a SQL2005 table. Thanks for the reminder, not so much what...

  • RE: Elementary Key Attributes

    hodgy (10/5/2011)


    Ah, I was researching elemenTARTY keys, probably why I got it wrong 😉

    I saw that too and looked for one of the choices to be "A must equal a...

  • RE: Talking baseball

    Ed.Watson (10/4/2011)


    Markus (10/4/2011)


    Ed.Watson (10/4/2011)


    Upton needs to stop getting picked off stealing.

    scolded if you get caught... hero if you steal and score the winning run. He was trying to be...

  • RE: Table variable vs temp table

    Fantastic QOD. Thank you!

    For ease of reading here are what I considered the salient points in the MSDN posting. First, the important difference between table variables and temp tables:

    While...

  • RE: summing the sum of 2 colums

    Oh. Now I see what you meant by "duplicates". Yeah, a better way to have details and subtotals would probably be to have two SELECT statements, one for details and...

  • RE: summing the sum of 2 colums

    I'm glad to hear you have something that works for you. The "extra" NULLS in the result set could be made more understandable by adding GROUPING() functions to the...

  • RE: summing the sum of 2 colums

    I (and others, I'm sure) would rather not guess. Post the failing code so folks can give a crack at finding the problem.

  • RE: summing the sum of 2 colums

    1. To sum the sums, it's a lot simpler to sum the sum of each row. In other words, instead of trying to add CheckTotal and CashTotal, you could...

  • RE: Talking baseball

    Now that my Giants are out of it, I find myself rooting for St. Louis. Had to feel the Cubs fans's pain Saturday, though, when Marmol took the hill...

  • RE: Question variable substritution

    Gianluca's right about this in that variable substitution doesn't work here. Made me think about why. Let's look at the code that failed. It defines local variable...

  • RE: Database Mirroring Modes

    Woo-Hoo! Should I be proud of myself as a developer (not a DBA) who knew this one without having to look it up? Yes, developers should know the...

  • RE: Odd men out

    dallas13 (9/6/2011)


    Not a very good question. We might not be aware of all these names, no matter how old we are.

    Actually, I appreciate the question in that it made me...

  • RE: Odd men out

    My guess would be that most people who missed this one, like me, didn't read the question carefully. If I'd paid attention to the "Choose Two" admonition, I'd have...

  • RE: Fun(?) with DATETIME2

    That's a great post, Tom, showing examples of the variety in calendar usage. It's truly fascinating in a way that appeals to my inner "geek". It also provides a...

  • RE: Talking baseball

    Ray K (8/10/2011)


    This thread is too quiet. Time to stir the pot.

    How about . . . hmmmm thinkthinkthink . . . I dunno -- what ballpark has...

Viewing 15 posts - 121 through 135 (of 703 total)