首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

判断表是不是存在

2012-07-04 
判断表是否存在select count(*) from information_schema.tables where table_schema 数据库名 and ta

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

热点排行