The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Browse by Tags

All Tags » NULL (RSS)
  • Re: Lets count the WTF's here.

    I'm particularly fond of this line: [quote]if(pass=="Th!s!sMyPa$$W0rD" && pass!=null)[/quote]
    Posted to Forum by jnz on 04-14-2008
  • Can't finish my taxes

    http://img178.imageshack.us/img178/3021/netfilerm3.png Do you think if I try 'null' as my pin it will work?
    Posted to Forum by roto on 01-28-2008
  • Re: The empty string IS NULL

    ammoQ: Beware of those side effects: length('') returns NULL (not 0 ) So wait... you give Oracle a string of zero characters in length, and ask it the length, and instead of saying zero, it says "hmmm?" Even some parrots and 4 year old children can grasp the concept of "zero". RIP Alex :(
    Posted to Forum by Pap on 09-18-2007
  • DECODE is not a simplified form of CASE

    Again, according to Oracle doc they're the same. Testing shows that DECODE regards NULLS as equal, while CASE (and all other statements involving NULL) do not. SELECT CASE NULL WHEN NULL THEN 0 ELSE 1 END AS test FROM dual; SELECT DECODE(NULL, NULL, 0, 1) AS test FROM DUAL; The first returns 1, since...
    Posted to Forum by SQB on 09-07-2007
  • NVL is not a simplified form of COALESCE

    Try this: SELECT COALESCE(2,1/0) FROM DUAL; SELECT NVL(2, 1/0) FROM DUAL; According to Oracle documentation, both should yield the same results. However, while COALESCE evaluates all branches until it finds one that is not NULL, NVL allways evaluates both branches, resulting in an error on the second...
    Posted to Forum by SQB on 09-07-2007
  • Re: The empty string IS NULL

    ammoQ: Beware of those side effects: length('') returns NULL (not 0 ) rpad('', 5) returns NULL which equals '' (not ' ' ) (rpad normally pads the string to the given length) Or let's say you're manipulating strings. You replace some substring, concatenate another string, do some more replacing... If...
    Posted to Forum by SQB on 09-07-2007
  • Re: Secret Windows settings Microsoft doesn't want you to know about...

    Thief^: I have linux dual-booting with XP on my pc at home, and I regularly use both. It's just a pity that wine isn't yet finished enough to run most Windows-only games. Though for software (and console) development, it's hard to beat Visual Studio. Oh dear... Im sure that " it's hard to beat Visual...
    Posted to Forum by wonkoTheSane on 08-22-2007
  • Re: Best Tag Cloud Ever

    See anything strange about this scrennshot of the tag cloud?
    Posted to Forum by Mal1024 on 04-04-2007
  • Re: Tag cloud oracle

    this is an amusing read!
    Posted to Forum by GeneWitch on 03-17-2007
Page 1 of 1 (9 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems