Unwanted characters when loading files at ODI table

Hi all

I get some unwanted characters when loading data from a file .txt or .csv using ODI.
The presence of it's random, i.e. it varies from a field in each race.

The data appear correct directly in the output of the query, but if you copy paste data into the window of developer or on Notepad etc it appears as:
*"*
*"*

for example. If the result of the query is AMIT, if I have the same copy into Notepad, it appears as:
* "AMIT *"
*"*

Can we make a few adjustments in ODI to overcome this problem?

Thanks in advance.

Concerning
Amit

Published by: user12195264 on March 21, 2011 23:46

Published by: user12195264 on March 21, 2011 23:46

See if the unwanted tank occurs in various field then you can not do something in odi. You should change the data file or if you know the right column you can you can update with the following query:

Update table_name set col = substring (col, 1, length (col)-1);

Tags: Business Intelligence

Similar Questions

  • APEX 5: FILE item type to BROWSE not load file into the table apex_application_temp_files

    Hello

    I am trying to load the BLOB (CSV file) into apex_application_temp_files table using the file_browse item type. I have created an example page and the added element of type file_browse, added a dynamic action, which send item to browse.

    Also added a button load that submits the page. But when I check the apex_application_temp_files of APEX sql workhop table, nothing appears.

    I purge file to "end of Session. Enclosed screen shot as well.Capture.PNG

    Thank you

    Ankit

    Hi Pierre,.

    has added a dynamic action, submitting travel item.

    How can you submit just the element go? How your dynamic action look like?

    But when I check the apex_application_temp_files of APEX sql workhop table, nothing appears.

    It is by design, because the sight of apex_application_temp_files limited to your current session. In your case at the session of constructor and not your application.

    Add a process to the page that contains the item "Browse file" when you use

    select *
      from apex_application_temp_files
     where name = :page item name;
    

    to access your downloaded BLOB.

    Concerning

    Patrick

  • Loading files using ODI

    Friends,

    Just a query related to the loading of data from several files in Oracle DB.

    If I run the ODI scenario to load data from flat files 5 (fixed format) and it process the file 1 and 2, now the file number 3 has errors and would be rejected by ODI. is it possible to continue with 4 file and folder 5 ODI?

    Concerning
    KS

    Hi shenoyk,

    Its possible in ODI, a single interface to used to load multiple interface. It must be done by the iterative method.

    Please use the variable as the name of the data store in the model file. While she will identify several dynamilcall files by updating the variable.

    I guess that next steps will help you

    (1) all in now listing the names of files to treat in the temporary table.
    (2) get temp table with variable count and verify this count > 0 means take the next step 3
    (3) use a refresh V1 variable to get the name of min of leadership (how to get the unique name)
    (4) use V1 under the name of the database file must be downloaded.
    (5) Ko option allows the command of ODI, move the wrong file to another directory. and return to step 6
    (6) use ok option procedure ODI (write code to delete the file in the temporary table name)
    7) go to step 2
    (8) in step 2, when the count is equal to 0 (doesn't mean that no file available in this folder to deal with) then the process will be completed.

    It makes sense.

    Thank you
    Madha

  • LabVIEW 7.1 gives error when loading files

    Hi all

    I get missing VI error when I opened a file .vi .it charge about 480 sub translation problem - VI I face is that by loading of the Subvi

    will lack & when I opened this particular sub - VI, then the error message goes away.this is not specific to a particular subvi.anytime

    I open the program list of the vi missing is not the same as the earlier.since I'm going to convert it into a .exe file & if missing a few vi

    so this is incorrectable.also massive compilation is not the case

    in the hope of a quick response

    Dhiraj Kumar

    Hello

    Is not the problem of Version 7.1, I think you may have changed the location of the Subvi or changed the name of the VI. So generally I suggest you to keep all the Sub - VI slot in the same place, all in the same folder and link to the VI main if you change the name also to relate to the main VI and then save. To do this, and then create the EXE file.

  • Error when loading files TDMS of USI

    A Labview project is generataing TDMS files, on my computer the PDM files are opened correctly in Excel.

    While on other computers, users receive the following error message: "WARNING: the"CHANNEL NAME"string data type is not supported by ICU!

    Therefore, when displayed in Excel, channel contains 0 data. When I try to open the same file on my computer, I get all the data.

    You have the latest version of excel addins installed on other machines?

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/2944

    What tiara/ICU version are you using (Tiara on the box) and is NEITHER software installed on other machines.

  • I'm runinng Windows XP Home Edition 5.1 Service Pack 3 but my computer is very slow when loading files could you tell me about the software to speed things up please

    My computer is very slow runinng when I'm checking my Email and sorting out when I delete the emails I don't want it seems to take more than five minutes to remove as it is very slow to load web pages from the Internet

    HI Bob,

    Unless you use MSE and think the problem is caused by malware (which is possible, but not very likely given the much more likely reasons - however, if this is the case, after return and we will be happy to provide instructions on how to clean your system and check that this has been done correctly and completely) please repost it here for help on this issue: http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance?page=1&tab=all&tm=1300700638376 where experts in the field are better qualified to help you.

    Good luck!

  • My computer (gateway GT5404) becomes noisy when you run the windows media player, often when you use the interent and frequently when loading files/photos or download. What is a hard drive problem?

    My computer did this for about a year. It is currently 4 years with 1 GB of RAM.

    JBW

    Could be HD or thermal / fan.  I want to download cpu - z and gpu - z (both free) to check the time.

    I also get the HD of the Lim diagnostic utility and run it to check the HD

  • How to remove unwanted characters in ODI Flatfiles

    Hi Experts,

    Can someone please explain, how to remove unwanted characters from flat files before moving on to the target? Your help will be greatly appreciated. Thanks in advance.

    Kind regards

    REDA

    On oracle staged you can use REGEX_REPLACE to get rid of special characters, for example

    REGEXP_REPLACE (, "[^ [: alnum:]" "]', NULL")

    or

    REGEXP_REPLACE (, "[[: cntrl:]] ','") to get rid of nonprinting characters

    In ODI 11.x you would put this in the field of the expression of the target model in your interface

    The ODI 12, you would use a component of the expression in your mapping

  • PS Bridge: how to load files to ch in a sequence of specific layers?

    Hello. Have massive graphical files and try to quickly call the different plans.

    I just discovered snapshot of history, which is awesome, but I was wondering if it is possible in Bridge

    to control the sequence of layer order when loading files in Photoshop.

    Path of the menu = Tools_Photoshop_Load files in Photoshop layers

    Thanks in advance for your suggestions.

    There are many authors of scripts ace here, but will ask the Scripting Forum

    Photoshop scripts

    Be sure to give specific details of your needs, as well as the operating system and the version of Photoshop you use.

  • Get the error loading file csv to oracle table

    Hello

    I'm tryitng to load the csv file into oracle db table.

    Source:

    CSV file have account_numbers, customer_names. all the fields, it took as channel.

    Target: Oracle db

    If I took all the fields as varchar, it loads very well. but I want to

    Oracle table fields: digital account numbers or decimal (20.2)

    customer_names as varchar2 format.

    When I'm trying to load csv to oracle table, I am getting following error.

    err7.png

    ODI-1228: fgh1 (integration) task fails on the target odi_user1 ORACLE connection.

    Caused by: java.sql.SQLSyntaxErrorException: ORA-01722: invalid number

    I tried so many times. I am still getting error.

    TO_NUMBER function I also used, getting same error

    Please help me,

    Thank you and best regards,

    A.Kavya.

    Hi, String, CSV file data type have values of amount a 54,356,4657.89 format. Like this. In odi, I took number (30.2) of data types for the target table. When I traced in odi, I get error like invalid number. to do this, I changed the values in csv file format. I removed commas. for example, 543564657.89. Yet once, I traced csv to oracle in odi. executd successfully. Thanks & regards, A.kavya.

  • SQL Loader loading data into two Tables using a single CSV file

    Dear all,

    I have a requirement where in I need to load the data into 2 tables using a simple csv file.

    So I wrote the following control file. But it loads only the first table and also there nothing in the debug log file.

    Please suggest how to achieve this.

    Examples of data

    Source_system_code,Record_type,Source_System_Vendor_number,$vendor_name,Vendor_site_code,Address_line1,Address_line2,Address_line3

    Victor, New, Ven001, Vinay, Vin001, abc, def, xyz

    Control file script

    ================

    OPTIONS (errors = 0, skip = 1)
    load data
    replace
    in the table1 table:
    fields ended by ',' optionally surrounded "" "
    (
    Char Source_system_code (1) POSITION "ltrim (rtrim (:Source_system_code)),"
    Record_type tank "ltrim (rtrim (:Record_type)),"
    Source_System_Vendor_number tank "ltrim (rtrim (:Source_System_Vendor_number)),"
    $vendor_name tank "ltrim (rtrim (:Vendor_name)),"
    )
    in the Table2 table
    1 = 1
    fields ended by ',' optionally surrounded "" "
    (
    $vendor_name tank "ltrim (rtrim (:Vendor_name)),"
    Vendor_site_code tank "ltrim (rtrim (:Vendor_site_code)),"
    Address_line1 tank "ltrim (rtrim (:Address_line1)),"
    Address_line2 tank "ltrim (rtrim (:Address_line2)),"
    Address_line3 tank "ltrim (rtrim (:Address_line3)).
    )

    the problem here is loading into a table, only the first. (Table 1)

    Please guide me.

    Thank you

    Kumar

    When you do not provide a starting position for the first field in table2, it starts with the following after a last referenced in table1 field, then it starts with vendor_site_code, instead of $vendor_name.  So what you need to do instead, is specify position (1) to the first field in table2 and use the fields to fill.  In addition, he dislikes when 1 = 1, and he didn't need anyway.  See the example including the corrected below control file.

    Scott@orcl12c > test.dat TYPE of HOST

    Source_system_code, Record_type, Source_System_Vendor_number, $vendor_name, Vendor_site_code, Address_line1, Address_line2, Address_line3

    Victor, New, Ven001, Vinay, Vin001, abc, def, xyz

    Scott@orcl12c > test.ctl TYPE of HOST

    OPTIONS (errors = 0, skip = 1)

    load data

    replace

    in the table1 table:

    fields ended by ',' optionally surrounded "" "

    (

    Char Source_system_code (1) POSITION "ltrim (rtrim (:Source_system_code)),"

    Record_type tank "ltrim (rtrim (:Record_type)),"

    Source_System_Vendor_number tank "ltrim (rtrim (:Source_System_Vendor_number)),"

    $vendor_name tank "ltrim (rtrim (:Vendor_name)).

    )

    in the Table2 table

    fields ended by ',' optionally surrounded "" "

    (

    source_system_code FILL (1) POSITION.

    record_type FILLING,

    source_system_vendor_number FILLING,

    $vendor_name tank "ltrim (rtrim (:Vendor_name)),"

    Vendor_site_code tank "ltrim (rtrim (:Vendor_site_code)),"

    Address_line1 tank "ltrim (rtrim (:Address_line1)),"

    Address_line2 tank "ltrim (rtrim (:Address_line2)),"

    Address_line3 tank "ltrim (rtrim (:Address_line3)).

    )

    Scott@orcl12c > CREATE TABLE table1:

    2 (Source_system_code VARCHAR2 (13),)

    3 Record_type VARCHAR2 (11),

    4 Source_System_Vendor_number VARCHAR2 (27),

    5 $vendor_name VARCHAR2 (11))

    6.

    Table created.

    Scott@orcl12c > CREATE TABLE table2

    2 ($vendor_name VARCHAR2 (11),)

    3 Vendor_site_code VARCHAR2 (16).

    4 Address_line1 VARCHAR2 (13),

    5 Address_line2 VARCHAR2 (13),

    Address_line3 6 VARCHAR2 (13))

    7.

    Table created.

    Scott@orcl12c > HOST SQLLDR scott/tiger CONTROL = test.ctl DATA = test.dat LOG = test.log

    SQL * Loader: release 12.1.0.1.0 - Production on Thu Mar 26 01:43:30 2015

    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.

    Path used: classics

    Commit the point reached - the number of logical records 1

    TABLE1 table:

    1 row loaded successfully.

    Table TABLE2:

    1 row loaded successfully.

    Check the log file:

    test.log

    For more information on the charge.

    Scott@orcl12c > SELECT * FROM table1

    2.

    RECORD_TYPE SOURCE_SYSTEM_VENDOR_NUMBER $VENDOR_NAME SOURCE_SYSTEM

    ------------- ----------- --------------------------- -----------

    Victor Ven001 new Vinay

    1 selected line.

    Scott@orcl12c > SELECT * FROM table2

    2.

    $VENDOR_NAME VENDOR_SITE_CODE ADDRESS_LINE1 ADDRESS_LINE2 ADDRESS_LINE3

    ----------- ---------------- ------------- ------------- -------------

    Vinay Vin001 abc def xyz

    1 selected line.

    Scott@orcl12c >

  • 4.2.3/.4 data support assistant - slow when loading large files

    Hello

    I use the load data wizard to load csv files into an existing table. It works very well with small files up to a few thousand rows. When loading 20 k lines or more loading process becomes very slow. The table has a unique numeric column to the primary key.

    The primary key is declared to the "shared components"-> logic-> "data loading tables" and is recognized as 'pk (number)' with 'case sensitve' set to 'No '.

    When loading the data, these Setup executes the following query for each line:

    Select 1 "Klaus". "' PD_IF_CSV_ROW ' where upper ("PK") = upper(:uk_1)

    which can be found in v$ sql view during loading.

    It makes the process of slow loading because of the superior function, no index can be used.

    It seems that the setting of "case sensitive" is not rated.

    Removing the numeric index for the key primary and with the help of a function based index do not help.

    Explain plan shows an implicit conversion "to_char":

    UPPER (TO_CHAR (PK) = UPPER(:UK_1)

    It is missing in the request, but perhaps that it is necessary for the function based index to work.

    Please provide a solution or workaround to load data Wizard work with large files in a reasonable time.

    Best regards

    Klaus

    You must have the correspondence of PK to be "exactly - case-sensitive" (or something like that)

    In addition, I was already on the slowness with Oracle Support when dealing with important content.

    They are aware of the problem.  Only around is known to break up the data into smaller segments.

    (I'll have to track down the correct ID for reference...)

    My observation:

    APEX data loader makes a slow-by-slow transformation of the data instead of treatment in bulk.

    You will need to break up the data, or to build your own data loader.

    Thank you

    MK

  • Load a CSV file into a table like in dataworkshop

    Workshop of data has a function to load a CSV file and create a table based on it, the same, I want to create in my application.



    I went through the forum http://forums.oracle.com/forums/thread.jspa?threadID=334988 & start = 60 & tstart = 0

    but not able to download all the files (application, package HTMLDB_TOOLS and PAGE_SENTRY function) could not find the PAGE_SENTRY function.

    AND when I open this link http://apex.oracle.com/pls/apex/f?p=27746

    I could not run the application. I've provided a CSV file and when I click on SEND, I get the error:

    ORA-06550: line 1, column 7: PLS-00201: identifier ' HTMLDB_TOOLS. PARSE_FILE' must be declared

    tried in apex.oracle.com host as shown in the previous post.

    any help pls..,.

    Another method to load data into the tables..., (as dataworkshop)

    Hello

    I have check app works very well.

    Have you read instructions?
    Load a CSV file in a table
    >
    Create a small csv file as

    col1, col2, col3
    VARCHAR2 (10), Number, "Number (10.2)" "
    Cat, 2, 3.2
    dog, 99, 10.4
    >
    First row must have valid column names. To verify that your first line of titles have no spaces or those who are not words reserved.
    Second line of the CSV file must have column of table data types.

    When you meet these requirements app works perfectly

    Kind regards
    Jari

  • Extra characters when you write table 2D in the worksheet

    I try to write 2D data in a spreadsheet file, but I'm getting extra characters at the beginning of the file. I only get extra characters when I have a user selected file to write data. If I let LabVIEW to create the file, then there is no additional characters in the file. I created a VI that shows the problem I encounter.

    Am I missing something, or LabVIEW puts these characters there for a reason?

    Thank you!

    -Andrew

    If I create an empty file in Excel 2010 and save as .csv, I have no problem. I have run your VI and I have 3 rows, the first is empty because the file has already been created.

    If I create an empty file and save it as .xlsx, then go into windows Explorer and change the .csv extension, I get output similar to yours. It seems that when you create the file before you run your VI you could attach the .csv extensions to something that isn't actually a .csv.

  • I installed Windows 7 on my computer. Its rebooted normally, but when he was loading files to the top of the color went all wrong... As you do not see the weight...

    Installation of window 7. ! With a problem! Help, please!

    I installed Windows 7 on my computer. Its rebooted normally, but when he was loading files to the top of the color went all wrong...

    As you do not see the weight...

    Please help me!

    • 512 GB of ram with a Flash ram Drive his 10
    • Windows aero does not support "as the scan did not say very important hahah: D.
    • Intel Inside Pentium 4
    • Reference Dell computer WITH a disk emachine hard and things 'VERY OLD '.
    • 149 with Flash Drive 500 GB hard drive

    Help, please!

    PS. Mr. need help! D:

    I can run vista Basic that lol

    I didn't mean that you cannot run Windows 7. I have run on systems with 512 MB of ram. It will work, but will slip. It will be the same for Vista. I recommend that stick you with Xp until you are able to upgrade your ram.

Maybe you are looking for

  • Firefox plant - is unable to close the program correctly and start it again

    One day, after starting my computer, I opened the browser, but it did not open properly and frozen. I did "alt + ctrl + DELETE" and closed the browser, but when I tried to open it again, it showed:"Well, it's embarrassing.Firefox has struggle to reco

  • Problems with activation of virtualization in BIOS dv6

    Hi, I bought my new lap top about 1 month now and im seem unable to find the option to turn virtualization technology in my lap top via the bios settings, I really need to run VMware for my studies needs. my upper turn specification is: HP Pavilion d

  • Aspire S7 - 391 problems Wifi

    I have nothing else problems with wifi on my S7-391. I installed the latest drivers on the site. My problem is Wifi works fine, once connected - but every time the laptop sleeps and wakes up - it may or may not reconnect. Help - this is really unacce

  • parameters of crashing when the language selection and entry

    my settings app Crash when I open the section language and input, a clean install ROMs 'Acer_AV061_V370_1.006.00_ww_GEN1s' to fix this? and would be personal acer kindly link me the ROM download all that I can find is the version double sim and I rea

  • 2 GB to 4 GB upgrade

    I have a HPdv9500 (model dv9520tx) with 2 GB RAM running 32-bit Vista Home Premium. I previously read that 4 GB of RAM would not make a difference on Vista 32 bit. If I switch to 32-bit Windows 7, 4 GB RAM will improve performance or should I install