One default option is  'CURRENT_TIMESTAMP'

AS

On Sat, Oct 2, 2010 at 2:45 PM, Alex Carver <[email protected]> wrote:

> MySQL supports a separate field called 'TIMESTAMP' whose default value is
> now().  It might be better to use that rather than the DATETIME field if you
> want the date and time entered automatically.  I don't recall the DATETIME
> field ever allowing a default of now().
>
> > From: Dan Zubey
> > Hi.
> >
>
_______________________________________________
Xastir mailing list
[email protected]
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

Reply via email to