读书人

判断表是不是存在

发布时间: 2012-07-04 19:33:55 作者: rapoo

判断表是否存在
select count(*) from information_schema.tables where table_schema = '数据库名' and table_name = '表名';

读书人网 >其他数据库

热点推荐