您的位置:首页 > 博客中心 > 数据库 >

How to select a OptionSet on ms sqlserver database

时间:2022-03-14 03:22

OptionSet:

Select * from StringMap

 

Global OptionSet:

select  os.Name, l.Label from AttributePicklistValueAsIfPublishedLogicalView av

join OptionSetAsIfPublishedLogicalView   os

on av.OptionSetId = os.optionsetid

join LocalizedLabelAsIfPublishedLogicalView   l

on l.ObjectId = av.AttributePicklistValueId

where os.IsGlobal = 1 and os.IsCustomOptionSet =   1

and os.Name = ‘new_xxx‘

 

热门排行

今日推荐

热门手游