Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9008

Re: How do I optimize my code?

$
0
0

Hi sarnava,

 

Sorry for making my reply bit confusing.

 

The second point which i gave in my first reply was,

2. Try to avoid using more conditions in where clause as it creates load for database optimizer.

 

Please consider it as ,

Try to avoid " unwanted " comparison and other condition which could increase the fetching time.

 

And the point that i have mentioned above cannot be implemented everywhere , But try to use that if possible based on the input data we are getting.


Regarding the 6th point,


6.Try to avoid " into corresponding " clause if possible, Instead of this directly specify the the table or work area having similar structure as of selecting data.

 

Regards,


sajeesh


Viewing all articles
Browse latest Browse all 9008

Trending Articles



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