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

DB2 :: RE: SQL Query optimization.

$
0
0
Author: Nic Clouston
Posted: Sun Sep 04, 2016 2:12 pm (GMT 5.5)

Why are you using SQL to put it into 2 variables? Put it into one and then copy it to the other in your program. Have you got an index on that table? Probably not - add one.
_________________
Regards
Nic


Viewing all articles
Browse latest Browse all 8500

Trending Articles