--1、怎么样获取库中所有用户表的表名,表的个数select 表名=name from sysobjects where xtype='U' and status>=0
select 表的个数=@@rowcount
--2、怎么样获取表中字段的个数select 字段名=name from syscolumns where id=object_id('要查询的表名')
select 字段的个数=@@rowcount
select 表的个数=@@rowcount
--2、怎么样获取表中字段的个数select 字段名=name from syscolumns where id=object_id('要查询的表名')
select 字段的个数=@@rowcount
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货