<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SQL &amp;lt;&amp;gt; function help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-lt-gt-function-help/m-p/635458#M26867</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;select u.IncidentNumber, u.PrimaryRoleOfUnit
from INC_UnitInformation u
where (u.PrimaryRoleOfUnit  &amp;lt;&amp;gt; 411000 and u.PrimaryRoleOfUnit &amp;lt;&amp;gt; 411005)&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I believe the OR is your problem, when it is either of these 2 values the other side of the OR is TRUE so the value gets returned. Try the AND like I posted above.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2018 23:14:15 GMT</pubDate>
    <dc:creator>former_member532835</dc:creator>
    <dc:date>2018-02-13T23:14:15Z</dc:date>
    <item>
      <title>SQL &lt;&gt; function help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-lt-gt-function-help/m-p/635457#M26866</link>
      <description>&lt;P&gt;I'm trying to get &amp;lt;&amp;gt; function work, and it seems like I'm doing something wrong. I'm trying to not include values 411000 and 411005 by including them in a bracket with &amp;lt;&amp;gt; function. I'm told that the requirement is to use "OR" here. When I run the below code, the result includes both values. What am I doing wrong?&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;select u.IncidentNumber, u.PrimaryRoleOfUnit
from INC_UnitInformation u
where (u.PrimaryRoleOfUnit  &amp;lt;&amp;gt; 411000 or u.PrimaryRoleOfUnit &amp;lt;&amp;gt; 411005)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Feb 2018 21:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-lt-gt-function-help/m-p/635457#M26866</guid>
      <dc:creator>former_member548403</dc:creator>
      <dc:date>2018-02-13T21:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: SQL &lt;&gt; function help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-lt-gt-function-help/m-p/635458#M26867</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;select u.IncidentNumber, u.PrimaryRoleOfUnit
from INC_UnitInformation u
where (u.PrimaryRoleOfUnit  &amp;lt;&amp;gt; 411000 and u.PrimaryRoleOfUnit &amp;lt;&amp;gt; 411005)&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I believe the OR is your problem, when it is either of these 2 values the other side of the OR is TRUE so the value gets returned. Try the AND like I posted above.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 23:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-lt-gt-function-help/m-p/635458#M26867</guid>
      <dc:creator>former_member532835</dc:creator>
      <dc:date>2018-02-13T23:14:15Z</dc:date>
    </item>
  </channel>
</rss>

