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 > Is it possible to see BLOB content in CLP?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-19-06, 14:11
jinsezh jinsezh is offline
Registered User
 
Join Date: Aug 2006
Posts: 33
Question Is it possible to see BLOB content in CLP?

Hi there,

I have a blob which only contains XML strings, so I wonder is there any way I can see the BLOB content( First 200 chars is enough) in CLP.

Mine is DB2 v8.2

Thanks,
Jinse
Reply With Quote
  #2 (permalink)  
Old 12-20-06, 01:24
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
blob

so why was blob and not clob used - if keeping regular readable data
blob is for objects -(gif,pdf...)
clob can be displayed just by select * from table
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #3 (permalink)  
Old 12-20-06, 14:25
jinsezh jinsezh is offline
Registered User
 
Join Date: Aug 2006
Posts: 33
Quote:
Originally Posted by guyprzytula
so why was blob and not clob used - if keeping regular readable data
blob is for objects -(gif,pdf...)
clob can be displayed just by select * from table
Unfortunately, I am not the one who decide data types, and have to live with BLOB.

So there is no way to see BLOB in select query?
Reply With Quote
  #4 (permalink)  
Old 12-21-06, 01:21
Coolhard Coolhard is offline
Registered User
 
Join Date: Aug 2005
Posts: 24
Hi guyprzytula,

May I know how to store the CLOB data type in DB2 UDB v7.1 onward?
Can I use insert into statement as usual?

Thanks,


Quote:
Originally Posted by guyprzytula
so why was blob and not clob used - if keeping regular readable data
blob is for objects -(gif,pdf...)
clob can be displayed just by select * from table
Reply With Quote
  #5 (permalink)  
Old 12-21-06, 01:45
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
blob

__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
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