SQL语句:
select syscolumns.name,systypes.name,syscolumns.length
from syscolumns
join sysobjects on syscolumns.id=sysobjects.id and sysobjects.xtype=‘U‘
join systypes on systypes.xtype=syscolumns.xtype
where sysobjects.name=‘master_location‘
order by syscolumns.id
能够将查询出来的表字段的具体信息,拷贝粘贴到Word中。
获得sql server的table的表结构 -- 转到word中,布布扣,bubuko.com
时间: 2025-01-01 11:05:58