sql 查询表的字段数量时间:2022-03-04 00:39:26select COUNT(a.name) from sys.all_columns a,sys.tables b where a.object_id=b.object_id and b.name= 'table_name'