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 > Import PDF into DB2 BLOB column

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-15-11, 11:55
balasach82 balasach82 is offline
Registered User
 
Join Date: May 2011
Posts: 1
Import PDF into DB2 BLOB column

All,

Is there any way to load an PDF file into an DB2 table with BLOB column? We tried with SQL 2000/2005 (DTS,SSIS), but when we could not extract the exact pdf from DB2 (maybe due to ASCII to EBCDIC conversion while loading from sql to db2). Any help is welcome.

Thanks
Reply With Quote
  #2 (permalink)  
Old 05-15-11, 14:41
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by balasach82 View Post
maybe due to ASCII to EBCDIC conversion while loading from sql to db2
There won't be any conversion if it's a BLOB column; something must be wrong with your loading process.
Reply With Quote
  #3 (permalink)  
Old 05-15-11, 16:43
Marcus_A Marcus_A is online now
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Quote:
Originally Posted by n_i View Post
There won't be any conversion if it's a BLOB column; something must be wrong with your loading process.
I think you mean "there shouldn't be any conversion." That is because if the file was transfered from a PC to the database server (I assume z/OS or iSeries, since those are EBCDIC) then the file should have been transfered as a binary file (if it was transfered correctly).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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