通过sql语句导出表结构 SELECT 表名 Then D.name Else '' End, 表说明 Then isnull(F.value,'') Else '' End, 字段序号 = A.colorder, 字段名 = A.name, 字段说明 = isnull(G.[value],''), 标识 Then '√'Else '' End, 主键 FROM sysobjects Where xtype='PK' and parent_obj=A.id and name in ( SELEC…