If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How to Store the path to BLOB Images in DB2 V9.5 LUW?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-01-11, 16:21
JBJ JBJ is offline
Registered User
 
Join Date: Dec 2011
Posts: 1
How to Store the path to BLOB Images in DB2 V9.5 LUW?

we are evaluating performance, backup and data integrity between:

A) storing actual BLOB images
vs
B) storing path to the images in db2 V9.5 Linux/AIX.

I was able to store actual BLOB images using the load command:

1)
CREATE TABLE "TEST "."IMAGE" (
"IMAGE_NAME" CHAR(15) ,
"IMAGE" BLOB(200 k) NOT LOGGED NOT COMPACT);

2)input_image.del :
TestImage , image_01.tif

3) Load data
load from input_image.del of del
lobs from /test/image/
modified by lobsinfile
insert into test.image;

My question is how do I store the path to BLOB Images using load?

Thanks in advance.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On