Używamy cookies, aby ułatwić korzystanie z Portalu. Możesz określić warunki przechowywania, dostępu do plików cookies w Twojej przeglądarce. Dowiedz się więcej.
strona główna Strona główna | Nowości | Promocje | Zapowiedzi Twoje konto | Zarejestruj | Schowek | Kontakt | Pomoc
mapa działów
Szukaj: szukanie zaawansowane
Książki \ Bazy danych \ MySQL

MySQL Stored Procedure Programming Język: 2


Cena Brutto: 180.18

Cena netto: 171.60

Wersja: Drukowana
Autor Steven Feuerstein
Liczba_stron 640
Wydawnictwo OReilly Media
Data_Wydania 2006-03-28
Poziom All Levels

Informacje podstawowe:

  • Wydawnictwo: O'Reilly Media
  • Data wydania: 28 marca 2006
  • Liczba stron: 640
  • Autor/autorzy:
    • Guy Harrison
    • Steven Feuerstein


The implementation of stored procedures in MySQL 5.0 a hugemilestone - one that is expected to lead to widespread enterprise adoption ofthe already extremely popular MySQL database. If you are serious aboutbuilding the web-based database applications of the future, you need toget up to speed quickly on how stored procedures work - and how tobuild them the right way. This book, destined to be the bible of storedprocedure development, is a resource that no real MySQL programmer canafford to do without.

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

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

