Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7
This is the forum to discuss the Wrox book Professional SQL ServerReporting Services by Paul Turley, Todd Bryant, James Counihan, George McKee, Dave DuVarney; ISBN: 9780764568787
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 15th, 2004, 08:17 AM
Authorized User
 
Join Date: Jun 2004
Location: Peterborough, Ontario, Canada.
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default Stored Procedure Naming

I was reading one poor DBA's postings on another site and I think she had a complete melt-down.

Caution re-naming stored procedures avoid sp_ (I know the book didn't do this but it ALMOST did ;) ) sp_ causes SQL server to execute the proc differently and it runs a bit more slowly unless it is one of the built in procs.

I tried to get programmers to use just sp at one work place but that kept becoming sp_ so I gave up and used pr for all procedures.

Just a thought.

Sandy Murdock MCP
__________________
Sandy Murdock MCP
  #2 (permalink)  
Old June 16th, 2004, 02:38 PM
Wrox Author
Points: 183, Level: 3
Points: 183, Level: 3 Points: 183, Level: 3 Points: 183, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2004
Location: Vancouver, Washington, USA.
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is why I make a point to use sp rather than sp_. The industry lacks a solid best practice for SP names. In the past, I've typically used Get_, Ins_, Upd_ & Del_.

Paul Turley, MCSD, MCDBA, MCT, MSF Practitioner
  #3 (permalink)  
Old July 2nd, 2004, 10:22 AM
Authorized User
 
Join Date: Jul 2004
Location: San diego, CA, USA.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Paul: Where can I get a list of the Errdata and the fix of this book? Thanks.

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
This Stored Procedure rao965 SQL Server 2000 2 July 2nd, 2007 07:21 PM
Stored procedure ashuphp MySQL 1 April 2nd, 2007 04:20 PM
Stored Procedure Help BukovanJ SQL Language 2 October 10th, 2006 08:02 AM
Stored Procedure bmains SQL Server ASP 2 October 8th, 2004 03:19 AM
C# and stored procedure Msmsn C# 1 August 26th, 2003 11:03 PM



All times are GMT -4. The time now is 07:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.