<?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: Join problem with ImageSql in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/join-problem-with-imagesql/m-p/2769129#M896029</link>
    <description>Hi Pawel&lt;BR /&gt;&lt;BR /&gt;I do not know exactly the syntax of imagesql but assuming that it is not very different from pure sql i would say the problem is the usage of LEFT JOIN&lt;BR /&gt;&lt;BR /&gt;If you just copy sql syntax from MSACCESS this will not run with pure sql because of LEFT JOIN or RIGHT JOIN is not known by sql&lt;BR /&gt;&lt;BR /&gt;try instead :&lt;BR /&gt;&lt;BR /&gt;select table1.*,table2.*&lt;BR /&gt;from table1,table2&lt;BR /&gt;where table1.field1 = table2.field1 (+)&lt;BR /&gt; &amp;lt;&amp;lt; this will be a right join in MSACCESS (if i'm not totally wrong)&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;A left join you  get by :&lt;BR /&gt;&lt;BR /&gt;where table1.field1 (+) = table2.field1 &lt;BR /&gt;&lt;BR /&gt;Hope this is a  help for you</description>
    <pubDate>Tue, 23 Jul 2002 06:44:06 GMT</pubDate>
    <dc:creator>Reinhard Burger</dc:creator>
    <dc:date>2002-07-23T06:44:06Z</dc:date>
    <item>
      <title>Join problem with ImageSql</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-problem-with-imagesql/m-p/2769128#M896028</link>
      <description>From some days I've problem with sql to ImageSql. Easy question (like agregate function, group by, select)are ok,&lt;BR /&gt;but with Join :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/Sql&lt;BR /&gt; &lt;BR /&gt;select consignment.* , transport.*&lt;BR /&gt;from &lt;BR /&gt;consignment  LEFT JOIN transport  &lt;BR /&gt;ON consignment.transport = transport.transport&lt;BR /&gt;WHERE &lt;BR /&gt;(consignment.transport LIKE 'ty%') OR (consignment.transport LIKE '____ty%')  &lt;SUBSTRING is=""&gt;&lt;BR /&gt;&lt;BR /&gt;if I aplly this I've BDE error:&lt;BR /&gt;Bde error = 13059 &lt;BR /&gt;" [MiniSoft] [3kodbc.dll] Syntax error in &lt;BR /&gt;table list."&lt;BR /&gt; &lt;BR /&gt;/Sql&lt;BR /&gt; &lt;BR /&gt;MS Axcess doing this sql with no problems to  &lt;BR /&gt;/Sql&lt;BR /&gt; &lt;BR /&gt;SELECT DBCONS_CONSIGNMENT.COLLECT_DATE, DBCONS_CONSIGNMENT.DELIVER_DATE, DBCONS_TRANSPORT.TRAFFIC, DBCONS_TRANSPORT.TRANSPORT, DBCONS_CONSIGNMENT.CONSIGNMENT, DBCONS_CONSIGNMENT.TRAFFIC_FROM, DBCONS_CONSIGNMENT.TRAFFIC_TO, DBCONS_CONSIGNMENT.DEPARTMENT, DBCONS_CONSIGNMENT.STATUSTEXT, DBCONS_CONSIGNMENT.[NO], DBCONS_CONSIGNMENT.CLL, DBCONS_CONSIGNMENT.G_WEIGHT, DBCONS_CONSIGNMENT.N_WEIGHT, DBCONS_INVOICING.AMOUNT, DBCONS_CONSIGNMENT.SHIP_NO, DBCONS_CONSIGNMENT.SHIP_ADDRESS_1, DBCONS_CONSIGNMENT.SHIP_ADDRESS_2, DBCONS_CONSIGNMENT.DELV_NO, DBCONS_CONSIGNMENT.DELV_ADDRESS_1, DBCONS_CONSIGNMENT.DELV_ADDRESS_2&lt;BR /&gt;FROM DBCONS_INVOICING RIGHT JOIN (DBCONS_CONSIGNMENT LEFT JOIN DBCONS_TRANSPORT ON DBCONS_CONSIGNMENT.TRANSPORT = DBCONS_TRANSPORT.TRANSPORT) ON DBCONS_INVOICING.CONSIGNMENT = DBCONS_CONSIGNMENT.CONSIGNMENT&lt;BR /&gt;GROUP BY DBCONS_CONSIGNMENT.COLLECT_DATE, DBCONS_CONSIGNMENT.DELIVER_DATE, DBCONS_TRANSPORT.TRAFFIC, DBCONS_TRANSPORT.TRANSPORT, DBCONS_CONSIGNMENT.CONSIGNMENT, DBCONS_CONSIGNMENT.TRAFFIC_FROM, DBCONS_CONSIGNMENT.TRAFFIC_TO, DBCONS_CONSIGNMENT.DEPARTMENT, DBCONS_CONSIGNMENT.STATUSTEXT, DBCONS_CONSIGNMENT.[NO], DBCONS_CONSIGNMENT.CLL, DBCONS_CONSIGNMENT.G_WEIGHT, DBCONS_CONSIGNMENT.N_WEIGHT, DBCONS_INVOICING.AMOUNT, DBCONS_CONSIGNMENT.SHIP_NO, DBCONS_CONSIGNMENT.SHIP_ADDRESS_1, DBCONS_CONSIGNMENT.SHIP_ADDRESS_2, DBCONS_CONSIGNMENT.DELV_NO, DBCONS_CONSIGNMENT.DELV_ADDRESS_1, DBCONS_CONSIGNMENT.DELV_ADDRESS_2&lt;BR /&gt;HAVING (((DBCONS_CONSIGNMENT.COLLECT_DATE)=20630) AND ((DBCONS_CONSIGNMENT.DEPARTMENT)="PST24"))&lt;BR /&gt;ORDER BY DBCONS_CONSIGNMENT.COLLECT_DATE, DBCONS_TRANSPORT.TRANSPORT;&lt;BR /&gt;&lt;BR /&gt;/Sql&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;I've Delphi 6 programmer, I connect &lt;BR /&gt;with DAtaBAse by ODBC HP 3000 Data Axcess Driver.&lt;BR /&gt;Operating system with DB: MPE/iX C.70.01 &lt;BR /&gt;DB ver allbase/sql: A.G3.22 &lt;BR /&gt; &lt;BR /&gt;Operating system from I doing sql:Win98&lt;BR /&gt;I connect with DB by ODBC HP 3000 Data Axcess Driver.&lt;BR /&gt;My ODBC Driver settings&lt;BR /&gt;&lt;BR /&gt;lock retries = 1&lt;BR /&gt;Century Split year = 0&lt;BR /&gt;Disable HP3000 transactions = not checked&lt;BR /&gt;Enable item-level locking = checked&lt;BR /&gt;Use standard sql join processing = checked&lt;BR /&gt;Auto-Commit ON is the default = checked&lt;BR /&gt;all warrnings are trated as errors = not checked&lt;BR /&gt;Database Open mode = 5. read concurrent modify&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;So what it's wrong in my SELECT ?&lt;BR /&gt;&lt;/SUBSTRING&gt;</description>
      <pubDate>Mon, 22 Jul 2002 12:24:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-problem-with-imagesql/m-p/2769128#M896028</guid>
      <dc:creator>PAWEL_5</dc:creator>
      <dc:date>2002-07-22T12:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Join problem with ImageSql</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-problem-with-imagesql/m-p/2769129#M896029</link>
      <description>Hi Pawel&lt;BR /&gt;&lt;BR /&gt;I do not know exactly the syntax of imagesql but assuming that it is not very different from pure sql i would say the problem is the usage of LEFT JOIN&lt;BR /&gt;&lt;BR /&gt;If you just copy sql syntax from MSACCESS this will not run with pure sql because of LEFT JOIN or RIGHT JOIN is not known by sql&lt;BR /&gt;&lt;BR /&gt;try instead :&lt;BR /&gt;&lt;BR /&gt;select table1.*,table2.*&lt;BR /&gt;from table1,table2&lt;BR /&gt;where table1.field1 = table2.field1 (+)&lt;BR /&gt; &amp;lt;&amp;lt; this will be a right join in MSACCESS (if i'm not totally wrong)&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;A left join you  get by :&lt;BR /&gt;&lt;BR /&gt;where table1.field1 (+) = table2.field1 &lt;BR /&gt;&lt;BR /&gt;Hope this is a  help for you</description>
      <pubDate>Tue, 23 Jul 2002 06:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-problem-with-imagesql/m-p/2769129#M896029</guid>
      <dc:creator>Reinhard Burger</dc:creator>
      <dc:date>2002-07-23T06:44:06Z</dc:date>
    </item>
  </channel>
</rss>

