ciao a tutti, è possibile contare tutte le tabelle create e contenutre in un database tramite codice mysql?
ciao a tutti, è possibile contare tutte le tabelle create e contenutre in un database tramite codice mysql?
Certo. Documentati sull'information_schema.
http://dev.mysql.com/doc/refman/5.0/...les-table.html
Come potrai vedere potrai filtrare su engine, tipologia (tabelle o viste), ecc.codice:select count(*) as tabelle from information_schema.tables where table_schema = 'nome_database'
grazie milleera proprio di cui avevo bisogno