读书人

查看数据库中是不是存在某张表

发布时间: 2012-09-19 13:43:53 作者: rapoo

查看数据库中是否存在某张表
select count(*) from information_schema.tables where table_schema = '数据库名' and table_name = '表名';

读书人网 >其他数据库

热点推荐