8
I am trying to count the number of existing tables in a Mysql database.
I tried to do it the way below, but returned a syntax error:
SELECT COUNT(SHOW TABLES)
How can I do that?
8
I am trying to count the number of existing tables in a Mysql database.
I tried to do it the way below, but returned a syntax error:
SELECT COUNT(SHOW TABLES)
How can I do that?
8
Do so:
USE databasename; SHOW TABLES; SELECT FOUND_ROWS();
Browser other questions tagged mysql sql database
You are not signed in. Login or sign up in order to post.
In a nutshell, again
– Wallace Maxters