Note that there are some explanatory texts on larger screens.

plurals
  1. PODB2 Select Character Issues
    primarykey
    data
    text
    <p>I am trying to select data from a DB2 database managed by another person so I can insert it into my SQL database managed by me for data manipulation. I am using a java program to do this and the program has tested successfully on test data. However, I am getting errors because of strange symbols in the db2 data. Here is my error log.</p> <pre><code>Incorrect string value: '\xC2\x97D #5...' for column 'Name' at row 1 java.sql.SQLException: Incorrect string value: '\xC2\x97D #5...' for column 'Name' at row 1 INSERT INTO `Temp_Equipment_Inventory`.`PC_Table10i` SET `Account_No`='1019TJ148001',`Inventory_No`='569931',`Building_No`='0060',`Location`='CLASSRM',`FYYR_No`='2004',`Cost`='635.00',`Name`='MICROPHONE LAVALIER WIRELESS (ISCÂD #5290) SHURE MODEL ULXP14/85 ',`CDCATY`=' ',`CDSRCE`='M',`FLDCAL`=' ',`CDACQN`='G',`FLOWNR`='Y',`FLSHAR`=' ',`CDDELT`='00',`CNYTDT`='00',`NOPURO`='6870607-01 ',`NOPIMO`='01',`CDPREI`='E',`Original_Amount`='155.00',`Serial_Code`='0309040351 ',`CDCOMP`=' ',`NOCHECK`='680146 ',`CDCOMM`='3651400',`Last_Update`='2008-07-18',`CDDEPT`='148',`Room_No`='0300 ',`Date_Scanned`=NULL,`Date_Acquired`='2004-03-09',`Manufacturer_Name`='SHURE ',`Expiry_Date`=NULL </code></pre> <p>As you can see, the Name column has the data (ISCÂD #5290) with the funny  throwing the error. However, when I browse the data in the db2 table, this  does not appear. </p> <p>I have set the mysql tables to UTF-8 unicode ci.</p> <p>I cannot edit the db2 database since it is not managed by me.</p> <p>What else can I do to try and get around this  symbol in my data?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload