Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 751
Default SQL for Oracle

David,
with a brief look at your query:
The FROM statement appears to use many tables and there are not commas
after every table name.
Also, the wildcard character in Oracle is % and should be enclosed in
single quotes.

I don't have any OO4O code handy right now but I recall a syntax like:

sqlstr = "select * from emp, dept where emp.deptno = dept.deptno and
emp.ename like 'A%'"

Also, I see more than 3 tables in your FROM clause.

Is this helping any?
Kostis Vezerides



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"