Author: arunsoods
Posted: Tue Sep 27, 2016 4:13 pm (GMT 5.5)
Hi Team,
Thanks for the support I am getting reduced cost using following query.
Using MAX() was increasing the cost.![icon_idea.gif]()
_________________
Arun Sood
Posted: Tue Sep 27, 2016 4:13 pm (GMT 5.5)
Hi Team,
Thanks for the support I am getting reduced cost using following query.
Code: |
SELECT SEQ_ID INTO :DCLTB996-SOF-TRANS.SEQ-ID :W770-SOF-TRANS-SEQ-ID FROM TEST_TABLE ORDER BY SEQ_ID DESC FETCH FIRST ROW ONLY WITH UR |
Using MAX() was increasing the cost.

_________________
Arun Sood