MySQL Stored Procedure Programming

( 1 )

Pick Up in Store

Reserve and pick up in 60 minutes at your local store

Paperback
$29.54
BN.com price
$44.99 List Price (Save 34%)
Marketplace (New and Used)
from
$12.97
$44.99 List Price (Save 71%)
All (13)  
Used (6)  
New (7)  
Close
Sort by
Page 1 of 2
Showing 1 – 10 of 13 (2 pages)
$12.97
(Save 71%)
Seller since 2007

Feedback rating:

(5349)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

Good
2006 Paperback Good: Typical used book. All pages and cover intact (including dust cover, if applicable). The spine may show signs of wear. Pages can include limited notes and ... highlighting. Occasionally these may be former library books. Overall you will be surprised at how good our used books are. We just want to remind you that this is a used book. Read more Show Less

Ships from: Miamisburg, OH

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$12.58
(Save 72%)
Seller since 2012

Feedback rating:

(712)

Condition: Good
Textbook– Sound copy, mild reading wear. May or may not have untested CD or Infotrac. May contain highlighting, underlining or writing in text. No international shipping. ... Purchasing this item helps us provide vocational opportunities to people with barriers to employment. Read more Show Less

Ships from: Hillsboro, OR

Usually ships in 1-2 business days

  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$21.25
(Save 53%)
Seller since 2007

Feedback rating:

(3184)

Condition: Acceptable
Buy with confidence. Excellent Customer Service & Return policy.

Ships from: Richmond, TX

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
$25.47
(Save 43%)
Seller since 2010

Feedback rating:

(7941)

Condition: New
BRAND NEW FROM PUBLISHER! 100% Satisfaction Guarantee. Tracking provided on most orders. Buy with Confidence! Millions of books sold!

Ships from: Grand Rapids, MI

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$27.48
(Save 39%)
Seller since 2009

Feedback rating:

(250)

Condition: New
2006 Paperback New Book may contain minor shelf wear.

Ships from: Englewood, CO

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$27.95
(Save 38%)
Seller since 2012

Feedback rating:

(37)

Condition: Good

Ships from: Lookout Mountain, GA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Express, 48 States
  • Express (AK, HI)
$34.37
(Save 24%)
Seller since 2012

Feedback rating:

(7)

Condition: New
In Stock. Brand New. Orders placed by 12 PM EST Monday through Friday will ship on the same business day.

Ships from: Atlanta, GA

Usually ships in 1-2 business days

  • Canadian
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$34.45
(Save 23%)
Seller since 2012

Feedback rating:

(1)

Condition: New
Brand New Item. Will ship in 24 hours. Golden rule customer support. Order Now!

Ships from: Morris Plains, NJ

Usually ships in 1-2 business days

  • Standard, 48 States
$37.36
(Save 17%)
Seller since 2006

Feedback rating:

(288)

Condition: New
ABSOLUTELY BRAND NEW! Ships out within 24 hours! Multiple quantities available! International and expedited shipping available.

Ships from: Camden, NY

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
$37.36
(Save 17%)
Seller since 2006

Feedback rating:

(288)

Condition: Like New
ABSOLUTELY BRAND NEW! Ships out within 24 hours! Multiple quantities available! International and expedited shipping available.

Ships from: Camden, NY

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 2
Showing 1 – 10 of 13 (2 pages)
Close
Sort by
NOOK Book (eBook)
$19.79
BN.com price
$35.99 List Price (Save 45%)

Available on NOOK devices and apps

  • Nook Devices
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for iPad
  • NOOK for iPhone
  • NOOK for Android
  • NOOK for Android (Tablet)
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK Study
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

Overview

The implementation of stored procedures in MySQL 5.0 a huge milestone — one that is expected to lead to widespread enterprise adoption of the already extremely popular MySQL database. If you are serious about building the web-based database applications of the future, you need to get up to speed quickly on how stored procedures work — and how to build them the right way. This book, destined to be the bible of stored procedure development, is a resource that no real MySQL programmer can afford to do without.

