--获取所有表名
select name from sysobjects where xtype='u'
--获取表的所有列名
select name from syscolumns where id=object_id('unitinfo') order by colorder
--获取所有表名
select name from sysobjects where xtype='u'
--获取表的所有列名
select name from syscolumns where id=object_id('unitinfo') order by colorder