blob-JS: Turn local binary file into PL/SQL program from javascript

About two years ago I wrote a small javascript library that reads a local binary file and translates it into a PL/SQL program. What good is it for?

For one it’s a proof of concept, but it does come in handy if you need to insert an image as a BLOB when having nothing but SQL-Plus at your disposal.

Basically I got the idea after seeing something similar in Oracle APEX. So I thought it would be cool to implement the same in javascript.
Check the blob-JS Page for demo and source code.

blob-js-with-javascript-console

Leave a Reply

Your email address will not be published. Required fields are marked *