Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

DB2 :: RE: SQL Query optimization.

$
0
0
Author: arunsoods
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


Viewing all articles
Browse latest Browse all 9405

Trending Articles