<?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: Procedure 'openxml' not found (SA16 bug?) in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaa-p/13841244#M4872087</link>
    <description>&lt;P&gt;I saw that discussion before creating this question but that could only possibly explain the (faulty?) origin of these quotes.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2017 07:38:53 GMT</pubDate>
    <dc:creator>former_SQLA_member1694875</dc:creator>
    <dc:date>2017-07-07T07:38:53Z</dc:date>
    <item>
      <title>Procedure 'openxml' not found (SA16 bug?)</title>
      <link>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaq-p/13841241</link>
      <description>&lt;P&gt;SQL Anywhere 16.0.0.2471  &lt;/P&gt;
&lt;P&gt;We get an error message "Procedure 'openxml' not found" when calling OPENXML operator (till SA12 it was called 'system procedure' in the docs) with quotes, e. g.:
&lt;/P&gt;&lt;PRE&gt;select test from "openxml"(null,'/Test') with(test integer);&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This way it works fine:
&lt;/P&gt;&lt;PRE&gt;select test from openxml(null,'/Test') with(test integer);&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SA11 works fine in both cases.  &lt;/P&gt;
&lt;P&gt;Is it a bug or I am missing something about such behavior change?  &lt;/P&gt;
&lt;P&gt;I wouldn't have asked about it (as this problem seems trivial) but we have lots of procedures affected in one SA16 database. I am sure these quotes were sometime added automatically. Other databases do not have these quotes (maybe this is related to the option preserve_source_format as it was turned off in that same database while turned on in others).&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 04:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaq-p/13841241</guid>
      <dc:creator>former_SQLA_member1694875</dc:creator>
      <dc:date>2017-07-07T04:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure 'openxml' not found (SA16 bug?)</title>
      <link>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaa-p/13841243#M4872086</link>
      <description>&lt;P&gt;Wild guess: That undesired "double quoting" may be related to a (AFAIK) undocumented behaviour change in v16, see &lt;A href="http://sqlanywhere-forum.sap.com/questions/24769"&gt;that FAQ&lt;/A&gt; and the discussion with Chris Keating under the question.&lt;/P&gt;
&lt;P&gt;Although this does not explain for me why the first call would fail, other that openxml is not a procedure but "an operator" and therefore has no owner and the like...?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 06:47:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaa-p/13841243#M4872086</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2017-07-07T06:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure 'openxml' not found (SA16 bug?)</title>
      <link>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaa-p/13841244#M4872087</link>
      <description>&lt;P&gt;I saw that discussion before creating this question but that could only possibly explain the (faulty?) origin of these quotes.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 07:38:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaa-p/13841244#M4872087</guid>
      <dc:creator>former_SQLA_member1694875</dc:creator>
      <dc:date>2017-07-07T07:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure 'openxml' not found (SA16 bug?)</title>
      <link>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaa-p/13841242#M4872085</link>
      <description>&lt;P&gt;Does that query return different results for your v11 / v16 databases:&lt;/P&gt;
&lt;PRE&gt;select *
from sa_reserved_words()
where reserved_word like 'open%';
&lt;/PRE&gt;

&lt;P&gt;or for&lt;/P&gt;
&lt;PRE&gt;select connection_property('non_keywords');
&lt;/PRE&gt;

&lt;P&gt;?&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;Bottom line: As "openxml" is a reserved word (at least with 12 and above, have not v11 available), it's apparently a bug to enclose that in double quotes - unless you really want to use a stored procedure with that name (and in my understanding, you don't want to...). So that might be a bug w.r.t. unloading/reloading a v11 database in v16.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 07:49:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaa-p/13841242#M4872085</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2017-07-07T07:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure 'openxml' not found (SA16 bug?)</title>
      <link>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaa-p/13841245#M4872088</link>
      <description>&lt;P&gt;sa_reserved_words() does not exist in SA11. And the second query returns empty strings in both versions.  &lt;/P&gt;
&lt;P&gt;I would like to accept your bottom line as the answer.  &lt;/P&gt;
&lt;P&gt;Openxml was named as 'system procedure' till SA12 and renamed to 'operator' in SA16 docs. It seems that it was related to the changes in how double quotes are interpreted.  &lt;/P&gt;
&lt;P&gt;To conclude, this is NOT a bug of SA16. The bug possibly was in some earlier versions (11 or 12) which added these unnecessary quotes but this does not matter now.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 08:24:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaa-p/13841245#M4872088</guid>
      <dc:creator>former_SQLA_member1694875</dc:creator>
      <dc:date>2017-07-07T08:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Procedure 'openxml' not found (SA16 bug?)</title>
      <link>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaa-p/13841246#M4872089</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;Openxml was named as 'system procedure' till SA12 and renamed to 'operator' in SA16 docs.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ah, yes, my oversight. Nevertheless, with v12.0.1.4403, openxml is not listed with sysprocedure and is listed as reserved word, so I guess it is treated as "operator" there, too.&lt;/P&gt;
&lt;P&gt;BTW: You say with option preserve_source_format='On' the false quoting did not happen? I'd recommend to use that setting anyway:)&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 08:44:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/procedure-openxml-not-found-sa16-bug/qaa-p/13841246#M4872089</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2017-07-07T08:44:47Z</dc:date>
    </item>
  </channel>
</rss>

