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