select count(*) from syscolumns where id=object_id('表名') 
 posted on 2011-05-11 16:39  dongpo  阅读(264)  评论(0)    收藏  举报