NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
one problem I do not need to worry about (Score:1)
Re: (Score:1)
We had some generic SQL that applied to several tables in similar ways.
... and goddamn it - it's just wrong to say a table is null and not null at the same time :-)
Re:one problem I do not need to worry about (Score:1)
http://sql-info.de/mysql/gotchas.html [sql-info.de] properly at some stage.
At least this feature is documented in the mysql
docs (but who ever reads the docs)
"For DATE and DATETIME columns that are declared as NOT NULL, you can find the special date '0000-00-00' by using a statement like this:
SELECT * FROM tbl_name WHERE date_column IS NULL
This is needed to get some ODBC applications to work because ODBC does not support a '0000-00-00' date value."
Reply to This
Parent