Home » Mysql » Check if table exists without using “select from”

Check if table exists without using “select from”

Posted by: admin May 28, 2018 Leave a comment

Questions:

Is there a way to check if a table exists without selecting and checking values from it?

That is, I know I can go SELECT testcol FROM testtable and check the count of fields returned, but it seems there must be a more direct / elegant way to do it.

Answers: