Quantcast
Viewing all articles
Browse latest Browse all 9069

Re: Error in loop

Sometimes you just have to code selects inside a loop and put up with the fact that you get a warning/error in Code Inspector.

 

If you are able to join the select that fills T_DD03L with the other selects, you might be able to do the whole thing with just a few selects, but looks kind of complicated.

 

You need to weight the actual performance needs against program complexity which affects the ability to maintain it. For example, if it can run at night, and doesn't take too long, who cares about performance, so long as runtime does not grow exponentially with more entries in T_DD03L.

 

The first thing I would do in terms of performance is convert T_DD03L into a HASHED or SORTED table. BINARY SEARCH is so last century.


Viewing all articles
Browse latest Browse all 9069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>