declare dend date;
dend :=to_date('2010-03-14','yyyy-mm-dd');select * from a where b >=dend
时间dend往前移到某天后查询就变慢了
dend :=to_date('2010-03-14','yyyy-mm-dd');select * from a where b >=dend
时间dend往前移到某天后查询就变慢了
调试欢乐多
或者使用其他更严格的条件。否则性能下降,只能靠提升硬件性
能来解决了。