How to check if several tables exist in database, and how to show it in Mysql

dba.stackexchange https://dba.stackexchange.com/questions/63718

  •  02-11-2019
  •  | 
  •  

Вопрос

I would like to check if several tables exist in a database, and return a easy to understand return, I know you can check if a single table exists by running

show tables like "foo";

but is there something that could check more than one, and could return something that is not a list of tables that exists since there are more than a dozen that needs to be checked.

Perhaps counting the found tables?

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с dba.stackexchange
scroll top