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 > ASCII characters loaded while running DB2 Load Utility

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-29-11, 10:40
vivek122 vivek122 is offline
Registered User
 
Join Date: Aug 2011
Posts: 4
ASCII characters loaded while running DB2 Load Utility

Hi,

I am using the DB2 Load utility to load a delimited file , and am facing a strange issue.

After the delimited file gets loaded into the DB , when I run a select query on the table , it shows the loaded rows along with certain ascii values, in this case the ascii value which is 239 , equivalent to a cube

The delimited file does not contain any such data , then why is DB2 Load utility loading records with the ascii value.

Any help in this regard will be greatly appreciated.

Thanks ,
Vivek
Reply With Quote
  #2 (permalink)  
Old 08-29-11, 11:18
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by vivek122 View Post

The delimited file does not contain any such data
How did you verify that?
Reply With Quote
  #3 (permalink)  
Old 08-29-11, 11:34
vivek122 vivek122 is offline
Registered User
 
Join Date: Aug 2011
Posts: 4
I verified by opening it , since i had access to the same.
Reply With Quote
  #4 (permalink)  
Old 08-29-11, 11:44
Stealth_DBA Stealth_DBA is offline
Registered User
 
Join Date: May 2009
Posts: 472
vivek122, Did you view it with a Hex editor? Some of those ASCII characters and non-printable and don't show up on normal viewing.
Reply With Quote
  #5 (permalink)  
Old 08-29-11, 12:19
vivek122 vivek122 is offline
Registered User
 
Join Date: Aug 2011
Posts: 4
Hi Stealth_DBA ,

I will try it out and update the post here...

Thanks
Reply With Quote
Reply

Tags
db2 9.7

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