ODI 12 c mapping, treating of reserved words on CBC and FIT data sources

Hi people

I have this problem:

My SOURCE is an instance of MS SQL Server 2000 and my GOAL is Oracle 12 g

I use the mapping, and I want to map this table "ICACCT" of the SQL Server to the same table in the Oracle database

But it won't let me not even validate my mapping and when I hit post, it throws this error:

An error was encountered when parsing the expression: ICACCT. DESC. The default parser supports the ANSI SQL delimiter.

If you want a nonstandard syntax, use delimiters form free expression / %% and %% / around the expression

[I know DESC is a reserved word in SQL Server and you can't question like this: 'SELECT DESC OF the TABLE' unless put you it between hook]

How can I solve this problem? is there a way to tell ODI to use aliases for this? (DESC description)

I really appreciate your help,

I found a solution!

Both the ODI 12 I went and edited the LKM SQL for Oracle

All what you need to do is put a support [ and ] or around your field name ([COL_HEADING]), and that's the change I've made:

-Open LKM SQL for Oracle

- Go to tasks

-Click on "load data".

-On the "Source order" edit box change the following:

<%=odiRef.getColList(i, "", "[EXPRESSION]\t[ALIAS_SEP] [CX_COL_NAME]", ",\n\t", "", "")%>

TO:

<%=odiRef.getColList(i, "", "[[COL_HEADING]]\t[ALIAS_SEP] [[CX_COL_NAME]]", ",\n\t", "", "")%>

Tags: Business Intelligence

Similar Questions

  • In the odi package, if mapping OK then si cartographie ok puis definissez set evaluate variable true

    In package of odi, if mapping OK then together assessed variable true and if the mapping is KO and then together evaluate false variable.

    Why do you need to estimate variable?

    If you need custom with battery archiving:

  • 12 c - BOX WHEN ODI IS in maps

    Hello


    I just would like to know is possible to do the following select statement with ODI 12 c mapping in order to load the results into a target table?

    SELECT
    Table1.my_field,
    Table1.ipart,
    Table1.ISEC,
    CASES WHERE NOT EXISTS (SELECT 1
    FROM TABLE2
    JOIN IN-HOUSE TABLE3 on TABLE2.pid = TABLE3.pid
    WHERE table1.my_field = TABLE2.id
    AND TABLE3.typ! = '5004') THEN 0
    WHEN THERE ARE (SELECT 1
    FROM TABLE2
    JOIN IN-HOUSE TABLE3 on TABLE2.pid = TABLE3.pid
    WHERE table1.my_field = TABLE2.id
    AND TABLE3.aid = '001') THEN 1
    2 ELSE
    Flag of the END as the
    FROM TABLE1


    Thanks for the suggestions.

    Why don't give you it a try and see if it works :-) Your other option is set up the joins of tables correctly and avoid the need for scalar queries in total that is sub

    Table1 inner join table2 on id

    Table2 left join table3a (first instance of table 3) with appropriate filters

    Table2 left join table3b (second instance of the table 3) with appropriate filters

    your would then assess the NULL state of the relevant fields in your case statement to get the result

  • issue of reserved words

    A while back, before the Forum, I asked a question on something and someone commented on how I used 'round' as a column, and it is a reserved word.

    I finally got the attention of management on this issue, and they want more information.  I found many ways to track down the reserved words, and I have a long list of bounce however to find columns in need of change.

    HOWEVER.

    In ANY of these lists is the word 'ROUND. "

    He knows another TYPE of keyword or something, because I need to know what to look for on.  I want to make sure I cover all the bases on this one since I had to make quite the stink from the attention required to open a project for it.

    Thank you!

    Well I can not check in 10g. 11 g ROUND is in the list of reserved words, but it is not marked as reserved.

    KEYWORD LENGTH RESERVED RES_TYPE RES_ATTR RES_SEMI DOUBLE

    ROUND 5 N N N N N

    Who (I think) means that oracle does not raise an error, if you use it somewhere, for example as column name.

    Once again, which means the code will get totally confused and potentially buggy.

    This is why it is not recommended to use these keywords.

    TestScript:

    create table testkw (ID number, round number);

    insert into testkw

    Select the level, level/5 from dual connect by level<>

    SELECT id, testkw (round) round;

    drop table testkw;

  • Reserved words in SQLFire

    Hi all

    I have a table with a column called TRANSLATION. I noticed that it is a reserved word in SQLFire, but found no reference in the documentation.

    I also did not find to themselves to escape the word seserved (assuming that's possible).

    Does anyone have an idea?

    Thank you

    IKA.

    A way around this is to use the keyword in capital letters, quotation marks:

    create table 'TRANSLATE' (whole col1);

    Here is the list of reserved keywords comes entirely from Derby, which, in turn, comes entirely from SQL92:

    http://DB.Apache.org/derby/docs/10.1/ref/rrefkeywords29722.html

    Please let us know if it works for you.

    Yogesh-

  • List of reserved words

    11.2
    trying to create an external table with a collar name POSITION. Table created but data selection in it gives an error unless I have rename the pass to something else. If Im think it is a word reserved, but it is not listed here http://docs.oracle.com/cd/E11882_01/server.112/e17118/ap_keywd001.htm


    Ive also interviewed directly view dict.

    Select * from V$ RESERVED_WORDS
    where the keyword "POSITION".
    order by 1

    no = no line

    for those who want to post notes of support without checking what is in them, already done
    How to determine the reserved words? [98859.1 ID]

    which shows nothing

    Then I tried google and found this note
    http://dbaforums.org/Oracle/lofiversion/index.php?t18055.html
    which seems to highlight something similar but Ive still to see where the word POSITION is a reserved word. Ive accepted that it is at this point and no biggie to change but point of interest Noah

    POSITION is indeed a reserved words for the ORACLE_LOADER access driver (which is the default driver to load data in an external table in the text file)
    http://docs.Oracle.com/CD/B19306_01/server.102/b14215/et_concepts.htm#i1009380
    and
    http://docs.Oracle.com/CD/B19306_01/server.102/b14215/et_params.htm#i1012572

  • Best practices for the use of reserved words

    Hello
    What is the best practice for the use of the reserved words as column names.
    For example if I insisted on the use of the word to a column name comment as follows:

    CREATE TABLE...
    VARCHAR2 (4000) "COMMENT."
    ...

    What is the impact on the track I could expect and what problems should I be informed when doing something like that?

    Thank you
    Ben

    The best practice is NOT to use reserved words anywhere.
    Developers are human beings human. Humans have their moments to forget things.
    They will not forget to use the "", or you can force it to use the "' everywhere.
    The two methods are Oracle certified ways to end up in hell.

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • What to do when a table name is a reserved word?

    I know that the best answer is not to use a reserved word to name a table. But I have no control over it in this situation. I read that all Caps and citations will allow you to use the table name in the queries, i.e. 'CATEGORY' is supposed to make the table to use. But that is certainly not to work, nor any variation of this setting in the form.

    Anyone know how to format a reserved word to allow queries?

    Thank you

    Hello

    user8998591 wrote:
    Yes, it works, but if I want to refer to a column in this table (i.e. WHERE to EDIT. F_ID = 4) quotes do not work.

    They work for me.
    Post your code; It is difficult to tell what you're doing wrong without knowing what you are doing.

    Massimo Ruocchio wrote:

    BTW CATEGORY is not a reserved word:

    No, 'CATEGORY' is not a reserved word, but it is a key word:

    SELECT    keyword
    FROM       v$reserved_words
    WHERE       keyword     LIKE 'CAT%'
    ORDER BY  keyword;
    
    KEYWORD
    ------------------------------
    CATEGORY
    

    so there may be situations where it should be in double quotes. It is best not to use any keyword for your own tables or columns.

  • HWO to practice 2 gmail and facebook 2 on the same firefox without needing to type the name and pass word time avery and keep them all open

    HWO to practice 2 gmail and facebook on the same firefox 2 with
    not required for tipe the name and pass word time avery and keep them all open

    In Gmail, you should be able to have several accounts at the same time, check the settings for Gmail.

    See also:

  • My monitor's display windows, word, etc. vertically and not horizontally

    My monitor's display windows, word, etc. vertically and not horizontally - how to fix?  I have the screen tilted on its side to use it right now.

    Press the CTRL or Alt + key staggered with the arrow keys to rotate your screen. It is a function of your graphics card. You can also right click power on a space empty on your desktop and in context to the rotation menu look, Orientation, landscape, or something similar.

    Kind regards

  • How to make a PDF to a Word doc file and an Excel doc?

    How to make a PDF to a Word doc file and an Excel doc?   Finally, I would like to combine Word and Excel doc doc. in a single PDF file.

    Hello

    You will be first to combine the word and excel doc sheet first to a single Document, may be you can copy and paste the content in the Excel file in the word do.

    Once you have done that you can use Word to PDF converters, you can download a program to do this or use an online service

    I usually use the following website http://www.pdfonline.com/convert-pdf/ which is free and is safe for me.

  • Is it legal to make spreadsheets and other activities using Word from Microsoft and your website software clip art for commercial use?

    Original title: TeachersPayTeachers.com

    I'll be seller on the web site of teachers pay teachers. Is it legal to make spreadsheets and other activities using Word from Microsoft and your website software clip art for commercial use? Also, is it legal to do PowerPoint presentations to sell on TpT?  Is it legal to use your fonts as free cosmic in my products? Be sure to answer you in simple, all of the legal terms because my head spin.

    Thank you

    Irish

    Original title: TeachersPayTeachers.com

    I'll be seller on the web site of teachers pay teachers. Is it legal to make spreadsheets and other activities using Word from Microsoft and your website software clip art for commercial use? Also, is it legal to do PowerPoint presentations to sell on TpT?  Is it legal to use your fonts as free cosmic in my products? Be sure to answer you in simple, all of the legal terms because my head spin.

    Thank you

    Irish

    When you register as a seller on TPT you can then go to their forum and find all your answers.  Click on your dashboard (you'll see that once you signed) and you will find the forums where the seller go to questions and support.  I hope this helps.

  • Printing blank pages when printing from Word 2007, WordPad and Notepad, print well other programs

    Weird printing problem

    Good, in Windows Vista and using a printer HP Deskjet 645c with the updated driver, here's the weirdness:

    When printing from Word 2007, Wordpad and Notepad, the sheet through the printer appear in print, but no printing actually takes place. Same for the two existing documents and those newly created. On the other hand, everything prints normally IE8, Firefox and Adobe Reader. Reinstalled the printer driver and also to delete the Word data key in the registry. No love. Automated ran, troubleshooting of MS, but still no love because he found no problem. Someone at - it a good idea? Seems there must be something in common between Word, Wordpad and Notepad, which I suppose are at least somewhat in the code, or perhaps in the way they approach the printer driver.

    Hi TNCharlie,

    (1) I want to clarify if you arejust I try to print the text or insertion of objects into Word and WordPad?

    Fonts and graphics damaged can cause printing problems in Word/WordPad

    (2) using a wireless printer?

    Check to see if it makes a difference if connected.

    Step 1: This test in word

    1. open a new blank document in Word.

    2. on the first line of the document, type the following text:

    = Rand (10)

    3. press ENTER. This inserts 10 paragraphs of the sample text.

    4. try to print the document.

    5. If the document prints correctly, replace it with another font or insert a clip art image, a table, or a drawn object

    Step 2: Don't know if you have tried this fixit, please run the fixit available in the link below and check if that makes a difference

    Problems printing and printing errors
    http://support.Microsoft.com/GP/printing_problems/en-us

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit ourMicrosoft answers feedback Forum and let us know what you think

  • Lately when I use the mouse the words text scrolling and copy on top of itself a million times. This happens when I am on line reading something to say on the MSN homepage.

    Lately when I use the mouse the words text scrolling and copy on top of itself a million times. This happens when I am on line reading something to say on the MSN homepage. Sometimes I can click off on the side and separates the text and I can read it but when I use the scroll of the mouse or even the scroll bar on the sideit happens again and again.

    Hi Jaynebasye,

    1. This only happens when you are on the MSN Web site?

    2. did you of recent changes on the system?

    Method 1:

    You can try to change the scroll settings and check.

    For more information, see the following article

    Change the settings of the mouse

    Method 2:

    Step 1:

    You can also check if the problem occurs in safe mode with network.

    Startup options (including safe mode)

    Start your computer in safe mode

    Step 2:

    If you do not experience the problem in safe mode with network, then perform a clean boot.

    A clean boot to check if startup item or services to third-party application is causing this issue.

    You can read the following article to put the computer in a clean boot:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    Note: Make sure that you put the computer to a Normal startup once you are finished.

    Hope this information is useful.

  • My Microsoft Word, Adobe Reader and I-Tunes won't work.

    My Microsoft Word, Adobe Reader and I-Tunes won't work. When you open Word, it is said there is a problem of side-by-side configuration, when you open Itunes, it says there is an error in Windows 2 and also ' Microsoft.VC80.CRT, version = "8.0.50727.4053" Type = "win 32,", publicKeyToken = "1fc8b3b9a1e8e3b", process or architecture = "x 86". See Help and support for more information. HRESULT: 0 x 80070002. College student - I need these 3 programs to work. Help please

    Hello

    · Do you remember any recent changes on the computer?

    · What is the version of the installed Office application?

    1. download and install: Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update from the link below and check if this can help:

    http://www.Microsoft.com/downloads/details.aspx?FamilyId=766a6af7-ec73-40ff-B072-9112bab119c2&displaylang=en#Filelist

    Other links you can refer: last supported Visual C++ downloads: http://support.microsoft.com/kb/2019667

    How to uninstall the suites Office 2003, Office 2007 or Office 2010 so I can not uninstall in Control Panel of? : http://support.microsoft.com/kb/290301

    2. online virus scanner and check if any malware or virus detected on the computer activity. You can run the scan for viruses online from the link below: http://onecare.live.com/site/en-us/default.htm

Maybe you are looking for