davidwaterston
9/18/2012 - 6:21 AM

MySQL: Check if a table exists - version 1

MySQL: Check if a table exists - version 1

select table_name as found
from information_schema.tables 
where table_schema = '__database_name__' 
  and table_name = '__table_name__'