Fight With Me!!!

导航

MySQL中怎么查询一张表的列数

select count(1) from information_schema.columns where table_schema='dbname' and table_name='tbname;

posted on 2016-06-11 14:09  nickTimer  阅读(789)  评论(0编辑  收藏  举报