Suppose i have one sql query that contains 2 minute to
execute.After one weekly i am executing same query that is
taking 5 minute.Why our same query is taking more time.what
would be my approach to reduce execution time.Please help.



Suppose i have one sql query that contains 2 minute to execute.After one weekly i am executing sam..

Answer / rajkumar

1.It might be index failure please see execution plan
2.DO update statistics for that table and check once again.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What does the on update no action do?

0 Answers  


Explain the properties of sub-query in sql server?

0 Answers  


what are user defined datatypes? : Sql server database administration

0 Answers  


What is a stored procedure?

3 Answers  


What is the difference between commit and rollback?

0 Answers  






Mention the differences between sql server and mysql.

0 Answers  


Can you pass expressions to stored procedure parameters?

0 Answers  


Can another user execute your local temporary stored procedures?

0 Answers  


What is Inner Join?

2 Answers  


What is order of B+tree?

0 Answers   HCL,


What do you mean by a Composite primary key?

0 Answers   Genpact,


When is update_statistics command used?

0 Answers  


Categories