Load images to oracle table.

Is there any process to load jpeg images into oracle database using a procedure ? The database column will be a blob. I googled, but could not find any that I can use.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
If the image is on the database server:

Here is an example asked just the other day:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
anumosesAuthor Commented:
images is on the local computer
slightwv (䄆 Netminder) Commented:
When you mentioned procedure I was thinking an Oracle Stored Procedure.  Those cannot access a remote file system.

You will need some program running on that computer.  I believe SQL Loader can handle BLOBs but I've never tried.

You ask a lot of Forms questions:  You should be able to upload the image using forms and process it from there.  Might be a simple insert statement from Forms.
Monitor and Analyze Slow Network Performance

SolarWinds® Bandwidth Analyzer Pack, is designed to detect, diagnose, and resolve network performance issues, and monitor and test network throughput and traffic patterns from a single customizable console.

Helena Markováprogrammer-analystCommented:
In Forms you can use WEBUTIL.Here is a piece of working code:
b_success := webutil_file_transfer.Client_To_DB_with_progress
                                    (clientFile      => :BC_FILE.S_FILE_NAME
                                    ,tableName       => MY_TABLE'
                                    ,columnName      => 'B_FILE' --blob
                                    ,whereClause     => 'N_ATTACH_ID = '||X_N_ID -- PK
                                    ,progressTitle   => 'Upload to Database in progress'
                                    ,progressSubTitle=> 'Please wait'
                                    ,asynchronous    => false
                                    ,callbackTrigger => null
anumosesAuthor Commented:
thanks for the very informative help.
anumosesAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Images and Photos

From novice to tech pro — start learning today.