select b.name,a.name,c.name,a.xprec,a.xscale
from  syscolumns a
left outer join sysobjects b ON a.id=b.id
left outer join systypes c ON c.xusertype=a.xusertype
where b.xtype='U' AND b.name LIKE '%CRM_PS%'
AND (select systypes.name+'('+cast(a.length/2  as varchar(10))+')' from systypes where a.xusertype=systypes.xusertype ) LIKE '%decimal%'
order by b.name,a.colid

相关文章:

  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2021-07-26
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2021-08-18
  • 2021-12-08
  • 2021-05-15
  • 2022-12-23
相关资源
相似解决方案