Blog

Avoiding prefix 'sp_' in the name of user stored procedure

Posted by Venkatesan Jayakantham Blogs | SQL May 10, 2012
Avoiding prefix 'sp_' in the name of user stored procedure in SQL Server

By nature, if the stored procedure is created with the prefix sp_. SQL Server will start search for the stored procedure in the master database. After wards, it will search for the local database which in turn a major problem. To avoid this,

 

We need to access the stored procedure using Fully Qualified Name,  

 

                        DatabaseName.SchemaName.ProcedureName

post comment
     
COMMENT USING
PREMIUM SPONSORS
Over-C is a holistic consortium of communications and technology specialists. We build, deploy and market both business as well as consumer products and solutions.
Join a Chapter
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Join a Chapter