判断表是否存在

select count(*) from information_schema.tables where table_schema = '数据库名' and table_name = '表名';

猜你喜欢

转载自491569462-qq-com.iteye.com/blog/1424070