Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Converting Inner join in MS-SQL to Oracle SQL syntax

Re: Converting Inner join in MS-SQL to Oracle SQL syntax

From: Rodd Holman <rodney.holman_at_lodgenet.com>
Date: Fri, 03 Aug 2001 12:32:24 -0700
Message-ID: <F001.003601F4.20010803122131@fatcity.com>

Cherie,
I may be completely wrong on this, but I seem to remember my Intro to SQL instructor at Oracle Ed telling the class that a MS SQL inner join was the same as just a normal join in Oracle.

HTH (List please correct me if I'm wrong)

Rodd

On 03 Aug 2001 09:10:42 -0800, Cherie_Machler_at_gelco.com wrote:
> A developer has sent me a MS-SQL statement that he recieved from a vendor.
> He would like to convert this to run on Oracle. It's pretty close already
> but I'm
> having trouble with the inner join.
>
> Is there a kind soul familiar with MS-SQL that could convert this over to
> the
> right 8.0.4 Oracle syntax?
>
> select KS_KNOWLEDGEOBJECTID from KS_KNOWLEDGEOBJECT
> where KS_AVAILABLE = 0 and not exists
> (select KS_KNOWLEDGEOBJECTID from KS_CONCEPTSTRING inner join
> KS_CONCEPT
> on KS_CONCEPTSTRING.KS_CONCEPTID = KS_CONCEPT.KS_CONCEPTID
> where KS_KNOWLEDGEOBJECT.KS_KNOWLEDGEOBJECTID =
> KS_CONCEPTSTRING.KS_KNOWLEDGEOBJECTID
> and KS_CONCEPTTYPEID = '2')
>
>
> Thanks for any assistance,
>
> Cherie Machler
> Oracle DBA
> Gelco Information Network
>
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: Cherie_Machler_at_gelco.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rodd Holman
  INET: rodney.holman_at_lodgenet.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Aug 03 2001 - 14:32:24 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US