获得数据库表的列数

select count(1) from syscolumns where id = object_id('yourTableName');

posted on 2007-10-05 14:25  小乔的闺房  阅读(237)  评论(0编辑  收藏  举报

导航