• CRM 实体列名和标签名称


    CREATE VIEW v_entity_attribute 
    
    AS 
    
    
    
    SELECT  EntityView.Name AS EntityName, LocalizedLabelView_1.Label AS EntityDisplayName,
    
           AttributeView.Name AS AttributeName, LocalizedLabelView_2.Label AS AttributeDisplayName 
    
    FROM    LocalizedLabelView AS LocalizedLabelView_2 INNER JOIN
    
           AttributeView ON LocalizedLabelView_2.ObjectId = AttributeView.AttributeId RIGHT OUTER JOIN
    
           EntityView INNER JOIN
    
           LocalizedLabelView AS LocalizedLabelView_1 ON EntityView.EntityId = LocalizedLabelView_1.ObjectId ON
    
           AttributeView.EntityId = EntityView.EntityId
    
    WHERE   LocalizedLabelView_1.ObjectColumnName = 'LocalizedName'
    
     AND LocalizedLabelView_2.ObjectColumnName = 'DisplayName'
    
     AND LocalizedLabelView_1.LanguageId = '2052'
    
     AND LocalizedLabelView_2.LanguageId = '2052'
  • 相关阅读:
    使用合理jQuery选择器查找DOM元素
    DOM对象和jQuery对象
    jQuery实现返回顶部
    行内元素,块级元素
    图片自适应缩放
    幽灵按钮
    background-attachment:fixed
    RegExp
    正则
    Date
  • 原文地址:https://www.cnblogs.com/BinBinGo/p/9559036.html
Copyright © 2020-2023  润新知