<?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: Facing error in sql query. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-error-in-sql-query/m-p/800450#M40838</link>
    <description>&lt;P&gt;Read the ABAP help on the syntax of select.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Feb 2019 09:36:53 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2019-02-19T09:36:53Z</dc:date>
    <item>
      <title>Facing error in sql query.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-error-in-sql-query/m-p/800447#M40835</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;
  &lt;P&gt; am facing an error while writing sql query. I am using gui7.2.&lt;/P&gt;
  &lt;P&gt;error: If the new OpenSQL syntax is used, it must be used throughout. This includes using @ to escape host variables.&lt;/P&gt;
  &lt;P&gt;what is this. my code is:&lt;/P&gt;
  &lt;P&gt; SELECT SINGLE * FROM&lt;BR /&gt; ADRCT LEFT JOIN TVKO&lt;BR /&gt; ON ADDRNUMBER = TVKO-ADRNR&lt;BR /&gt; INTO ADRCT&lt;BR /&gt; WHERE TVKO-BUKRS = VBRK-BUKRS.&lt;/P&gt;
  &lt;P&gt;I also tried this.&lt;/P&gt;
  &lt;P&gt; SELECT SINGLE * FROM&lt;BR /&gt; ADRCT LEFT JOIN TVKO&lt;BR /&gt; ON ADDRNUMBER = TVKO-ADRNR&lt;BR /&gt; INTO (@ADRCT)&lt;BR /&gt; WHERE TVKO-BUKRS = VBRK-BUKRS.&lt;/P&gt;
  &lt;P&gt;but still facing error.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 06:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-error-in-sql-query/m-p/800447#M40835</guid>
      <dc:creator>amysh95</dc:creator>
      <dc:date>2019-02-19T06:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Facing error in sql query.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-error-in-sql-query/m-p/800448#M40836</link>
      <description>&lt;P&gt;Don't use host expressions at all (don't use @) or use only host expressions (@ in front of all variables)&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 07:23:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-error-in-sql-query/m-p/800448#M40836</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-02-19T07:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Facing error in sql query.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-error-in-sql-query/m-p/800449#M40837</link>
      <description>&lt;P&gt;(@ADRCT) should be @ADRCT only, no bracket, where condition also need  @.&lt;/P&gt;&lt;P&gt;Also, for join sql you have to use ~ instead of -.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 09:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-error-in-sql-query/m-p/800449#M40837</guid>
      <dc:creator>DoanManhQuynh</dc:creator>
      <dc:date>2019-02-19T09:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Facing error in sql query.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-error-in-sql-query/m-p/800450#M40838</link>
      <description>&lt;P&gt;Read the ABAP help on the syntax of select.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 09:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-error-in-sql-query/m-p/800450#M40838</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2019-02-19T09:36:53Z</dc:date>
    </item>
  </channel>
</rss>

