Table of Contents [+/-]
Views (including updatable views) are available in MySQL Server 5.1.
Answers to some frequently asked questions concerning views in MySQL 5.1 can be found in Section A.6, “MySQL 5.1 FAQ — Views”.
This chapter discusses the following topics:
Creating or altering views with CREATE VIEW
or ALTER VIEW
Destroying views with DROP VIEW
Discussion of restrictions on use of views is given in Section D.4, “Restrictions on Views”.
To use views if you have upgraded to MySQL 5.1 from an older release that did not support views, you should upgrade your grant tables so that they contain the view-related privileges. See Section 4.4.8, “mysql_upgrade — Check Tables for MySQL Upgrade”.
Metadata about views can be obtained from the
INFORMATION_SCHEMA.VIEWS table and by using the
SHOW CREATE VIEW statement. See
Section 25.15, “The INFORMATION_SCHEMA VIEWS Table”, and
Section 12.5.4.11, “SHOW CREATE VIEW Syntax”.

User Comments
Add your own comment.