| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: error running query using microsoft odbc driver for oracle
Can you run the same code when you connect with SQLPlus?
Harvinder Singh
<Harvinder.Singh_at_Metr To: Multiple recipients of list
ORACLE-L
aTech.com> <ORACLE-L_at_fatcity.com>
Sent by: cc:
root_at_fatcity.com Subject: error running query
using microsoft
odbc driver for oracle
08/30/2001 02:04 PM
Please respond to
ORACLE-L
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-LReceived on Thu Aug 30 2001 - 13:20:31 CDT
(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: INET: tday6_at_csc.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).
![]() |
![]() |