Hello

Whats the easiest way to automatically add the current date to a record
whenever a new record is inserted?  I have tried 
CREATE TABLE ....
  TimeStamp DATE NOT NULL DEFAULT 'DATE()'
  ...); 
But this doesn't work.  I have tried with TIMESTAMP type instead and
this too doesn't work I just get about 14 0's.  Any ideas please



Thanks lots
David Ayliffe

ICQ# 125646758




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