码迷,mamicode.com
首页 > 数据库 > 详细

How to select a OptionSet on ms sqlserver database

时间:2014-12-04 17:48:13      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:io   os   sp   strong   on   log   bs   cti   ef   

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‘

 

How to select a OptionSet on ms sqlserver database

标签:io   os   sp   strong   on   log   bs   cti   ef   

原文地址:http://www.cnblogs.com/haoliansheng/p/4143318.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!