ccornagg
Well Known Member
Dear all,
I'm currently working with Xe SP23 Oracle 9, and I hope someone of you is able to explain me why I'm experiencing an extremely slowness for the following where statement over F0911:
WHERE ( ( GLCO = '00400' AND GLAID = '13509576' AND GLDGJ > 105001 AND GLDGJ <= 105036 AND GLLT = 'SA' OR GLCO = '00400' AND GLAID = '13509576' AND GLDGJ > 105001 AND GLDGJ <= 105036 AND GLLT = 'AA' ) )
In other words:
* I cannot understand why it takes 38 seconds (jdedebug.log) to extract 0 records from OW (standard R70470 UBE) while it takes 0 seconds using SQL*Plus
* I cannot understand why it takes 0 seconds to extract 0 records from OW if I'm going to select one ledger type at a time ('AA' or 'SA' ledger type in my example) thus without using 'OR' statement.
I'll really appreciate any hints from you.
Carlo
I'm currently working with Xe SP23 Oracle 9, and I hope someone of you is able to explain me why I'm experiencing an extremely slowness for the following where statement over F0911:
WHERE ( ( GLCO = '00400' AND GLAID = '13509576' AND GLDGJ > 105001 AND GLDGJ <= 105036 AND GLLT = 'SA' OR GLCO = '00400' AND GLAID = '13509576' AND GLDGJ > 105001 AND GLDGJ <= 105036 AND GLLT = 'AA' ) )
In other words:
* I cannot understand why it takes 38 seconds (jdedebug.log) to extract 0 records from OW (standard R70470 UBE) while it takes 0 seconds using SQL*Plus
* I cannot understand why it takes 0 seconds to extract 0 records from OW if I'm going to select one ledger type at a time ('AA' or 'SA' ledger type in my example) thus without using 'OR' statement.
I'll really appreciate any hints from you.
Carlo