Amardeep Sidhu's Oracle blog

Little bit of fun with Oracle

where 1=2 ;)

with 4 comments

A small post to let everybody know that I am alive ;) .

Few weeks back, in office we were looking at one procedure which was supposed to do a lot but if executed it finished in a sec (or less ;) ). I started looking into it and just opened the procedure and started scrolling to find that the last line of the very first cursor read:

where 1=2;

Wonderful !

Written by Sidhu

December 6th, 2008 at 12:58 pm

Posted in Fun

Tagged with

4 Responses to 'where 1=2 ;)'

Subscribe to comments with RSS or TrackBack to 'where 1=2 ;)'.

  1. You asked for it !!

    1=2: A Proof using Beginning Algebra

    * Step 1: Let a=b.
    * Step 2: Then a² = ab,
    * Step 3: a² + a² = a² + ab,
    * Step 4: 2a² = a² + ab,
    * Step 5: 2a² – 2ab = a² + ab – 2ab,
    * Step 6: and 2a² – 2ab = a² – ab.
    * Step 7: This can be written as 2(a² – ab) = 1(a² – ab),
    * Step 8: and cancelling the (a² – ab) from both sides gives 1=2.

    :)

    Vaibhav Garg

    8 Dec 08 at 1:12 pm

  2. Oh man o man…ROFL…

    Sidhu

    9 Dec 08 at 8:11 pm

  3. Ek Mathematician ke hote huye aisa response kaise diya ja sakta hai :-)
    2(a^2-ab)=1(a^2-ab) =>2=1 iff a^2-ab 0
    ha ha :-)
    waise ye kis procedure ki bat kar raha hai Sidhu,mujhe bhi pata lage !

    Monika Sharma

    29 Dec 08 at 2:36 am

  4. Oh my God :P

    Sidhu

    31 Jan 09 at 9:13 pm

Leave a Reply

*
To prove you're a person (not a spam script), type the answer to the math equation shown in the picture. Click on the picture to hear an audio file of the equation.
Click to hear an audio file of the anti-spam equation