It's been my experience that Microsoft's ODBC drivers don't work very well on left out joins (particularly if you have more than one). I always use the Oracle ones instead. And the Oracle ODBC driver seemd to be faster than the Microsoft ODBC driver.
----- Original Message -----
From: Harvinder Singh
To: LazyDBA.com Discussion
Sent: Thursday, August 30, 2001 1:10 PM
Subject: error running query using microsoft odbc driver for oracle
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
--------
Oracle documentation is here: http://tahiti.oracle.com/pls/tahiti/tahiti.homepage
To unsubscribe: send a blank email to oracledba-[Email Address Removed] To subscribe: send a blank email to oracledba-[Email Address Removed] Visit the list archive: http://www.LAZYDBA.com/odbareadmail.pl
Tell yer mates about http://www.farAwayJobs.com
By using this list you agree to these terms:http://www.lazydba.com/legal.html
Oracle LazyDBA home page