Very good question, DrD, for which I do not have an answer. I Googled (using search arguments, [Oracle binary contents "external table"]) and I found about 900+ hits, most of which, I'm sure, do not relate to your need. But at least it's a start.
The best resource for you (in the absence of someone here who can answer your question) will probably be logging an inquiry with Oracle Technical Support Services (via MetaLink).
If/When you find a definitive answer, please post here so we can learn from your experience.
Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
I haven't used them myself but on reading your requirements you may be able to do something with a combination of BFILE and the dbms_lob and utl_raw packges.
Any takers?
In order to understand recursion, you must first understand recursion.
If by "binary files" you refer to fixed length records with no record separator, then maybe a combination of the RECSIZE+BUFFERS parameter and POSITION() for fields may work. (That is if these SQL*Loader options are allowed for external tables).
----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
By binary files I mean.. not text files. I'll have a look and see if the "RECSIZE+BUFFERS parameter and POSITION() " can work for us.
Another thing with this is these files would just be queried in the external table, and not loaded into the dB. So using SQLLDR or DATAPUMP options won't do it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.