日期:2014-05-18 浏览次数:20644 次
select * from sysobjects a,syscolumns b where a.id=b.id and a.xtype='u'
------解决方案--------------------
楼上正解
------解决方案--------------------
select a.name dbname, b.name colname from sysobjects a , syscolumns b where a.id=b.id and a.xtype = 'u' order by a.name , b.colid