Can any one tell me how to increase the performance of a
sql query ie what are the performance tips in creating or
writing a sql query !!?

Answer Posted / sathishrpillai

Hii..
for optimization of sql query
1.don't use select * from,choose particular fields itself
2.don't use both OR ,AND in same query
3.Minimise the use of aggreagate functions such sum,count
4.don't link unneccessary tables

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is number function in sql?

527


What is dbo in sql?

536


How to get each name only once from an employee table?

610


What is trigger and stored procedure in sql?

558


how to check myisam tables for errors? : Sql dba

607






What is the maximum rows in csv?

487


How sql query is executed?

559


How exception is different from error?

545


Is sql considered coding?

569


What does select count (*) mean in sql?

552


What is on delete set null?

570


How can we solve sql error: ora-00904: invalid identifier?

699


Why functions are used in sql?

513


explain mysql aggregate functions. : Sql dba

549


Why do you partition data?

536