oracle - Put BLOB from DataBase to Directory -
i have pdf file saved table in blob typefile, can't figures how put file directory.
in past create interface plain text directory (i have experience in this):
file := utl_file.fopen ('directoryname', 'filename', 'w'); rec in ( select lpad(t1.var1, 18, 0) || lpad(t1.var2, 18, 0) || lpad(t2.var1, 1, 0) || lpad(replace(t2.person_id, '-'), 9, 0) trace tbl1 t1, tbl2 t2 = b; ) loop utl_file.put_line (file, rec.trace); end loop; utl_file.fclose (file);
but, have drop pdf same directory, help!
Comments
Post a Comment