Can you run the same code when you connect with SQLPlus?
Harvinder Singh
<Harvinder.Singh@Metr To: Multiple recipients of list
ORACLE-L
aTech.com> <[EMAIL PROTECTED]>
Sent by: cc:
[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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:
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).