SQL语句查询表中的列名

SQL语句查询表中的列名


2008-04-02 17:12用SQL语句查询数据库的表中的所有列名:

select name from syscolumns where id=object_id('表名') order by colorder

【order by colorder】原始顺序

from:http://hi.baidu.com/jebeljebel/blog/item/82a95e54fb39605cd0090663.html

posted on 2010-07-16 21:55  Leon_He  阅读(6591)  评论(0编辑  收藏  举报

导航