SyntaxFix
Write A Post
Hire A Developer
Questions
You can query the INFORMATION_SCHEMA tables system view:
tables
SELECT table_name FROM information_schema.tables WHERE table_schema = 'databasename' AND table_name = 'testtable';
If no rows returned, then the table doesn't exist.