SELECT
(case when a.colorder=1 then d.name else '' end) N'表名',
a.name N'字段名'

FROM syscolumns a
inner join sysobjects d
on a.id=d.id and d.xtype='U' and d.name<>'dtproperties'
where d.name = '表名'
order by object_name(a.id),a.colorder

相关文章:

  • 2021-11-03
  • 2021-11-22
  • 2022-01-16
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-05
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
相关资源
相似解决方案