set default values to current epoch (2 merged) [message #681573] |
Wed, 05 August 2020 03:12  |
weekend79
Messages: 198 Registered: April 2005 Location: Islamabad
|
Senior Member |

|
|
Hi
creating a new table with 2 date columns "number(19)", one for inserted date and other for updated date,
wish to save unix 13 character long current time i.e. 1596614710000 as default value in both columns at the time of insert.
and update value of the updated column at the time of any update on row.
Can someone tell me any more efficient way then trigger for update?
thanks
|
|
|
|
|
|
|