-
|
Is there a button to add a default datetime (i.e. current datetime) instead of NULL when manually editing the data in a table? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
There's no button, but there is an easy way. Change the editor mode of the "Edit Database Cell" dock to "Evaluation" and write If you want to do the same for several cells, deactivate the automatic mode of the editor to keep the evaluation mode for all the cells. |
Beta Was this translation helpful? Give feedback.
There's no button, but there is an easy way. Change the editor mode of the "Edit Database Cell" dock to "Evaluation" and write
CURRENT_TIMESTAMP(the editor completes) then save it pressing the Apply button or Ctrl+Return.If you want to do the same for several cells, deactivate the automatic mode of the editor to keep the evaluation mode for all the cells.