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

Home -> Community -> Mailing Lists -> Oracle-L -> error running query using microsoft odbc driver for oracle

error running query using microsoft odbc driver for oracle

From: Harvinder Singh <Harvinder.Singh_at_MetraTech.com>
Date: Thu, 30 Aug 2001 10:10:14 -0700
Message-ID: <F001.0037D816.20010830100413@fatcity.com>

Hi,

We r running code using microsoft odbc driver for oracle and getting following error:

Database Execute() failed. Error Description = [Microsoft][ODBC driver for Oracle]Syntax error or access violation

we r running following sql:

select t_base_props.id_prop, t_base_props.n_name,t_base_props.n_desc,

t_base_props.nm_name,                   t_base_props.nm_desc,
t_base_props.nm_display_name,           t_pricelist.b_shareable,
t_pricelist.nm_currency_code,           tmp.rateschedules
                from t_base_props,{oj t_pricelist LEFT OUTER JOIN
                (select rs.id_pricelist, count(*) rateschedules
                from t_rsched rs        group by rs.id_pricelist) tmp
        on t_pricelist.id_pricelist = tmp.id_pricelist
        where t_pricelist.id_pricelist = t_base_props.id_prop

what might be the reason......we have to use this syntax of left outer join..other queries r running fine with this syntax.....

Thanks
-harvinder
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Harvinder Singh
  INET: Harvinder.Singh_at_MetraTech.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 Thu Aug 30 2001 - 12:10:14 CDT

Original text of this message

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