1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
Hello,
Instead of SHOW TABLES, how about using the information_schema table?
SELECT * FROM information_schema.tables WHERE table_schema = 'database'
If you want to pull views separately, query the information_schema.views table.
Contenido relevante
- preguntada hace 8 meses
- preguntada hace 5 meses
- preguntada hace un año
- preguntada hace 6 meses

Hi, thanks for your response. That doesn't work.
The view in my database is listed in
information_schema.tableswhileinformation_schema.viewsis empty. How is that possible at all?