in reply to Writing It Myself, DWIM, and Expectations
Now, I know there's a difference between "" and undef in Perl, just like I know there's a difference between "" and NULL in my database.
You do?
Not if your database follows the SQL-92 standard!
Seriously, databases are not supposed to have the idea of an empty string. I learned this from mpeppler when he explained to me why DBD::Sybase was converting empty strings into spaces. Of course to confuse the issue, some databases (eg MySQL IIRC) do allow empty strings.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Writing It Myself, DWIM, and Expectations
by iburrell (Chaplain) on Sep 13, 2004 at 17:03 UTC | |
by mpeppler (Vicar) on Sep 14, 2004 at 05:55 UTC | |
by Jenda (Abbot) on Sep 14, 2004 at 23:12 UTC | |
by Anonymous Monk on Oct 09, 2004 at 07:28 UTC | |
Re^2: Writing It Myself, DWIM, and Expectations
by jest (Pilgrim) on Sep 13, 2004 at 17:38 UTC |
In Section
Meditations