日期:2014-05-19  浏览次数:20464 次

查询表中有多少列?
奇怪怎么老是错的?

------解决方案--------------------
select count(*) from syscolumns where id = object_id( 'yourTableName ')