1.SQL统计某张表的列数。时间:2023-03-09 20:04:52 select count(syscolumns.name) from syscolumns , sysobjects where syscolumns.id = sysobjects.id and sysobjects.name = '表名'