时间:2021-07-01 10:21:17 帮助过:7人阅读
select * from Base_ValueSetDef where id=1001609280001529 --企业规模
select * from Base_ValueSetDef where id=1001609280001206 --厂房或办公地点
select A.[ID], A.[Code], A1.[Name], A.[DependantCode] from Base_DefineValue as A left join [Base_DefineValue_Trl] as A1 on (A1.SysMlFlag = ‘zh-CN‘) and (A.[ID] = A1.[ID]) where (A.[ValueSetDef] = 1001609280001529) and code=‘SP03‘
select A.[ID], A.[Code], A1.[Name], A.[DependantCode] from Base_DefineValue as A left join [Base_DefineValue_Trl] as A1 on (A1.SysMlFlag = ‘zh-CN‘) and (A.[ID] = A1.[ID]) where (A.[ValueSetDef] = 1001609280001206)
--查看指定值集的值集值定义 select a .ID, a.ValueSetDef , a .Code, at.Name from Base_DefineValue a left outer join Base_DefineValue_Trl at on a.id =at. id and at. SysMLFlag=‘zh-cn‘ where ValueSetDef =1001307180000293 --修改字段定义的值集(一般用于已使用不能修改的情况) update Base_DescFlexSegment set ValueSetDef=1001307180000327 where id =1001307180000342 update Base_DescFlexSegment set ValueSetDef =(select top 1 id from Base_ValueSetDef where code= ‘3204‘) where id =XXX --修改指定值集档案的最小值 update Base_ValueSetDef set MinValue=-999999 where id =1001307180000291实体扩展字段SQL相关
标签:play out val mil segment and ext nbsp new