日期:2014-05-17  浏览次数:20707 次

怎么得出一个表中列的数量呢?
如题

------解决方案--------------------
select count(*) as 字段个数
from syscolumns
where id=object_id('表名')