Not much to work with here, but I would look up BLOB's in your Oracle manual. Terry M. Hoey
th3856@txmail.sbc.com
While I don't mind e-mail messages, please post all questions in these forums for the benefit of all members.
Here is how you can do this for a text file, I havenot tried with bmp etc.
1) create a temporary table with a column which is BFILE
2) create a directory (oracle directory) for the path in which your file exists
3) insert a record into the temporary table with your file in the BFILE column.
4) Now your file is in BFILE column, you can read, display , manipulate your file using DBMS_LOB package. But your file is still in operating system location, oracle stores only the locator infomation. You can load this file in oracle completely into a BLOB column using DBMS_LOB.LoadFromBfile procedure. BLOB can also be manipulated just like BFILE. only difference being now it is stored in oracle tablespace.
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.