Pierre Etchemaite wrote:

Le Fri, 19 Dec 2003 10:38:40 -0800, Wim Kerkhoff <[EMAIL PROTECTED]> a écrit
:



You can't do this with MySQL, since it won't let you set a default value to a function, only a constant (null, 1, 'foo', etc).



For MySQL, it seems that the way to go are TIMESTAMP fields:


http://www.mysql.com/doc/en/DATETIME.html

Those will be updated each time the record is, but in this case this looks
appropriate.


Ok, thanks for the clarification. Pg's handling of default values, triggers, etc still seems way better, IMO :-)

Wim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to