Trigger based on sysdate

前端 未结 2 1549
旧时难觅i
旧时难觅i 2021-01-24 09:50

I have a table

Table Schema:

CREATE TABLE CHARGES 
(
    total NUMBER(30),
    admitdate TIMESTAMP(6),
    dischargedate TIMESTAMP(30)
)
<
2条回答
  •  执笔经年
    2021-01-24 10:14

    It would be easier to maintain and reason about if you can change approach and store only static values.And do calculations using sysdate only when needed, like in sql output when asked for it.

提交回复
热议问题