select b.name,a.colid,a.name
,(select systypes.name+'('+cast(a.length/2as varchar(10))+')' from systypes where a.xusertype=systypes.xusertype ) type
fromsyscolumns a
left outer join sysobjects b
on a.id=b.id
where b.xtype='U'and b.name = 'hq_hotel'
order by b.name,a.colid

 

相关文章:

  • 2021-10-19
  • 2022-12-23
  • 2021-12-08
  • 2021-05-15
  • 2021-11-02
猜你喜欢
  • 2021-11-03
  • 2021-05-09
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2021-11-02
相关资源
相似解决方案