SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'dbName';
Tohle je moje:
USE databasename;
SHOW TABLES;
SELECT FOUND_ROWS();
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'dbName';
Tohle je moje:
USE databasename;
SHOW TABLES;
SELECT FOUND_ROWS();