sqlbloboracle-sqldeveloper

Upload an image into a column with Blob data type on Oracle SQL


I have this table (Image_uploads) with the following columns and data types:

NAME -VARCHAR2(256 BYTE),
MIME_TYPE -VARCHAR2(128 BYTE),
DOC_SIZE -NUMBER,
DAD_CHARSET -VARCHAR2(128 BYTE),
LAST_UPDATED -DATE,
CONTENT_TYPE -VARCHAR2(128 BYTE),
CONTENT -LONG RAW,
BLOB_CONTENT -BLOB.

The column called blob_content is where I want to upload the image to. I used to use an app, but it was decommissioned, now I have to upload using the SQL developer, how do I do this?


Solution

  • Upload BLOB