<?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>Question Re: When have EXCEPT and INTERSECT been introduced? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/when-have-except-and-intersect-been-introduced/qaa-p/13827179#M4858022</link>
    <description>&lt;P&gt;Shh, don't tell anyone, but historically speaking the parser has been known to allow syntax for which no semantics exist &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Sep 2010 16:17:14 GMT</pubDate>
    <dc:creator>Breck_Carter</dc:creator>
    <dc:date>2010-09-22T16:17:14Z</dc:date>
    <item>
      <title>When have EXCEPT and INTERSECT been introduced?</title>
      <link>https://community.sap.com/t5/technology-q-a/when-have-except-and-intersect-been-introduced/qaq-p/13827176</link>
      <description>&lt;P&gt;While I'm about to leave ASA 8.0.3 behind, I made some comparisons with ASA 8.0.3.5574 and SA 12.0.0.2566 and &lt;STRONG&gt;accidently used EXCEPT and INTERSECT on ASA 8.0.3&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;I had strongly expected a syntax error as I was absolutely sure both set operators were introduced with ASA9 (and they are not at all documented with ASA 8), but &lt;STRONG&gt;they work&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;Just couldn't believe it: Have I deliberately - but unfounded! - left out these handy operators all those years when working with ASA 8 (while using them on newer version)?&lt;/P&gt;

&lt;P&gt;Or have I missed a relevant piece of information?&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;&lt;STRONG&gt;But wait and calm down&lt;/STRONG&gt;, Volker - they seem to get accepted syntactically in ASA 8.0.3 but &lt;STRONG&gt;don't seem to work correctly&lt;/STRONG&gt;, i.e. a&lt;/P&gt;

&lt;LI-CODE lang="sql"&gt;SELECT pk_Column FROM table1 EXCEPT SELECT pk_Column FROM table2
&lt;/LI-CODE&gt;

&lt;P&gt;does return the same resultset as without the EXCEPT clause or with an INTERSECT clause.&lt;/P&gt;

&lt;P&gt;So it seems I have not missed an important feature...&lt;/P&gt;

&lt;P&gt;My pulse is still accelerating...&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2010 15:41:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/when-have-except-and-intersect-been-introduced/qaq-p/13827176</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-09-22T15:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: When have EXCEPT and INTERSECT been introduced?</title>
      <link>https://community.sap.com/t5/technology-q-a/when-have-except-and-intersect-been-introduced/qaa-p/13827179#M4858022</link>
      <description>&lt;P&gt;Shh, don't tell anyone, but historically speaking the parser has been known to allow syntax for which no semantics exist &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2010 16:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/when-have-except-and-intersect-been-introduced/qaa-p/13827179#M4858022</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2010-09-22T16:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: When have EXCEPT and INTERSECT been introduced?</title>
      <link>https://community.sap.com/t5/technology-q-a/when-have-except-and-intersect-been-introduced/qaa-p/13827177#M4858020</link>
      <description>&lt;P&gt;In version 8, EXCEPT would not have been recognized as a keyword. In your example, it would have been treated as an identifier, specifically an alias for table1. The line:&lt;/P&gt;

&lt;LI-CODE lang="sql"&gt;SELECT pk_Column FROM table1 EXCEPT SELECT pk_Column FROM table2
&lt;/LI-CODE&gt;

&lt;P&gt;would have been treated as a Transact-SQL batch returning two results sets. If you execute it in DBISQLC and then enter "resume", you'll see the second result set.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2010 13:32:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/when-have-except-and-intersect-been-introduced/qaa-p/13827177#M4858020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-24T13:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: When have EXCEPT and INTERSECT been introduced?</title>
      <link>https://community.sap.com/t5/technology-q-a/when-have-except-and-intersect-been-introduced/qaa-p/13827180#M4858023</link>
      <description>&lt;P&gt;Ah, I see - I had not thought of the T-SQL batch feature but that makes it very reasonable that my sample statement worked whereas more complex ones (i.e. use this statement as a derived table) gives a syntax error. - Well, better SQL dialects use statement delimiters, don't they:)&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2010 16:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/when-have-except-and-intersect-been-introduced/qaa-p/13827180#M4858023</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-09-24T16:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: When have EXCEPT and INTERSECT been introduced?</title>
      <link>https://community.sap.com/t5/technology-q-a/when-have-except-and-intersect-been-introduced/qaa-p/13827178#M4858021</link>
      <description>&lt;P&gt;Just to complete and answer the title question (whereas Bruce has answered &lt;EM&gt;the real question&lt;/EM&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;As already stated in my question - both set operators were introduced with ASA 9.0.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2010 16:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/when-have-except-and-intersect-been-introduced/qaa-p/13827178#M4858021</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-09-24T16:10:26Z</dc:date>
    </item>
  </channel>
</rss>

