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 / manoj

1.
Use proper sequence of tables in from clause
i.e.
the table have more common column must in last
in form clause bcoz on firing of query engine link
last table in form clause
2.
Use "Exist" clause instead of "Not in"
Bcoz it return only true/false(boolean)

3.
Use "Hint" if Required

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are date and time functions in mysql? : Sql dba

718


How show all rows in sql?

799


What is range partitioning?

692


How do you remove duplicate records from a table?

679


What are different types of indexes?

706






What is a sql schema used for?

729


How delete all records from table in sql?

721


How do I copy a table in sql?

696


Are left and right joins the same?

720


How do I count records in sql?

731


What is sql mysql pl sql oracle?

784


What is difference between primary and secondary key?

743


What is the use of & in pl sql?

723


What is using in sql?

796


Why we use sql profiler?

722