Oracle PL/SQL library BLOB_WRAPPER: Writing a blob into a file in a single line of code

The previous examples needed an Oracle directory to work (create directory LOB_TEST_DIR as ...) to work. This example shows how BLOB_WRAPPER can be used to write the content of a blob into a file with a single line of code (xxx).
blob_wrapper.to_file('c:\temp\two_params.txt', utl_raw.cast_to_raw('foo bar baz'));
The source code for this exaple is on github.
Go back to library's main page