MySQL Cookbook
Solutions and Examples for Database Developers and DBAs - Includes Ruby Examples
Paul DuBois - Collection Cookbook
Résumé
Along with MySQL's popularity has come a flood of questions about solving specific problems, and that's where this Cookbook is essential. Designed as a handy resource when you need quick solutions or techniques, the book offers dozens of short, focused pieces of code and hundreds of worked-out examples for programmers of all levels who don't have the time (or expertise) to solve MySQL problems from scratch.
The new edition covers MySQL 5.0 and its powerful new features, as well as the older but still widespread MySQL 4.1. One major emphasis of this book is how to use SQL to formulate queries for particular kinds of questions, using the mysql client program included in MySQL distributions. The other major emphasis is how to write programs that interact with the MySQL server through an API. You'll find plenty of examples using several language APIs in multiple scenarios and situations, including the use of Ruby to retrieve and format data. There are also many new examples for using Perl, PHP, Python, and Java as well.
Other recipes in the book teach you to:
- Access data from multiple tables at the same time
- Use SQL to select, sort, and summarize rows
- Find matches or mismatches between rows in two tables
- Determine intervals between dates or times, including age calculations
- Store images into MySQL and retrieve them for display in web pages
- Get LOAD DATA to read your data files properly or find which values in the file are invalid
- Use strict mode to prevent entry of bad data into your database
- Copy a table or a database to another server
- Generate sequence numbers to use as unique row identifiers
- Create database events that execute according to a schedule
- And a lot more
MySQL Cookbook doesn't attempt to develop full-fledged, complex applications. Instead, it's intended to assist you in developing applications yourself by helping you get past problems that have you stumped.
L'auteur - Paul DuBois
Paul DuBois is a writer, database administrator, and
leader in the Open Source and MySQL communities. He
contributed to the online documentation for MySQL and is
the author MySQL and Perl for the Web (New Riders
Publishing), and MySQL Cookbook, Using csh and tcsh, and
Software Portability with imake (O'Reilly and
Associates).
Sommaire
- Preface
- Using the mysql Client Program
- Writing MySQL-Based Programs
- Selecting Data from Tables
- Table Management
- Working with Strings
- Working with Dates and Times
- Sorting Query Results
- Generating Summaries
- Obtaining and Using Metadata
- Importing and Exporting Data
- Generating and Using Sequences
- Using Multiple Tables
- Statistical Techniques
- Handling Duplicates
- Performing Transactions
- Using Stored Routines, Triggers, and Events
- Introduction to MySQL on the Web
- Incorporating Query Results into Web Pages
- Processing Web Input with MySQL
- Using MySQL-Based Web Session Management
- A: Obtaining MySQL Software
- B: Executing Programs from the Command Line
- C: JSP and Tomcat Primer
- D: References
- Index
Caractéristiques techniques
PAPIER | |
Éditeur(s) | O'Reilly |
Auteur(s) | Paul DuBois |
Collection | Cookbook |
Parution | 08/12/2006 |
Édition | 2eme édition |
Nb. de pages | 950 |
Format | 18 x 23,5 |
Couverture | Broché |
Poids | 1543g |
Intérieur | Noir et Blanc |
EAN13 | 9780596527082 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse