Quantcast
Channel: SCN: Message List - SAP Advantage Database Server
Viewing all articles
Browse latest Browse all 997

Re: optimizing numeric expression

$
0
0

@Joachim: did you see that it is the difference between 2 fields? PIEZAS_D-SALDO is an expression and I don't think an index can help here a lot.

Maybe you should experiment with equivilent expressions:

"PIEZAS_D-SALDO>0" is identical to "PIEZAS_D > SALDO", maybe that helps?

If you would store the difference this could definitely be indexed....


Viewing all articles
Browse latest Browse all 997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>