1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
Hi, thanks for your response. That doesn't work.
The view in my database is listed in
information_schema.tables
whileinformation_schema.views
is empty. How is that possible at all?