I am using MS Access 2003 to link to an 11g Oracle Database. There is an Oracle Table that has an OLE Object column field and I want to be able to get the information from that column. I can run the following SQL statement from an SQL Plus session and get the values but I want to run the same type of statement in MS Access. I have researched the web but cannot find an answer. How can I convert the statement below so it will run in MS Access?
select id, data_id, data_type, state,
extract(payload,'/payload/pfId/text()').getStringVal() PfId,
extract(payload,'/payload/entityId/text()').getStringVal() Entity,
extract(payload,'/payload/region/text()').getStringVal() Region,
extract(payload,'/payload/recCnt/text()').getStringVal() RecCnt
from data_track
where existsNode(payload,'/payload/pfId') = 1