Forum Replies Created

Viewing 15 posts - 31 through 45 (of 702 total)

  • RE: Creating Tables

    Hugo Kornelis (2/11/2013)


    . . . . The option "Only the 1st and 3rd statement will succeed but no rows will be returned", though technically not 100% accurate (as the 4th...

  • RE: Basic Date Function

    Revenant (2/13/2013)


    Michael Riemer (2/13/2013)


    +1 to the above points.

    Great question as far as idea and content goes, but needs clarification as to where you are in the world!!

    +1

    (plus one to this...

  • RE: Basic Date Function

    Koen Verbeeck (2/13/2013)


    This question could've been better if the question asker realized there are more than one countries in the world.

    It looks to me as though a lot of the...

  • RE: Are the posted questions getting worse?

    RBarryYoung (2/8/2013)


    Revenant (2/8/2013)

    Lynn, remember the bell curve: in any situation 50 percent of the involved are below the average, and 5 percent are on the tail end. That's how normal...

  • RE: Basic maths - operator precedence

    Hugo Kornelis (2/6/2013)


    Dineshbabu (2/6/2013)


    But you steal some of my time by making me to sit and calculate each and every statement..:-) .

    You could have saved that time. I just checked...

  • RE: Type conversions and Nulls

    Olga B (2/5/2013)


    Well, the good news is, I got NULLs down pat. The less good news is, I didn't even stop to think about type precedence.

    Conclusion - time for...

  • RE: Oops! SQL column swap or SQL column clobber?

    Gazareth (2/1/2013)


    Raghavendra Mudugal (2/1/2013)


    Dineshbabu (1/31/2013)


    Actually I'm unable to understand the comments and answers properly. Problem is with the word "CLOBBER".....

    Same here but after checking this http://en.wikipedia.org/wiki/Clobbering, it kind of eased...

  • RE: How can we calculate Age of employee?

    Looks to me as though whenever "today's" date has a month later in the year than the birthday and a day-of-month smaller than the day part of the birthday, the...

  • RE: Are the posted questions getting worse?

    Am waiting with bated breath to see if "Saint" Lynn lives up to his kind and understanding reputation. Someone stumbled on an old QOD thread about calculating a...

  • RE: BIT data type

    Excellent question. I speculate that Output 2 drew the most wrong answers due to its double-negative ("not exists ... is not null").

  • RE: Are the posted questions getting worse?

    SQLRNNR (1/18/2013)


    Lowell (1/18/2013)


    Brandie Tarvin (1/18/2013)


    All we need is an actual Go Faster flag for the database, and everything will be FINE.

    got your fix right here:

    I need one of those

    Funny thing...

  • RE: Precedence in math

    call.copse (1/10/2013)


    While it does appear to just test basic maths, I'd argue that doing an example without brackets is just annoying, and I'd be pretty displeased if debugging someone's SQL...

  • RE: Talking baseball

    Craig Biggio belongs.

    He was for his time my favorite non-Giant to watch. A catcher who could run, he made the All-star team at that position in 1991. ...

  • RE: Coalesce and Conversion

    How annoying. You made me think! 😉

    I agree this was an excellent question and explanation. I do see that one minor correction could be needed to...

  • RE: Finding New Years Eve

    Or, since Nigel has led us outside the box....

    Select convert(datetime, rtrim(Datepart(year,getdate())-1)+'-12-31')

    Yeah, I cheat by using rtrim() as a quickly coded forced conversion to a string.

Viewing 15 posts - 31 through 45 (of 702 total)