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

How do you write a subquery?

697


Can we commit in trigger?

702


what are the properties and different types of sub-queries? : Sql dba

706


How do I audit the sql sent to the server?

732


What does trigger mean in slang?

733






What is the difference between left and left outer join?

690


How do you create a unique index?

775


What is sql rowcount?

726


Can we rollback after truncate?

754


Write a query to display the current date in sql?

737


How many types of normalization are there?

669


How do I tune a sql query?

725


Does group by remove duplicates?

754


What is procedure and function?

684


what is the syntax used for partition in tsql? : Transact sql

729