How do you optimize SQL queries ?
Answer Posted / asr
Avoid the sub queries.
Where condition should be based on primary key and index,
use primary column for join.
Try to avoid more tables.
Use temp tabels.
Create procedure.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is use of package in pl sql?
How does postgresql compare to oracle/db2/ms sql server/informix?
The in operator may be used if you know the exact value you want to return for at least one of the columns.
What is oracle sql developer?
What is a data definition language?
Does sql profiler affect performance?
Can we create index on primary key?
what are date and time data types in mysql? : Sql dba
Can you have a foreign key without a primary key?
What is sqlca in db2?
What is user defined functions?
What is oracle pl sql developer?
Does execute immediate commit?
What is the use of nvl function?
Why query optimization is needed?