>Hello,
>
>Is there a way to have a field of type DATE get the current date as its
>default?
No. Default values in MySQL must be constants.
>
>Something like ...
>
>mydatefield DATE DEFAULT curdate()
>
>...which does not work. But that's the idea.
--
Paul DuBois, [EMAIL PROTECTED]
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php