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

DB2 :: RE: Refining an SQL

$
0
0
Author: TS70363
Posted: Wed May 25, 2016 11:13 pm (GMT 5.5)

Hi...Rajesh..

Thanks.

Yes. I can split the queries into 2 which I know is the best possible way and was also thought of before posting the query.

The only reason I am not planning to split is because I have 3 such cursors in the production version of application program. And implementing a split would result in declaration, open, fetch, close of 3 more cursors. Can still be implemented if I do not find any other way.

Hi Rohit,
Can you please elaborate?
_________________
TS70363


Viewing all articles
Browse latest Browse all 9405

Trending Articles