1
Reply

Why not we should prefix stored procedure names with “sp_”?

Santosh Kumar Adidawarpu

Santosh Kumar Adidawarpu

Nov 16, 2017
109
0

    The prefix sp_ is reserved keyword for system stored procedures that ship with SQL Server. Whenever SQL Server encounters a procedure name starting with sp_, it first tries to locate the procedure in the master database and then it looks for any qualifiers (database, owner) provided and then it tries dbo as the owner. So you can really save time in locating the stored procedure by avoiding the sp_ prefix.

    Santosh Kumar Adidawarpu
    November 16, 2017
    0