In MySQL Stored Procedure Programming, they putthat hard-won experience to good use. Packed with code examples and coveringeverything from language basics to application building to advancedtuning and best practices, this highly readable book is the one-stopguide to MySQL development. It consists of four major sections:

  • MySQL stored programming fundamentals - tutorial, basicstatements, 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 storedprograms with PHP, Java, Perl, Python, and .NET (C# and VB.NET)
  • Optimizing MySQL stored programs - security, basic andadvanced SQL tuning, optimizing stored program code, and programmingbest practices

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

Guy Harrison is Chief Architect of Database Solutions at Quest Softwareand a frequent speaker and writer on MySQL topics. Steven Feuerstein isthe 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.

O autorze/autorach:

Guy Harrison

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.

View Guy Harrison's full profile page.

Steven Feuerstein

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.

View Steven Feuerstein's full profile page.

Zawartość (spis treści):

  1. Stored Programming Fundamentals

    1. Chapter 1 Introduction to MySQL Stored Programs
      1. What Is a Stored Program?
      2. A Quick Tour
      3. Resources for Developers Using Stored Programs
      4. Some Words of Advice for Developers
      5. Conclusion
    2. Chapter 2 MySQL Stored Programming Tutorial
      1. What You Will Need
      2. Our First Stored Procedure
      3. Variables
      4. Parameters
      5. Conditional Execution
      6. Loops
      7. Dealing with Errors
      8. Interacting with the Database
      9. Calling Stored Programs from Stored Programs
      10. Putting It All Together
      11. Stored Functions
      12. Triggers
      13. Calling a Stored Procedure from PHP
      14. Conclusion
    3. Chapter 3 Language Fundamentals
      1. Variables, Literals, Parameters, and Comments
      2. Operators
      3. Expressions
      4. Built-in Functions
      5. Data Types
      6. MySQL 5 "Strict" Mode
      7. Conclusion
    4. Chapter 4 Blocks, Conditional Statements, and Iterative Programming
      1. Block Structure of Stored Programs
      2. Conditional Control
      3. Iterative Processing with Loops
      4. Conclusion
    5. Chapter 5 Using SQL in Stored Programming
      1. Using Non-SELECT SQL in Stored Programs
      2. Using SELECT Statements with an INTO Clause
      3. Creating and Using Cursors
      4. Using Unbounded SELECT Statements
      5. Performing Dynamic SQL with Prepared Statements
      6. Handling SQL Errors: A Preview
      7. Conclusion
    6. Chapter 6 Error Handling
      1. Introduction to Error Handling
      2. Condition Handlers
      3. Named Conditions
      4. Missing SQL:2003 Features
      5. Putting It All Together
      6. Handling Stored Program Errors in the Calling Application
      7. Conclusion
  2. Stored Program Construction

    1. Chapter 7 Creating and Maintaining Stored Programs
      1. Creating Stored Programs
      2. Editing an Existing Stored Program
      3. SQL Statements for Managing Stored Programs
      4. Getting Information About Stored Programs
      5. Conclusion
    2. Chapter 8 Transaction Management
      1. Transactional Support in MySQL
      2. Defining a Transaction
      3. Working with Savepoints
      4. Transactions and Locks
      5. Transaction Design Guidelines
      6. Conclusion
    3. Chapter 9 MySQL Built-in Functions
      1. String Functions
      2. Numeric Functions
      3. Date and Time Functions
      4. Other Functions
      5. Conclusion
    4. Chapter 10 Stored Functions
      1. Creating Stored Functions
      2. SQL Statements in Stored Functions
      3. Calling Stored Functions
      4. Using Stored Functions in SQL
      5. Conclusion
    5. Chapter 11 Triggers
      1. Creating Triggers
      2. Using Triggers
      3. Trigger Overhead
      4. Conclusion
  3. Using MySQL Stored Programs in Applications

    1. Chapter 12 Using MySQL Stored Programs in Applications
      1. The Pros and Cons of Stored Programs in Modern Applications
      2. Advantages of Stored Programs
      3. Disadvantages of Stored Programs
      4. Calling Stored Programs from Application Code
      5. Conclusion
    2. Chapter 13 Using MySQL Stored Programs with PHP
      1. Options for Using MySQL with PHP
      2. Using PHP with the mysqli Extension
      3. Using MySQL with PHP Data Objects
      4. Conclusion
    3. Chapter 14 Using MySQL Stored Programs with Java
      1. Review of JDBC Basics
      2. Using Stored Programs in JDBC
      3. Stored Programs and J2EE Applications
      4. Using Stored Procedures with Hibernate
      5. Using Stored Procedures with Spring
      6. Conclusion
    4. Chapter 15 Using MySQL Stored Programs with Perl
      1. Review of Perl DBD::mysql Basics
      2. Executing Stored Programs with DBD::mysql
      3. Conclusion
    5. Chapter 16 Using MySQL Stored Programs with Python
      1. Installing the MySQLdb Extension
      2. MySQLdb Basics
      3. Using Stored Programs with MySQLdb
      4. A Complete Example
      5. Conclusion
    6. Chapter 17 Using MySQL Stored Programs with .NET
      1. Review of ADO.NET Basics
      2. Using Stored Programs in ADO.NET
      3. Using Stored Programs in ASP.NET
      4. Conclusion
  4. Optimizing Stored Programs

    1. Chapter 18 Stored Program Security
      1. Permissions Required for Stored Programs
      2. Execution Mode Options for Stored Programs
      3. Stored Programs and Code Injection
      4. Conclusion
    2. Chapter 19 Tuning Stored Programs and Their SQL
      1. Why SQL Tuning Is So Important
      2. How MySQL Processes SQL
      3. SQL Tuning Statements and Practices
      4. About the Upcoming Examples
      5. Conclusion
    3. Chapter 20 Basic SQL Tuning
      1. Tuning Table Access
      2. Tuning Joins
      3. Conclusion
    4. Chapter 21 Advanced SQL Tuning
      1. Tuning Subqueries
      2. Tuning "Anti-Joins" Using Subqueries
      3. Tuning Subqueries in the FROM Clause
      4. Tuning ORDER and GROUP BY
      5. Tuning DML (INSERT, UPDATE, DELETE)
      6. Conclusion
    5. Chapter 22 Optimizing Stored Program Code
      1. Performance Characteristics of Stored Programs
      2. How Fast Is the Stored Program Language?
      3. Reducing Network Traffic with Stored Programs
      4. Stored Programs as an Alternative to Expensive SQL
      5. Optimizing Loops
      6. IF and CASE Statements
      7. Recursion
      8. Cursors
      9. Trigger Overhead
      10. Conclusion
    6. Chapter 23 Best Practices in MySQL Stored Program Development
      1. The Development Process
      2. Coding Style and Conventions
      3. Variables
      4. Conditional Logic
      5. Loop Processing
      6. Exception Handling
      7. SQL in Stored Programs
      8. Dynamic SQL
      9. Program Construction
      10. Performance
      11. Conclusion
  1. Colophon

Produkty Podobne
PHP, MySQL i JavaScript. Wprowadzenie. Wydanie V
PHP i MySQL. Dynamiczne strony WWW. Szybki start. Wydanie V
PHP i MySQL. Tworzenie stron WWW. Vademecum profesjonalisty. Wydanie V
PHP i MySQL. Dla każdego. Wydanie III
PHP and MySQL Web Development, 5th Edition
The Language of SQL, 2nd Edition
Getting Started with SQL
PHP, MySQL i JavaScript. Wprowadzenie. Wydanie IV
Learning MySQL and MariaDB
Learning PHP, MySQL & JavaScript, 4th Edition
Więcej produktów