檢查table是否存在於database

以下簡單的sql就可以查出table是否存在於資料庫:

show tables like 'table_name';

沒有留言: