ITeye博客

判断表是否存在

harbey · 2010-01-14 09:48 · mysql · 数据库 · Markdown


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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。