<?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 sql syntax error because of unicode character in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814619#M1955336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi forum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stumbled over a strange behavior when executing a SQL query where a specific character is part of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever I use&amp;nbsp;&amp;nbsp;&amp;nbsp; ( &lt;CODE class="hex"&gt;25E81 from CJK Ideograph Extension B ) &lt;/CODE&gt;in any query, it throws an 'sql syntax error: incorrect syntax near ....'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remove the character, everything is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error is also occurring when SQL Editor of DBACOCKPIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone know how to resolve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Volker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2016 08:51:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-08-26T08:51:06Z</dc:date>
    <item>
      <title>sql syntax error because of unicode character</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814619#M1955336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi forum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stumbled over a strange behavior when executing a SQL query where a specific character is part of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever I use&amp;nbsp;&amp;nbsp;&amp;nbsp; ( &lt;CODE class="hex"&gt;25E81 from CJK Ideograph Extension B ) &lt;/CODE&gt;in any query, it throws an 'sql syntax error: incorrect syntax near ....'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remove the character, everything is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error is also occurring when SQL Editor of DBACOCKPIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone know how to resolve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Volker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 08:51:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814619#M1955336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-26T08:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: sql syntax error because of unicode character</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814620#M1955337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you supply a real code example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 09:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814620#M1955337</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2016-08-26T09:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: sql syntax error because of unicode character</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814621#M1955338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Horst, this is example where it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;con type ref to CL_SQL_CONNECTION,&lt;/P&gt;&lt;P&gt;stmt type ref to CL_SQL_STATEMENT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;con = cl_sql_connection=&amp;gt;get_connection( 'DBCON' ).&lt;/P&gt;&lt;P&gt;stmt = con-&amp;gt;create_statement( ).&lt;/P&gt;&lt;P&gt;stmt_txt =&amp;nbsp; 'select ''&amp;nbsp; '' from DUMMY'.&lt;/P&gt;&lt;P&gt;stmt-&amp;gt;execute_update( stmt_txt ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I cannot put this characters into this thread. You need to replace the blank with the character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Volker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 11:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814621#M1955338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-26T11:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: sql syntax error because of unicode character</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814622#M1955339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Uh-huh. So it is Native SQL via ADBC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While I still don't see how I can connect the above code snippet to your problem (cause it runs for me after replacing literal 'DBCON' with a real connection and I don't see what character you are talking about), I tend to say that it is not an ABAP but a DB problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But maybe one other thing: ABAP supports UCS-2 characters only, that is UTF16 without surrogates. Is the character in question a surrogate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 11:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814622#M1955339</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2016-08-26T11:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: sql syntax error because of unicode character</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814623#M1955340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Character U+25E81 ? &lt;A href="http://www.fileformat.info/info/unicode/char/25e81/index.htm"&gt;http://www.fileformat.info/info/unicode/char/25e81/index.htm&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 11:42:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814623#M1955340</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-08-26T11:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: sql syntax error because of unicode character</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814624#M1955341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-&amp;gt; seems to be a &lt;A href="http://help.sap.com/abapdocu_750/en/index.htm?file=abensurrogates_glosry.htm"&gt;surrogate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(have to ask a DBI guy who is not in the office today)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 11:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814624#M1955341</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2016-08-26T11:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: sql syntax error because of unicode character</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814625#M1955342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;(have to ask a DBI guy who is not in the office today)&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I remember your hotline comment &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 12:09:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-syntax-error-because-of-unicode-character/m-p/11814625#M1955342</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2016-08-26T12:09:51Z</dc:date>
    </item>
  </channel>
</rss>

