Procedure to download file from a given url in Oracle 11g and save it into the blob type column
I am stuck with a problem. I need to create a procedure in Oracle 11g which will get the URL from a given row and download the file from that URL and will save it in a blob type column. Can you guys tell me what my approach should be to achieve this? you need see documentation for package UTL_HTTP this is the sample of using this is the code from the sample above begin load_binary_from_url('http://www.oracle.com/us/hp07-bgf3fafb-db12c-2421053.jpg'); end; CREATE TABLE http_blob_test ( id NUMBER(10), url VARCHAR2(255), data BLOB, CONSTRAINT http_blob_test_pk PRIMARY KEY (id) ); CREATE SEQUENCE