sql统计表总数以及表中字段总数
sql统计表总数:select count() from sysobjects where type=‘U’
统计字段总数:select count() from syscolumns where id = object_id(‘表名’)
版权声明:本文为匿名原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
sql统计表总数:select count() from sysobjects where type=‘U’
统计字段总数:select count() from syscolumns where id = object_id(‘表名’)