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
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
转载于:https://www.cnblogs.com/stublue/archive/2010/07/16/1779251.html