ORA-00936: missing expression - using SubQueries using OLEDB Driver
388039Feb 18 2003 — edited Feb 19 2003Oracle has added support for sub-queries since Oracle 8.1, but I'm getting an error when I try to perform a simple select.
ORA-00936: missing expression
select ITEMS.ITEM_NAME
, (select count(*) from WORK_FLOW.ITEM_ID = ITEMS.ITEM_ID) as ItemsBeingUse
from ITEMS
I do not want to use any other SQL code to perform this action. I have to see how the count could be placed in the FROM clause
It does work from Oracle SQL Plus Worksheet. I just don't understand why it is not working through the Oracle OLE DB driver. Oracle ODBC is not an option as it crashes endlessly.