27.5.5 View Metadata
MySQL 8.4 Reference Manual Including MySQL NDB Cluster 8.4
27.5.5 View Metadata
To obtain metadata about views:
- Query the
VIEWStable of theINFORMATION_SCHEMAdatabase. See Section 28.3.47, “The INFORMATION_SCHEMA VIEWS Table”. - Use the
SHOW CREATE VIEWstatement. See Section 15.7.7.14, “SHOW CREATE VIEW Statement”.
