Skip to Content
MySQL, 5th Edition
book

MySQL, 5th Edition

by Paul DuBois
April 2013
Intermediate to advanced
1276 pages
42h 16m
English
Addison-Wesley Professional
Content preview from MySQL, 5th Edition

4. Views and Stored Programs

MySQL supports several types of server-side objects. These are objects that you create and the server stores for later execution.

Views are one type of stored object. A view is a virtual table. That is, it acts like a table but actually contains no data. Instead, it is defined in terms of tables or other views and provides alternative ways to look at table data. Views can make application development easier by providing a simple way to run complex queries.

Stored programs are another type of stored object. These come in several forms. Some can be invoked on demand. Others execute automatically when table modifications occur or when a scheduled time is reached:

• A stored function returns a result from a calculation ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

MySQL Cookbook, 3rd Edition

MySQL Cookbook, 3rd Edition

Paul DuBois
MySQL Cookbook, 4th Edition

MySQL Cookbook, 4th Edition

Sveta Smirnova, Alkin Tezuysal
Learning MySQL, 2nd Edition

Learning MySQL, 2nd Edition

Vinicius M. Grippa, Sergey Kuzmichev
SQL Cookbook, 2nd Edition

SQL Cookbook, 2nd Edition

Anthony Molinaro, Robert de Graaf

Publisher Resources

ISBN: 9780133038552Purchase book