Search Postgresql Archives

Re: "= Null" <> "is Null"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Some DB's say that an empty string is the same as null, it doesn't mean they're right. In fact, it can be rather inconvenient if an empty string in your data also has a meaning (namely 'known to be an empty string' instead of 'unknown')!

This is the behavior in Oracle. And I found that out the hard way... what a PITA.

Anyhow, this isn't specific to Postgres, but here's a Wikipedia entry for how ternary or 3 valued logic works.

http://en.wikipedia.org/wiki/Ternary_logic

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux