I have a long SQL statement with multiple inner joins from multiple tables which outputs 2 Columns: BLOB and NameString. Using Oracle 11g Database.
(select blobdata, namestring
from xy
innerjoin...innerjoin....)
-(filtered by Sysdate)
My question is, how does a procedure have to look like to save blob files named like the namestring as a jpg-file on my computer or a networkdestination. I found multiple methods like utl_file but I dont know how to arrange them to my specific problem. Iam new to pl/sql programming.
Thank you in advance!