表结构系统表

SELECT
a.name as COLUMN_NAME,
b.name as TYPE_NAME,
a.xprec as PRECISION,
a.xscale as SCALE,
a.length as LENGTH
FROM wgenius..syscolumns a, wgenius..systypes b
WHERE a.id = object_id('wgenius..WM_FND_LABEL_INFO') AND a.xtype = b.xtype

posted @ 2021-05-23 09:00  yongqi-911  阅读(38)  评论(0编辑  收藏  举报