[Opensource] Timestamps and field default values
Raul DAVIDOVICH
R.DAVIDOVICH at caconcology.com
Thu Nov 20 01:46:06 PST 2003
Hello,
is there a way to set a timestamp in a dbobject from a controller?
I mean I have a DEBObject with a created_by and creation_date fields and I
want to be able to set the creation_date field from the controller.
If not, is there a way to explicitly call the default value the RDBMS has
setup for a field, like "INSERT INTO mytable (id, value, created_by,
creation_date) values(default, 'my value', 'myuser',default)"?
Thanks in advance
Regards,
---------------------------------------------------
Raul Davidovich
Responsable Informatique
Cvitkovic & Associés Consultants
(33) 1 45 15 40 68
(33) 1 45 15 40 41 Fax
-------------------------------------------------------
http://www.caconcology.com
More information about the Opensource
mailing list