【问题标题】:Create a FetchXML query that uses ISNULL创建使用 ISNULL 的 FetchXML 查询
【发布时间】:2012-10-02 07:18:29
【问题描述】:

我想创建一个使用ISNULL 的 FetchXML 查询,就像在 SQL 查询中一样。

在 SQL 中

SELECT * FROM Contact WHERE ISNULL(FirstName, '') = ''

他们在 FetchXML 中有任何操作符吗?

【问题讨论】:

    标签: dynamics-crm-2011 fetchxml


    【解决方案1】:

    不完全相同,但下面的查询应该可以为您提供一些帮助。

    <fetch mapping="logical">
      <entity name="contact">
        <all-attributes />
        <filter>
          <condition attribute="firstname" operator="null" />
        </filter>
      </entity>
    </fetch>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-04-19
      • 1970-01-01
      • 1970-01-01
      • 2017-04-01
      • 2019-04-13
      • 2018-09-19
      • 2013-05-19
      相关资源
      最近更新 更多