How to tune a stored procedure?

Answer Posted / virgilio

The statements from above are correct but one main thing
that might speed a proc up is the naming convention.
If you create a user defined Storproc and you name it by
using the "Sp_" prefix SQL thinks is a System Store Proc
and goes to the Master DB to look for the Object instead of
looking locally.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I create a stored procedure in dbml?

514


Can a database be shrunk with users active?

599


What is a trigger and its types?

527


How do I manually uninstall an instance of sql server 2016?

544


What are user-defined functions (udfs) in sql server?

570






How to enter unicode character string literals in ms sql server?

571


What is acid db?

510


What is table valued function and scalar valued functions?

489


Call by value and call by reference in procedure and function, with NOCOPY.

835


What are the different type of replication in sql server?

536


Define self join?

629


What do you mean by an execution plan? How would you view it?

491


How to find Duplicate Records In table?

585


Is sql server is free?

537


What changes in the front end code is needed if mirroring is implemented for the high availability? : sql server database administration

604