我不确定如何正确捕捉我的需求。我在plsql中阅读有关triggers
的内容,并认为这可以解决我的问题。例如,请参见下文,谢谢。
我有下表
tableA
id start end custdate
1 1/1/19
第二天,表格更改为:
tableA
id start end custdate
1 1/1/19 1/2/19
然后在19年1月5日再次更改
id start end custdate
1 1/1/19 1/5/19 1/2/19
我想捕获这些数据点,所以我想要一个读取表
我可以使用trigger
捕获此数据吗?如果是这样,那看起来如何?
cycle_start cycle_end id start end cust
1/1/19 1/1/19 1 1/1/19
1/2/19 1/4/19 1 1/1/19 1/2/19
1/5/19 12/31/99 1 1/1/19 1/5/19 1/2/19