Subject | Re:About default values |
---|---|
Author | Aage Johansen |
Post date | 2001-12-18T20:21:15Z |
Doug Chamberlin wrote:
--------------------------------------
Just two comments on what Nick wrote.
1) If it is important to have the SYS$CHANGED_AT and SYS$CREATED_AT values
precisely the same after an insert, you might want to change the above to
different values.
--------------------------------------
Isn't there a Date/Time-thingy that is constant during the transaction?
Regards,
Aage J.
--------------------------------------
Just two comments on what Nick wrote.
1) If it is important to have the SYS$CHANGED_AT and SYS$CREATED_AT values
precisely the same after an insert, you might want to change the above to
> new.SYS$CHANGED_AT='NOW';That way the NOW function will have no chance of returning two slightly
> new.SYS$CREATED_AT=new.SYS$CHANGED_AT;
different values.
--------------------------------------
Isn't there a Date/Time-thingy that is constant during the transaction?
Regards,
Aage J.