Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

Stored procedure naming prefix Expand / Collapse
Author
Message
Posted Wednesday, August 31, 2011 12:00 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Sunday, June 8, 2014 10:40 PM
Points: 28, Visits: 180
Pardon me for jumping on a dormant thread, I came across this while researching naming conventions. Regarding the prefix "sp" (with or without the underscore), doesn't the sp stand for "System Procedure" and not "Stored Procedure"? Which would essentially be a vote against that prefix for user defined procedures used in applications.
Just curious.
Thanks,
--Jim
Post #1168258
Posted Monday, September 5, 2011 10:05 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Thursday, July 17, 2014 10:43 AM
Points: 3,309, Visits: 6,700
This is the first time I have seen where an old thread (more than 3 yrs) get some interest.
Check this article out. The second part of it shows the main reason why sp_ is costy and sp is not.


-Roy
Post #1170014
Posted Monday, September 5, 2011 10:28 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 5:37 AM
Points: 36,753, Visits: 31,210
I know it's several years old but that's still a good article, Roy. They should rerun it now and again.

--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #1170025
Posted Monday, September 5, 2011 10:31 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Thursday, July 17, 2014 10:43 AM
Points: 3,309, Visits: 6,700
Thanks Jeff. That was my second article for SSC.

-Roy
Post #1170027
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse