What is the first action to perform a query?
Suppose I have four tables and five joins and my query is
getting slow day by day.

Answer Posted / sandeep t

the best way is to create another table by writing a
procedure . In the procedure create a temp table and then
populate the table which created with all the
conditions.You can use the newly created table to satisfy
all the conditions by this you could avoid creating load on
the database

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql procedures and functions?

522


Can we alter stored procedure?

537


How to rename a table?

546


What is meant by truncate in sql?

520


What is multiple partition?

535






What is the requirement of self-join?

536


How many types of normalization are there?

485


How do I kill a query in postgresql?

544


How much ram can sql express use?

501


How does one load ebcdic data? : aql loader

641


what is the syntax for using sql_variant_property? : Transact sql

527


How does sql profiler work?

564


What are the uses of sysdate and user keywords?

619


What is pl sql collection?

514


Define join and name different types of joins?

511