Bad Error Handling

  • Comments posted to this topic are about the item Bad Error Handling

  • Great question (albeit a tad nefarious!)

    And this is precisely why both semi-colons and AS for aliases should always be used!


    Just because you're right doesn't mean everybody else is wrong.

  • Nice (and sneaky) one, thanks Steve.

    ____________________________________________
    Space, the final frontier? not any more...
    All limits henceforth are self-imposed.
    “libera tute vulgaris ex”

  • Very sneaky. And even worse, it leaves an open transaction! Please put a ROLLBACK in that CATCH block before someone walks away from their keyboard and starts triggering alerts! (You are monitoring for idle transactions I hope). 🙂

  • I hope  no one intends this to be a section of production code, but I'll add a note to the explanation.

Viewing 5 posts - 1 through 4 (of 4 total)

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