How to insert a timestamp in Oracle?

后端 未结 10 1732
广开言路
广开言路 2020-12-23 02:34

I have an Oracle DB with a timestamp field in it. What is the correct SQL code to insert a timestamp into this field?

10条回答
  •  心在旅途
    2020-12-23 03:28

    First of all you need to make the field Nullable, then after that so simple - instead of putting a value put this code CURRENT_TIMESTAMP.

提交回复
热议问题