That case filter

  • They learn that an empty bag of beans contains 0 beans.

    And kids in Australia learn pretty young the futility of trying to count the number of beans in a non-existent bag.

    If I hand you a box and ask "How many beans in this bag?", which answer is more correct: "There are no beans in that bag", "There are no beans in that box", or "That is a box, not a bag"?

    ROSCO

  • BenWard (7/27/2011)


    I know rowcount would have returned 5, my point was that Microsoft's developers themselves consider no results grid to equal 0 rows not null rows.

    And my point was that if the question had been "What do Microsoft's developers consider to be the number of rows returned by this query?" the answer 0 may have been more correct. But that was not the question.

    ROSCO

  • good one. but confusing

    Thanks
    Vinay Kumar
    -----------------------------------------------------------------
    Keep Learning - Keep Growing !!!

  • Danny Ocean (8/3/2011)


    good one. but confusing

    Glad it made you think... enjoyed the brain work out?

  • I think I misunderstood the question on this one. I ran the code and got 5 rows affected message so chose 5 as the answer.

Viewing 5 posts - 196 through 200 (of 200 total)

You must be logged in to reply to this topic. Login to reply