Forum Replies Created

Viewing 15 posts - 61 through 75 (of 191 total)

  • RE: BIT Primary Key

    Gotta love a table that will only ever accept one row. 😀

    Ron

  • RE: Matching Missing Field

    Mark Grout (1/17/2013)


    I guess what I'm not getting my head around is, what exactly is that subquery returning?

    (select col1 from TblA2 where TblA1.col2 = TblA2.col2)

    Is it returning TblA1.col1?

    Yes, that is...

  • RE: Matching Missing Field

    I guess what I'm not getting my head around is, what exactly is that subquery returning?

    (select col1 from TblA2 where TblA1.col2 = TblA2.col2)

    Is it returning TblA1.col1? If so that's...

  • RE: TRY...CATCH

    Hugo Kornelis (1/16/2013)


    Trust me, Ron - if it would have worked, you would have been appalled at the (lack of) performance.

    Oh, for sure. I would never have used it...

  • RE: TRY...CATCH

    I just encountered this scenario this past week. The ISDATE() and ISNUMERIC() functions are practically useless when determining whether a string will safely convert to a datetime or numeric...

  • RE: Outer join with condition

    Hugo Kornelis (12/27/2012)


    I'm bad at pictures, so how about a step-by-step description of the query evaluation?

    Ahh... you know, I actually had the mechanics straight, it was the fine details I...

  • RE: Outer join with condition

    Yeah, I'm gonna need someone to draw me a picture for this one. 😉

    ron

  • RE: SET Options - 1

    Toreador (12/14/2012)


    Thanks for the easy question to end the week!

    😉

    Hey, what did I tell you??!!! >>>SMACK<<<

    😀

    ron

  • RE: SET Options - 1

    Really nice question. I even did the research on each option, but somehow missed the line about indexed views. Looks like I need to brush up on my...

  • RE: Aggregates

    Hugo Kornelis (12/6/2012)


    I picked the right answer, but only after thinking about it for a long time - go with Books Online, or go with common sense. So I am...

  • RE: SQL

    I only got it wrong due to confusion over the meaning of the phrase "break the relationship". I took it to mean "sever the relationship" rather than "violate the...

  • RE: Defaults

    Dag-nabbit, that'll teach me to read more carefully. I read it as "how many" and not "which"! Duh. Well at least I got it right in my...

  • RE: While loop 2

    I guess the thing that confuses me is, if the variable @ctr is declared within the try block, and the try block fails, why the variable would even exist to...

  • RE: Tracking Processes

    Is sp_processdetails actually a thing?

    Ron

  • RE: FILTER

    Hugo Kornelis (9/18/2012)


    Double-check the INSERT statements in your code. You have inserted a total of three copies of the (1, 'AB') row; that should be only one.

    Whoops. Copy-paste error...

Viewing 15 posts - 61 through 75 (of 191 total)