Cloud通过单据标识查询单据名称

select * from T_META_OBJECTTYPE_L where FID = 'SAL_SaleOrder'

 

 

select
FID
,(select FNAME
  from T_META_OBJECTTYPE_L
  where FID = T_META_OBJECTTYPE_Temp.FID
  and FLOCALEID = 2052) FNAME
,FKERNELXML
,(select
  FNAME
  from T_META_OBJECTTYPE_L
  where FID = T_META_OBJECTTYPE_Temp.FID and FLOCALEID = '2052') FNAME
,Item
from
(select FKERNELXML.query('//TableName') 'Item', * from T_META_OBJECTTYPE)
T_META_OBJECTTYPE_Temp
where convert(varchar(max),Item) like '%T_SEC_USER%'

posted @ 2020-04-06 09:20  放放的Blog  阅读(377)  评论(0编辑  收藏  举报