Author: arunsoods
Subject: Re: Reply to: SQL Query optimization.
Posted: Sun Sep 04, 2016 11:40 pm (GMT 5.5)
By the above do you mean that if I select all SEQ_ID using below query.
SELECT SEQ_ID FROM TEST_TABLE
and store the values in a PS file and then applying SORT to find the highest...
Will this work...???
_________________
Arun Sood
Subject: Re: Reply to: SQL Query optimization.
Posted: Sun Sep 04, 2016 11:40 pm (GMT 5.5)
Bill Woodger wrote: |
Can't you store the value somewhere when you know it, rather than lazily rummaging about for the highest one? |
By the above do you mean that if I select all SEQ_ID using below query.
SELECT SEQ_ID FROM TEST_TABLE
and store the values in a PS file and then applying SORT to find the highest...
Will this work...???
_________________
Arun Sood