问题
I have table in Oracle 11G R2, named as PERSON_IMAGE with ID (Number) and IMAGE(BLOB) fields. Now without using the application i need to export multiple BLOBs. How can i do this? Do we have any tool/ utility for this? Example will really assist me.
回答1:
SQLDeveloper can do it:
http://www.thatjeffsmith.com/archive/2014/05/exporting-multiple-blobs-with-oracle-sql-developer/
I just tried it in version 4.0.3 and although the interface was a little unintuitive, it worked fine. I ended up with a lot of files called TABLE64c49834-014d-1000-8494-c0a8b247f35d.ldr
rather than david.jpg
but it should be relatively straightforward to process the loader data file with a shell script if you want to rename them.
来源:https://stackoverflow.com/questions/30271767/export-a-blob-image-from-table