Insert multiple Picture in a table [message #221881] |
Wed, 28 February 2007 14:55 |
ayubfkhan
Messages: 3 Registered: February 2007 Location: Baltimore
|
Junior Member |
|
|
Hi,
I have thousands of pictures I want to upload in a Oracle table.
create table pic
(id number,
Int_date date,
pic blob);
How do I insert multiple pictures in oracle database?
because I don't want to pic one pic at a time and then populate the table.
thanks
|
|
|
|
|
|
Re: Insert multiple Picture in a table [message #222048 is a reply to message #221949] |
Thu, 01 March 2007 09:24 |
ayubfkhan
Messages: 3 Registered: February 2007 Location: Baltimore
|
Junior Member |
|
|
Thanks guys for responding to my emails,
But sqlldr doest load pictures from computer.
create table t1
(id number,
pic blob);
create or replace directory as 'c:\images';
INSERT INTO t1 (id, pic)
VALUES (123, 'bridge.jpg');
Can I insert the pictures like this? or what are the proper
steps?
Do I have to run DBMS_LOB built-in package first or something?
Thanks In advance ....
Ayub
Thanks
|
|
|