How to check if a table exists in the database?
SELECT * FROM Tab
LIMIT 1
Too indirectly, besides, such a query will first vyrёt all the records from the table, then it will cut to 1. Is there something more elegant?
How to check if a table exists in the database?
SELECT * FROM Tab
LIMIT 1
Too indirectly, besides, such a query will first vyrёt all the records from the table, then it will cut to 1. Is there something more elegant?
Source: https://ru.stackoverflow.com/questions/106685/
All Articles