Like the bestselling Oracle PL/SQL Programming, also written by database expert Steven Feuerstein, MySQL Stored Procedure Programming covers a lot of ground. The book starts with a thorough introduction to stored procedures programming and functions, covering the fundamentals of data types, operators, and using SQL in stored procedures. You'll learn how to build and maintain stored programs -- covering transactions, stored functions, and triggers -- and how to call and use MySQL-based stored procedures in a variety of languages, including PHP, Perl, Python, .NET, and Java. The book also…mehr
Like the bestselling Oracle PL/SQL Programming, also written by database expert Steven Feuerstein, MySQL Stored Procedure Programming covers a lot of ground. The book starts with a thorough introduction to stored procedures programming and functions, covering the fundamentals of data types, operators, and using SQL in stored procedures. You'll learn how to build and maintain stored programs -- covering transactions, stored functions, and triggers -- and how to call and use MySQL-based stored procedures in a variety of languages, including PHP, Perl, Python, .NET, and Java. The book also includes advanced material that describes what you need to know to write high-quality, performance-oriented programs with an emphasis on tuning and best practices.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....
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.
Inhaltsangabe
Preface Part I. Stored Programming Fundamentals 1. Introduction to MySQL Stored Programs What Is a Stored Program? A Quick Tour Resources for Developers Using Stored Programs Some Words of Advice for Developers Conclusion 2. MySQL Stored Programming Tutorial What You Will Need Our First Stored Procedure Variables Parameters Conditional Execution Loops Dealing with Errors Interacting with the Database Calling Stored Programs from Stored Programs Putting It All Together Stored Functions Triggers Calling a Stored Procedure from PHP Conclusion 3. Language Fundamentals Variables, Literals, Parameters, and Comments Operators Expressions Built-in Functions Data Types MySQL 5 "Strict" Mode Conclusion 4. Blocks, Conditional Statements, and Iterative Programming Block Structure of Stored Programs Conditional Control Iterative Processing with Loops Conclusion 5. Using SQL in Stored Programming Using Non-SELECT SQL in Stored Programs Using SELECT Statements with an INTO Clause Creating and Using Cursors Using Unbounded SELECT Statements Performing Dynamic SQL with Prepared Statements Handling SQL Errors: A Preview Conclusion 6. Error Handling Introduction to Error Handling Condition Handlers Named Conditions Missing SQL:2003 Features Putting It All Together Handling Stored Program Errors in the Calling Application Conclusion Part II. Stored Program Construction 7. Creating and Maintaining Stored Programs Creating Stored Programs Editing an Existing Stored Program SQL Statements for Managing Stored Programs Getting Information About Stored Programs Conclusion 8. Transaction Management Transactional Support in MySQL Defining a Transaction Working with Savepoints Transactions and Locks Transaction Design Guidelines Conclusion 9. MySQL Built-in Functions String Functions Numeric Functions Date and Time Functions Other Functions Conclusion 10. Stored Functions Creating Stored Functions SQL Statements in Stored Functions Calling Stored Functions Using Stored Functions in SQL Conclusion 11. Triggers Creating Triggers Using Triggers Trigger Overhead Conclusion Part III. Using MySQL Stored Programs in Applications 12. Using MySQL Stored Programs in Applications The Pros and Cons of Stored Programs in Modern Applications Advantages of Stored Programs Disadvantages of Stored Programs Calling Stored Programs from Application Code Conclusion 13. Using MySQL Stored Programs with PHP Options for Using MySQL with PHP Using PHP with the mysqli Extension Using MySQL with PHP Data Objects Conclusion 14. Using MySQL Stored Programs with Java Review of JDBC Basics Using Stored Programs in JDBC
Preface Part I. Stored Programming Fundamentals 1. Introduction to MySQL Stored Programs What Is a Stored Program? A Quick Tour Resources for Developers Using Stored Programs Some Words of Advice for Developers Conclusion 2. MySQL Stored Programming Tutorial What You Will Need Our First Stored Procedure Variables Parameters Conditional Execution Loops Dealing with Errors Interacting with the Database Calling Stored Programs from Stored Programs Putting It All Together Stored Functions Triggers Calling a Stored Procedure from PHP Conclusion 3. Language Fundamentals Variables, Literals, Parameters, and Comments Operators Expressions Built-in Functions Data Types MySQL 5 "Strict" Mode Conclusion 4. Blocks, Conditional Statements, and Iterative Programming Block Structure of Stored Programs Conditional Control Iterative Processing with Loops Conclusion 5. Using SQL in Stored Programming Using Non-SELECT SQL in Stored Programs Using SELECT Statements with an INTO Clause Creating and Using Cursors Using Unbounded SELECT Statements Performing Dynamic SQL with Prepared Statements Handling SQL Errors: A Preview Conclusion 6. Error Handling Introduction to Error Handling Condition Handlers Named Conditions Missing SQL:2003 Features Putting It All Together Handling Stored Program Errors in the Calling Application Conclusion Part II. Stored Program Construction 7. Creating and Maintaining Stored Programs Creating Stored Programs Editing an Existing Stored Program SQL Statements for Managing Stored Programs Getting Information About Stored Programs Conclusion 8. Transaction Management Transactional Support in MySQL Defining a Transaction Working with Savepoints Transactions and Locks Transaction Design Guidelines Conclusion 9. MySQL Built-in Functions String Functions Numeric Functions Date and Time Functions Other Functions Conclusion 10. Stored Functions Creating Stored Functions SQL Statements in Stored Functions Calling Stored Functions Using Stored Functions in SQL Conclusion 11. Triggers Creating Triggers Using Triggers Trigger Overhead Conclusion Part III. Using MySQL Stored Programs in Applications 12. Using MySQL Stored Programs in Applications The Pros and Cons of Stored Programs in Modern Applications Advantages of Stored Programs Disadvantages of Stored Programs Calling Stored Programs from Application Code Conclusion 13. Using MySQL Stored Programs with PHP Options for Using MySQL with PHP Using PHP with the mysqli Extension Using MySQL with PHP Data Objects Conclusion 14. Using MySQL Stored Programs with Java Review of JDBC Basics Using Stored Programs in JDBC
Es gelten unsere Allgemeinen Geschäftsbedingungen: www.buecher.de/agb
Impressum
www.buecher.de ist ein Internetauftritt der buecher.de internetstores GmbH
Geschäftsführung: Monica Sawhney | Roland Kölbl | Günter Hilger
Sitz der Gesellschaft: Batheyer Straße 115 - 117, 58099 Hagen
Postanschrift: Bürgermeister-Wegele-Str. 12, 86167 Augsburg
Amtsgericht Hagen HRB 13257
Steuernummer: 321/5800/1497
USt-IdNr: DE450055826