April 2013
Intermediate to advanced
1276 pages
42h 16m
English
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 ...