I’ve read the documentation on creating VIEWs in mysql, and I can’t figure out if views are a temporary thing or if they are permanent. If I only want to use them for one session, do I need to manually add a DROP VIEW query to my PHP script, or do views get destroyed when the connection closes?
Share
Once created, views persist until dropped – Very much like normal tables. They are not dropped when the current connection session ends like temporary tables.