If a stored procedure name begins with “SP_,” then SQL server first searches in the master database and after that in the current session database.
So Searching in the master database causes extra overhead and even a wrong result if another stored procedure with the same name is found in master database.So the performance will degrade
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Priti KumariPosted Dec 19, 2013, 4:22 AM
Thanks for this information
Sandeep ShekhawatPosted Jun 1, 2011, 2:41 AM
Thank You for this important information.
Anil KumarPosted May 26, 2011, 5:37 AM
I realized the mechanism. Thanks.
Anil KumarPosted May 26, 2011, 5:36 AM
I realized the mechanism. Thanks.
Blocked AccountPosted May 26, 2011, 3:15 AM
Thanks for sharing.
Ankit NandekarPosted May 26, 2011, 2:33 AM
thnx for sharing such a useful information.