Question
CURDATE() as default for a MySQL field?
I can do this, right?
ALTER TABLE `tblClassDetails` ADD `detailsStart` DATE NOT NULL DEFAULT
'CURDATE()' AFTER `detailsDate` ;
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
ALTER TABLE `tblClassDetails` ADD `detailsStart` DATE NOT NULL DEFAULT
'CURDATE()' AFTER `detailsDate` ;
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================