Note that there are some explanatory texts on larger screens.

plurals
  1. POOLE DB Destination Task adds values at the end of values
    primarykey
    data
    text
    <p>A simple data flow causes a lot of trouble when i try to </p> <ol> <li>read data from one column (<strong>oracle 9.2.0.8</strong>) and</li> <li>directly write it to an oracle destination table (same database)</li> </ol> <p>The column(<strong>varchar2 25byte</strong>) i <strong>import</strong> looks like this:</p> <pre><code>241200001 151200001 211200001 161200001 1231704383 </code></pre> <p>When i select the column(<strong>char 10byte</strong>) of the <strong>destination</strong> table, it looks like this:</p> <pre><code>241200001 151200001 3 211200001 3 161200001 3 1231704383 </code></pre> <hr> <p>The following screenshot shows the data grid between source and destinatin.Here, everything seems to be fine.</p> <p><img src="https://i.stack.imgur.com/EuE9n.jpg" alt="enter image description here"></p> <p>The next screenshot show, that there are zeros added and the end, but not everywhere. (This is the preview window of the destination task, but it looks the same in TOAD)</p> <p><img src="https://i.stack.imgur.com/r1J06.png" alt="enter image description here"></p> <hr> <p>Inspecting the length of the values gives the following result, which seems pretty ok:</p> <pre><code>Select id, length(id) as length from test_view ID LENGTH ------------------------- ---------- 42120001 8 23120001 8 22120001 8 26120001 8 25120001 8 22120001 8 22120001 8 23120001 8 18120001 8 18120001 8 1235800020 10 58120001 8 52120001 8 52120001 8 57120001 8 52120001 8 52120001 8 </code></pre> <hr> <p>For some reason, there is a value added at the end with a space. I've seen values being added between <code>1-3</code>, i really wonder where this comes from. There is no truncation occurring if you are worried about the shorter destination. When i set the destination column to <code>varchar2</code> it works, but we need to leave it as it is. </p> <p>Inside the data flow, the data is a <code>string(25)</code>. So why should there be a problem with this destination?</p> <p><strong>UPDATE:</strong></p> <p>This is weird. I don't think the codepage warning is causing this error. The input data looks good, and the package is pretty standard. Could this really be a driver issue, or a problem/bug of the destination task?</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