How to tune a stored procedure?

Answer Posted / gopi a

Stored Procedure is Precompiled set of quries. Stored
Procedure performence fully depended on this queries. First
Look the queries performence using Execution Plan. After
find the Queries, just check the Index(for table used in
query) and look the join conditions between tables in the
query. - This is way we need to approch to tune the SP.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What command do we use to rename a database?

624


Explain trigger and its types?

624


What is sql server replication? : sql server replication

546


What are functions in the sql server?

615


Create and insert into temp table in sql server?

591






What are the differences between char and varchar in ms sql server?

587


Is INSTEAD OF trigger directly applicable to Table ?

585


What does the not null constraint do?

589


Explain the concept of view and Types of views in SQL server?

630


How to change the name of a database user?

559


How to find out the list schema name and table name for the database?

538


How to enter comments in transact-sql statements?

561


What is the command used to recompile the stored procedure at run time?

631


What is the difference between sdf and mdf?

685


Please explain the characteristics of a transaction server for example atomicity, consistency, isolation, durability?

506