我创建了一个快照,该快照从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