返回行数:
SELECT count(*) FROM TABLE
返回列数:
select count(name) from syscolumns where id=(select id from sysobjects where xtype='u' and name='game_ybqd'),其中'game_ybqd'是具体的表名。