摘要:
获得列名select name from syscolumns where id=object_id('ds_field')或select col_name(object_id('table'),1) from sysobjects where name='table'--读取库中的所有表名 select name from sysobjects where xtype='u'--读取指定表的所有列名 select name from syscolumns where id=(select max(id) from sysobje 阅读全文