sql获取总列数

Select count(*) from syscolumns where object_name(id)='表名'

  可以获取表的列数

posted @ 2013-10-25 16:32  Moulton  阅读(300)  评论(0编辑  收藏  举报