<?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 statement with Oracle in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347863#M869833</link>
    <description>Sylvain,&lt;BR /&gt;&lt;BR /&gt;found Metalink doc id that says that Oracle is not compliant with ANSI SQL92 regarding this syntax but this supported from  Oracle9i&lt;BR /&gt;&lt;BR /&gt;doc id:  Note:104306.1&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc&lt;BR /&gt;&lt;BR /&gt;PS : also found this PDF doc (in French)&lt;BR /&gt;&lt;A href="http://www.trivadis.ch/Images/nf9isql_teil2_fr_tcm8-3502.pdf" target="_blank"&gt;http://www.trivadis.ch/Images/nf9isql_teil2_fr_tcm8-3502.pdf&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 03 Aug 2004 07:55:39 GMT</pubDate>
    <dc:creator>Jean-Luc Oudart</dc:creator>
    <dc:date>2004-08-03T07:55:39Z</dc:date>
    <item>
      <title>JOIN statement with Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347857#M869827</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;It seems I have problem with my SQL syntax:&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; SELECT nn.node_name, no.node_type FROM opc_node_names nn JOIN opc_nodes no ON no.node_id=nn.node_id;&lt;BR /&gt;SELECT nn.node_name, no.node_type FROM opc_node_names nn JOIN opc_nodes no ON no.node_id=nn.node_id&lt;BR /&gt;*&lt;BR /&gt;ERROR at line 1:&lt;BR /&gt;ORA-00933: SQL command not properly ended&lt;BR /&gt;&lt;BR /&gt;The star is under the first JOIN.&lt;BR /&gt;I use an Oracle 8.1.7 database.&lt;BR /&gt;&lt;BR /&gt;Can someone help me?</description>
      <pubDate>Tue, 03 Aug 2004 06:09:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347857#M869827</guid>
      <dc:creator>Sylvain CROUET</dc:creator>
      <dc:date>2004-08-03T06:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN statement with Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347858#M869828</link>
      <description>I haven't seen this "JOIN" syntax before ??&lt;BR /&gt;&lt;BR /&gt;would that be :&lt;BR /&gt;SELECT nn.node_name, no.node_type FROM opc_node_names nn, opc_nodes no&lt;BR /&gt;where no.node_id=nn.node_id&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Aug 2004 06:18:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347858#M869828</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-08-03T06:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN statement with Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347859#M869829</link>
      <description>Yes it should work with the WHERE statement, but I thought that the JOIN statement was a standard one (I used it with SQL Server and MySQL for example).</description>
      <pubDate>Tue, 03 Aug 2004 06:37:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347859#M869829</guid>
      <dc:creator>Sylvain CROUET</dc:creator>
      <dc:date>2004-08-03T06:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN statement with Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347860#M869830</link>
      <description>For more information on join (inner joins, outer joins) check the Oracle documentation on the SQL syntax.&lt;BR /&gt;Also :&lt;BR /&gt;&lt;A href="http://otn.oracle.com/products/oracle9i/daily/jan14.html" target="_blank"&gt;http://otn.oracle.com/products/oracle9i/daily/jan14.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Tue, 03 Aug 2004 06:38:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347860#M869830</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-08-03T06:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN statement with Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347861#M869831</link>
      <description>It seems this will work from Oracle 9i onwards. Sample statement is:&lt;BR /&gt;&lt;BR /&gt;select department_name, city&lt;BR /&gt;from department d&lt;BR /&gt;JOIN location l&lt;BR /&gt;ON (d.location_id = l.id);&lt;BR /&gt;&lt;BR /&gt;select emp_id, city_name, dept_name&lt;BR /&gt;from locations l&lt;BR /&gt;JOIN departments d ON (d.location_id = l.location_id)&lt;BR /&gt;JOIN employees e   ON (d.department_id = e.department_id);&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Tue, 03 Aug 2004 06:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347861#M869831</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-08-03T06:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN statement with Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347862#M869832</link>
      <description>OK, my database version (8.1.7) is too old for this statement.&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 03 Aug 2004 06:59:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347862#M869832</guid>
      <dc:creator>Sylvain CROUET</dc:creator>
      <dc:date>2004-08-03T06:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN statement with Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347863#M869833</link>
      <description>Sylvain,&lt;BR /&gt;&lt;BR /&gt;found Metalink doc id that says that Oracle is not compliant with ANSI SQL92 regarding this syntax but this supported from  Oracle9i&lt;BR /&gt;&lt;BR /&gt;doc id:  Note:104306.1&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc&lt;BR /&gt;&lt;BR /&gt;PS : also found this PDF doc (in French)&lt;BR /&gt;&lt;A href="http://www.trivadis.ch/Images/nf9isql_teil2_fr_tcm8-3502.pdf" target="_blank"&gt;http://www.trivadis.ch/Images/nf9isql_teil2_fr_tcm8-3502.pdf&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Aug 2004 07:55:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347863#M869833</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-08-03T07:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN statement with Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347864#M869834</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;A few notes about the differences: 8i v/s 9i&lt;BR /&gt;to join in 8i, just use a where clause:&lt;BR /&gt;&lt;BR /&gt;select * &lt;BR /&gt;  from emp, dept &lt;BR /&gt; where emp.deptno = dept.deptno;&lt;BR /&gt;&lt;BR /&gt;in 9i and up, you could&lt;BR /&gt;&lt;BR /&gt;select ename, dname, emp.deptno, dept.deptno&lt;BR /&gt;  from SCOTT.EMP inner join SCOTT.DEPT&lt;BR /&gt;    on emp.deptno = dept.deptno&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;to outer join 8i, use a (+)&lt;BR /&gt;&lt;BR /&gt;select * from emp, dept where emp.deptno = dept.deptno(+)&lt;BR /&gt;&lt;BR /&gt;is the same as the 9i syntax of:&lt;BR /&gt;&lt;BR /&gt;select ename, dname, emp.deptno, dept.deptno&lt;BR /&gt;  from SCOTT.EMP LEFT outer join SCOTT.DEPT&lt;BR /&gt;    on emp.deptno = dept.deptno&lt;BR /&gt;&lt;BR /&gt;whereas &lt;BR /&gt;&lt;BR /&gt;select * from emp, dept where emp.deptno(+) = dept.deptno&lt;BR /&gt;&lt;BR /&gt;is the same as:&lt;BR /&gt;&lt;BR /&gt;select ename, dname, emp.deptno, dept.deptno&lt;BR /&gt;  from SCOTT.EMP RIGHT outer join SCOTT.DEPT&lt;BR /&gt;    on emp.deptno = dept.deptno&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In 8i, a full outer join would be:&lt;BR /&gt;&lt;BR /&gt;select * from emp, dept where emp.deptno = dept.deptno(+)&lt;BR /&gt;UNION ALL&lt;BR /&gt;select * from emp, dept where emp.deptno(+) = dept.deptno AND emp.deptno is &lt;BR /&gt;null;&lt;BR /&gt;&lt;BR /&gt;versus the 9i syntax (which does the same amount of work -- no magic there)&lt;BR /&gt;&lt;BR /&gt;select *&lt;BR /&gt;  from SCOTT.EMP FULL outer join SCOTT.DEPT&lt;BR /&gt;    on emp.deptno = dept.deptno&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Tue, 03 Aug 2004 08:34:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347864#M869834</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-08-03T08:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN statement with Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347865#M869835</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;A few notes about the differences: 8i v/s 9i&lt;BR /&gt;to join in 8i, just use a where clause:&lt;BR /&gt;&lt;BR /&gt;select * &lt;BR /&gt;  from emp, dept &lt;BR /&gt; where emp.deptno = dept.deptno;&lt;BR /&gt;&lt;BR /&gt;in 9i and up, you could&lt;BR /&gt;&lt;BR /&gt;select ename, dname, emp.deptno, dept.deptno&lt;BR /&gt;  from SCOTT.EMP inner join SCOTT.DEPT&lt;BR /&gt;    on emp.deptno = dept.deptno&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;to outer join 8i, use a (+)&lt;BR /&gt;&lt;BR /&gt;select * from emp, dept where emp.deptno = dept.deptno(+)&lt;BR /&gt;&lt;BR /&gt;is the same as the 9i syntax of:&lt;BR /&gt;&lt;BR /&gt;select ename, dname, emp.deptno, dept.deptno&lt;BR /&gt;  from SCOTT.EMP LEFT outer join SCOTT.DEPT&lt;BR /&gt;    on emp.deptno = dept.deptno&lt;BR /&gt;&lt;BR /&gt;whereas &lt;BR /&gt;&lt;BR /&gt;select * from emp, dept where emp.deptno(+) = dept.deptno&lt;BR /&gt;&lt;BR /&gt;is the same as:&lt;BR /&gt;&lt;BR /&gt;select ename, dname, emp.deptno, dept.deptno&lt;BR /&gt;  from SCOTT.EMP RIGHT outer join SCOTT.DEPT&lt;BR /&gt;    on emp.deptno = dept.deptno&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In 8i, a full outer join would be:&lt;BR /&gt;&lt;BR /&gt;select * from emp, dept where emp.deptno = dept.deptno(+)&lt;BR /&gt;UNION ALL&lt;BR /&gt;select * from emp, dept where emp.deptno(+) = dept.deptno AND emp.deptno is &lt;BR /&gt;null;&lt;BR /&gt;&lt;BR /&gt;versus the 9i syntax (which does the same amount of work)&lt;BR /&gt;&lt;BR /&gt;select *&lt;BR /&gt;  from SCOTT.EMP FULL outer join SCOTT.DEPT&lt;BR /&gt;    on emp.deptno = dept.deptno&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Tue, 03 Aug 2004 08:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-statement-with-oracle/m-p/3347865#M869835</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-08-03T08:34:51Z</dc:date>
    </item>
  </channel>
</rss>

