Databasen - NULL dates

Andy Armstrong andy at hexten.net
Wed Oct 18 15:44:35 BST 2006


On 18 Oct 2006, at 15:35, David Cantrell wrote:
> CREATE TABLE fucked_up (
>   date_field_is        ENUM('DATE', 'NULL', 'VERY NULL', 'IMAGINARY',
>                             'FICTIONAL', 'APPROXIMATE', 'WRONG', ...),
>   date_field           VARCHAR(16),
>   ...
> );
>
> May the database gods strike me down for even considering that.

Nice :)

-- 
Andy Armstrong, hexten.net



More information about the london.pm mailing list