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 pl sql data types?

551


What is a sql*loader control file?

622


How many types of relationship are there?

547


What are the sql versions?

522


Is pl sql useful?

543






What is your daily office routine?

1812


How can you fetch first 5 characters of the string?

554


What is primary key sql?

546


How to sort the rows in sql.

603


what are the advantages of mysql in comparison to oracle? : Sql dba

529


Can variables be used in sql statements?

554


What is the difference between a query and a report?

522


What are the two parts of design view?

583


what are the non-standard sql commands supported by 'mysql'? : Sql dba

573


list out some tools through which we can draw e-r diagrams for mysql. : Sql dba

513