tableA
Index tagA : loc + row
tableB
Index tagB : ali + abu
with SYS(3054,11) i get result below :
Using index tag TAGA to rushmore optimize table tableA
Rushmore optimization level for table tableA: full
Using index tag TAGB to rushmore optimize table tableB
Rushmore optimization level for table tableB: full
All table are fully optimize
but, with code below
the result become :
Using index tag TAGA to rushmore optimize table tableA
Rushmore optimization level for table tableA: full
Rushmore optimization level for table tableB: None
What should i do to make the second SQL statement become fully rushmore optimize ?
Index tagA : loc + row
tableB
Index tagB : ali + abu
Code:
SELECT a.slipno,a.procod,a.lotnum,;
RECNO() as rec_no,;
a.curcod, b.abu FROM tableA a, tableB b;
INTO CURSOR tmplot READWRITE;
WHERE loc + row =;
cLoc AND ali + abu =;
c_sting
Using index tag TAGA to rushmore optimize table tableA
Rushmore optimization level for table tableA: full
Using index tag TAGB to rushmore optimize table tableB
Rushmore optimization level for table tableB: full
All table are fully optimize
but, with code below
Code:
SELECT a.slipno,a.procod,a.lotnum,;
RECNO() as rec_no,;
a.curcod, b.abu FROM tableA a, tableB b;
INTO CURSOR tmplot READWRITE;
WHERE loc+row =;
cLoc AND ali + abu =;
cString + tableA.abu &&<---the change
Using index tag TAGA to rushmore optimize table tableA
Rushmore optimization level for table tableA: full
Rushmore optimization level for table tableB: None
What should i do to make the second SQL statement become fully rushmore optimize ?