我创建了一个从 2 个表中获取数据并且刷新率为 1 天的快照。快照数据没有刷新它仍然是一样的。有什么我想念的吗?
这是代码:
CREATE SNAPSHOT test
REFRESH COMPLETE
START WITH SYSDATE
NEXT sysdate + 1
AS
select item_code,item_conc_code,tran_bran_code,sum(tran_qty) bal_qty
from tranhist a,
itemmast b
where a.tran_item_code = b.item_code
group by item_code,item_conc_code,tran_bran_code