I need to check if a database is totally empty (no tables) using an SQL query. How can this be done?
Thanks for the help!
"select * from information_schema.tables" will give you a list of tables on most databases.