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 > Image in DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-25-09, 00:43
sumanjoshi.28 sumanjoshi.28 is offline
Registered User
 
Join Date: Nov 2009
Posts: 2
Image in DB2

Hi... I am using IBM DB2 Veersion 9.
How to sotre image in this database.
Reply With Quote
  #2 (permalink)  
Old 11-25-09, 07:20
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Use BLOB datatype
Reply With Quote
  #3 (permalink)  
Old 11-25-09, 08:06
sumanjoshi.28 sumanjoshi.28 is offline
Registered User
 
Join Date: Nov 2009
Posts: 2
hi..
yup.. i used BLOG data type.... I am trying to add rows through GUI... i have one Integer datatype and one BLOG data type in my table... so i am not getting how to insert integer value and image file to that table...
plz. help.
Reply With Quote
  #4 (permalink)  
Old 11-25-09, 09:05
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
You need some functionality that reads the data from the file and passes it to the BLOB (not BLOG). Depending on what your GUI is, you may already have such a feature, or you may need some function for that. It also depends on the answer to the question where the file resides - is it on the database server or the local client? If it is on the server, you could do something like this: A DB2 UDB still image extender
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
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