SELECT count(*) FROM information_schema.columns WHERE table_name = 'tableName' 转载于:https://www.cnblogs.com/qiguocang/p/11457491.html