hello,

I got problem when I tried to have CURRENTDATE as DEFAULT date.

For this I gave sql statement as

CREATE TABLE XX(..,fldDate DATETIME DEFAULT NOW() NOT NULL, ..);

NOW() & CURDATE() both will give Current date. But I am getting syntax
error.

If i give some Date like 10/31/2001 it is taking as default.

thanks in advance for any advice.

regards,
sreedhar


---------------------------------------------------------------------
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

Reply via email to