In the decade since MySQL burst on the scene, it has become the dominant open source database, with capabilities and performance rivaling those of commercial RDBMS offerings like Oracle and SQL Server. Along with Linux and PHP, MySQL is at the heart of millions of applications. And now, with support for stored procedures, functions, and triggers in MySQL 5.0, MySQL offers the programming power needed for true enterprise use.

MySQL's new procedural language has a straightforward syntax, making it easy to write simple programs. But it's not so easy to write secure, easily maintained, high-performance, and bug-free programs. Few in the MySQL world have substantial experience yet with stored procedures, but Guy Harrison and Steven Feuerstein have decades of combined expertise.

In MySQL Stored Procedure Programming, they put that hard-won experience to good use. Packed with code examples and covering everything from language basics to application building to advanced tuning and best practices, this highly readable book is the one-stop guide to MySQL development. It consists of four major sections:

  • MySQL stored programming fundamentals — tutorial, basic statements, SQL in stored programs, and error handling
  • Building MySQL stored programs — transaction handling, built-in functions, stored functions, and triggers
  • MySQL stored programs in applications — using stored programs with PHP, Java, Perl, Python, and .NET (C# and VB.NET)
  • Optimizing MySQL stored programs — security, basic and advanced SQL tuning, optimizing stored program code, and programming best practices

A companion web site contains many thousands of lines of code, that you can put to use immediately.

Guy Harrison is Chief Architect of Database Solutions at Quest Software and a frequent speaker and writer on MySQL topics. Steven Feuerstein is the author of Oracle PL/SQL Programming, the classic reference for Oracle stored programming for more than ten years. Both have decades of experience as database developers, and between them they have authored a dozen books.

Product Details

  • ISBN-13: 9780596100896
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 3/20/2006
  • Pages: 640
  • Sales rank: 428,139
  • Product dimensions: 7.00 (w) x 9.10 (h) x 1.00 (d)

Meet the Author

Guy Harrison has worked with databases for more than a decade, has conducted many MySQL and Oracle training seminars, and is author of several books on Oracle, including "Oracle Desk Reference" (Prentice Hall PTR). Currently a product architect at Quest Software, Harrison has conducted many training seminars and has authored several articles for the Oracle Technical Journal. He resides in Australia.

Steven Feuerstein is considered one of the world's leading experts on the Oracle PL/SQL language. He is the author or coauthor of Oracle PL/SQL Programming, Oracle PL/SQL Best Practices, Oracle PL/SQL Programming: Guide to Oracle8i Features, Oracle PL/SQL Developer's Workbook, Oracle Built-in Packages, Advanced Oracle PL/SQL Programming with Packages, and several pocket reference books (all from O'Reilly & Associates). Steven is a Senior Technology Advisor with Quest Software, has been developing software since 1980, and worked for Oracle Corporation from 1987 to 1992.

Table of Contents

Advance Praise for MySQL Stored Procedure Programming; Preface; Objectives of This Book; Structure of This Book; What This Book Does Not Cover; Conventions Used in This Book; Which Version?; Resources Available at the Book's Web Site; Using Code Examples; Safari® Enabled; How to Contact Us; Acknowledgments; Part I: Stored Programming Fundamentals; Chapter 1: Introduction to MySQL Stored Programs; 1.1 What Is a Stored Program?; 1.2 A Quick Tour; 1.3 Resources for Developers Using Stored Programs; 1.4 Some Words of Advice for Developers; 1.5 Conclusion; Chapter 2: MySQL Stored Programming Tutorial; 2.1 What You Will Need; 2.2 Our First Stored Procedure; 2.3 Variables; 2.4 Parameters; 2.5 Conditional Execution; 2.6 Loops; 2.7 Dealing with Errors; 2.8 Interacting with the Database; 2.9 Calling Stored Programs from Stored Programs; 2.10 Putting It All Together; 2.11 Stored Functions; 2.12 Triggers; 2.13 Calling a Stored Procedure from PHP; 2.14 Conclusion; Chapter 3: Language Fundamentals; 3.1 Variables, Literals, Parameters, and Comments; 3.2 Operators; 3.3 Expressions; 3.4 Built-in Functions; 3.5 Data Types; 3.6 MySQL 5 "Strict" Mode; 3.7 Conclusion; Chapter 4: Blocks, Conditional Statements, and Iterative Programming; 4.1 Block Structure of Stored Programs; 4.2 Conditional Control; 4.3 Iterative Processing with Loops; 4.4 Conclusion; Chapter 5: Using SQL in Stored Programming; 5.1 Using Non-SELECT SQL in Stored Programs; 5.2 Using SELECT Statements with an INTO Clause; 5.3 Creating and Using Cursors; 5.4 Using Unbounded SELECT Statements; 5.5 Performing Dynamic SQL with Prepared Statements; 5.6 Handling SQL Errors: A Preview; 5.7 Conclusion; Chapter 6: Error Handling; 6.1 Introduction to Error Handling; 6.2 Condition Handlers; 6.3 Named Conditions; 6.4 Missing SQL:2003 Features; 6.5 Putting It All Together; 6.6 Handling Stored Program Errors in the Calling Application; 6.7 Conclusion; Part II: Stored Program Construction; Chapter 7: Creating and Maintaining Stored Programs; 7.1 Creating Stored Programs; 7.2 Editing an Existing Stored Program; 7.3 SQL Statements for Managing Stored Programs; 7.4 Getting Information About Stored Programs; 7.5 Conclusion; Chapter 8: Transaction Management; 8.1 Transactional Support in MySQL; 8.2 Defining a Transaction; 8.3 Working with Savepoints; 8.4 Transactions and Locks; 8.5 Transaction Design Guidelines; 8.6 Conclusion; Chapter 9: MySQL Built-in Functions; 9.1 String Functions; 9.2 Numeric Functions; 9.3 Date and Time Functions; 9.4 Other Functions; 9.5 Conclusion; Chapter 10: Stored Functions; 10.1 Creating Stored Functions; 10.2 SQL Statements in Stored Functions; 10.3 Calling Stored Functions; 10.4 Using Stored Functions in SQL; 10.5 Conclusion; Chapter 11: Triggers; 11.1 Creating Triggers; 11.2 Using Triggers; 11.3 Trigger Overhead; 11.4 Conclusion; Part III: Using MySQL Stored Programs in Applications; Chapter 12: Using MySQL Stored Programs in Applications; 12.1 The Pros and Cons of Stored Programs in Modern Applications; 12.2 Advantages of Stored Programs; 12.3 Disadvantages of Stored Programs; 12.4 Calling Stored Programs from Application Code; 12.5 Conclusion; Chapter 13: Using MySQL Stored Programs with PHP; 13.1 Options for Using MySQL with PHP; 13.2 Using PHP with the mysqli Extension; 13.3 Using MySQL with PHP Data Objects; 13.4 Conclusion; Chapter 14: Using MySQL Stored Programs with Java; 14.1 Review of JDBC Basics; 14.2 Using Stored Programs in JDBC; 14.3 Stored Programs and J2EE Applications; 14.4 Using Stored Procedures with Hibernate; 14.5 Using Stored Procedures with Spring; 14.6 Conclusion; Chapter 15: Using MySQL Stored Programs with Perl; 15.1 Review of Perl DBD::mysql Basics; 15.2 Executing Stored Programs with DBD::mysql; 15.3 Conclusion; Chapter 16: Using MySQL Stored Programs with Python; 16.1 Installing the MySQLdb Extension; 16.2 MySQLdb Basics; 16.3 Using Stored Programs with MySQLdb; 16.4 A Complete Example; 16.5 Conclusion; Chapter 17: Using MySQL Stored Programs with .NET; 17.1 Review of ADO.NET Basics; 17.2 Using Stored Programs in ADO.NET; 17.3 Using Stored Programs in ASP.NET; 17.4 Conclusion; Part IV: Optimizing Stored Programs; Chapter 18: Stored Program Security; 18.1 Permissions Required for Stored Programs; 18.2 Execution Mode Options for Stored Programs; 18.3 Stored Programs and Code Injection; 18.4 Conclusion; Chapter 19: Tuning Stored Programs and Their SQL; 19.1 Why SQL Tuning Is So Important; 19.2 How MySQL Processes SQL; 19.3 SQL Tuning Statements and Practices; 19.4 About the Upcoming Examples; 19.5 Conclusion; Chapter 20: Basic SQL Tuning; 20.1 Tuning Table Access; 20.2 Tuning Joins; 20.3 Conclusion; Chapter 21: Advanced SQL Tuning; 21.1 Tuning Subqueries; 21.2 Tuning "Anti-Joins" Using Subqueries; 21.3 Tuning Subqueries in the FROM Clause; 21.4 Tuning ORDER and GROUP BY; 21.5 Tuning DML (INSERT, UPDATE, DELETE); 21.6 Conclusion; Chapter 22: Optimizing Stored Program Code; 22.1 Performance Characteristics of Stored Programs; 22.2 How Fast Is the Stored Program Language?; 22.3 Reducing Network Traffic with Stored Programs; 22.4 Stored Programs as an Alternative to Expensive SQL; 22.5 Optimizing Loops; 22.6 IF and CASE Statements; 22.7 Recursion; 22.8 Cursors; 22.9 Trigger Overhead; 22.10 Conclusion; Chapter 23: Best Practices in MySQL Stored Program Development; 23.1 The Development Process; 23.2 Coding Style and Conventions; 23.3 Variables; 23.4 Conditional Logic; 23.5 Loop Processing; 23.6 Exception Handling; 23.7 SQL in Stored Programs; 23.8 Dynamic SQL; 23.9 Program Construction; 23.10 Performance; 23.11 Conclusion; Colophon;

Guy Harrison has worked with databases for more than a decade, has conducted many MySQL and Oracle training seminars, and is author of several books on Oracle, including "Oracle Desk Reference" (Prentice Hall PTR). Currently a product architect at Quest Software, Harrison has conducted many training seminars and has authored several articles for the Oracle Technical Journal. He resides in Australia.

Steven Feuerstein is considered one of the world's leading experts on the Oracle PL/SQL language. He is the author or coauthor of "Oracle PL/SQL Programming", "Oracle PL/SQL Best Practices", "Oracle PL/SQL Programming: Guide to Oracle8i Features", "Oracle PL/SQL Developer's Workbook", "Oracle Built-in Packages, Advanced Oracle PL/SQL Programming with Packages", and several pocket reference books (all from O'Reilly). Steven is a Senior Technology Advisor with Quest Software, has been developing software since 1980, and worked for Oracle Corporation from 1987 to 1992. He is currently designing and building Qnxo (www.qnxo.com), the world's first active mentoring software.

Customer Reviews

Average Rating 5
( 1 )

Rating Distribution

5 Star

(1)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or Leave Anonymously

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identiy on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

We're sorry, but penname is already taken.

Please select one of the following:
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

penname is available!

By visiting the BN.com website or marking a purchase on BN.com, a User is deemed to have accepted the Terms of Use.

Continue Anonymously

Welcome, penname

You have successfully created your Pen Name. Start enjoying the benefits of the BN.com Community today.

Sort by: Showing 1 Customer Review
  • Anonymous

    Posted October 7, 2006

    VERY VERY HIGHLY RECOMMENDED!!

    Are you a MySQL programmer? If you are, then this book is for you. Authors Guy Harrison and Steven Feuerstein, have done an outstanding job of writing a book that will help MySQL practitioners realize the full potential of MySQL stored programs. Harrison and Feuerstein, begin by introducing the MySQL stored program language and provide a detailed description of the language structure and usage. Then, the authors describe how you can use the MySQL elements to build functional and useful store programs. The authors then show you how to use the stored programs within applications. Finally, they show you how to get programs to work correctly by making them perform efficiently, robust and secure, and be easily maintained. This most excellent book describes the stored program language introduced in MySQL 5.0. More importantly, this book will help you get the job done!!

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Review

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)
500 character limit