Changing Names of Temporary tables Created BY CKm and LKM

Hi,
I am new to ODI.
I want to know if we can change the default name structure that is used by ODi to create temp tables.
I$,C$ and E$ table.
E.G:- If i want to keep I$1 for one schema and I$2 for another schema.
Is there any way by which we can do this?
Thanks,
Mahesh

Hi,
I have one situation where i am having various packages using different source tables but having single target table.
Right now i am not running all packes at a time but as it would go in prod those will be run simultaneously which may result in errors.
So for precautionary cause i am trying to fix it in Advance.
eg:- We have multiple factories from which we are taking data and putting them in same table.
Like i have A,B,C factories and each factory has X,Y,X schema as ax,bx,cx,by,cy.ay ......
i AM TAKING DATA FROM these schema and resp tables in each factories packages and putting it in centralized database.
So when i run thiose packages will it be a case that it will clash in Temporary tables?
Let me know if u are clear with the question :)

Similar Messages

  • Dynamically changing name of JPA Table via @Table(name=..)

    In my application I need to change dynamically the name of a table to create, which is annotated
    via @Table(name="MyTable")
    The problem is that the application handled all tables with an internal prefix so that MyTable would
    be changed to something like "application1_MyTable". In xml mappings it is possible by injecting
    a modified version of the xml mapping content, in plain jdbc only dynamic statements must be used
    for this kind of renaming. But how can I achive this with (immutable) annotations?

    Serethos_0 wrote:
    No, I'm betting that you really don't.
    Sounds like a very bad design.
    I'd be shocked if you could manage to give a good, coherent reason beyond "because I said so".There is always a trap which can force you to support a bad design despite better knowledge:Or, if you're really smart, refactor the trap out of existence.
    legacy issues. Depending on the project an old chunk of application code lets you only change
    design to a certain degree (based on time, effort, dependencies to other systems). In my case
    there is a need to keep the distinction of tables by a dynamic prefix.I'll agree that I might not understand fully. Why not temporary tables or materialized views? Is your idea the only way to accomplish this?
    %

  • How to change name of software component version in IR and ID?

    Hi All,
    I have a scenario in which 50 interfaces are there.All interfaces are working fine and we are in Testing stage.
    I need to change name of Software component which I have used in IR.
    I tried with release transport. I am able to pass all my mapping programs and everything under new software component name. But in ID all configuration objects contain IR objects (Like interface mapping) with old software component name.
    Do I need to change everything in ID manually or is there any other way for this?
    Thanks in advance.
    Warm Regards,
    Gouri

    Gouri,
    If you check this blog , you are able to transfer data even without IR content, i.e, there is no message interface , no namespace in IR and stil this works. Reason, there is no validation if the message interafce exists in the IR. In the runtime the SOAP Header is filled with the interfacename and namespace and it uses these values.
    /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
    Likewise, irrespective of which SWCV the interface name and namespace is, things will work fine as long as they exists in the IR in your case.
    The SWCV is a means to group objects, it might be displayed while doing the manual configuration but it doesnt matter even if you just key in the values without using the help.
    Things will work fine.
    Regards
    Bhavesh

  • Number of SNP tables created during master and work repository creation

    Hi All,
    I would like to know how many SNP tables are created during Master and work repository creation in
    10.1.3.5 v as I remember it was around 147 in earlier version .
    Any help will be appreciated
    regards,
    Palash Chatterjee

    Hi Palash ,
    ODI master repository have 58 SNP tables
    where as work repository have 88 SNP tables
    So in total 146 SNP tables are created during Master and work repository creation in
    10.1.3.5 .
    Thanks,
    Sutirtha

  • Why do I have to add the Schema name to a table created under SYSTEM.

    The TABLE was created under the SYSTEM account & PSW and accessed under SYSTEM & PSW.

    user2661022 wrote:
    The TABLE was created under the SYSTEM account & PSW and accessed under SYSTEM & PSW.The other responses are correct, but do not answer your question.
    The issue you are facing is in the way Oracle built the database engine. Basically every table requires a full qualification, that is to use the schema and the table. For your convenience Oracle has a default 'current_schema' that is used as the default value when the schema is not provided.
    TO confuse the situation even more, you are allowed to create synonyms that can translate to a fully qualified table (or more accurately fully qualified object).
    So you will be required to fully qualify every table name unless they are in the current schema. But the qualification nay come from system or session defaults or through synonyms.
    Knowing that 10gR2 Express Edition is a proper subset of 10gR2, if you go to the 10gR2 full documentation, you will find a Reference manual that includes session and system parameters (such as current_session) that you can use to manage your environment.

  • Change name of publishedcollection when creating or editing

    I need to change the name of the publishcollection when the collection is created or edited. This is to make sure the collection name matchs the name of the one on the remote server. I have tried the following code and it executes ok, but in the end the name of the collection is not changed.
    here is the code
    function publishServiceProvider.updateCollectionSettings( publishSettings, info )      
        local colname = "This is my new collection name"
        LrLibLogger.outputToLog( colname )
        catalog:withWriteAccessDo( "Set name", function ()
            info.publishedCollection:setName( colname )
            LrLibLogger.outputToLog(info.publishedCollection:getName()) -- outputs the old name and not the new one
        end)  
    end
    After running this the collection name is still the old one.

    Hi Allen,
    I've tested your second version of your code, and although I can't find why the name isn't fixed, I get an error, only when creating a new collection:
    "We can only wait from within a task"
    I found this at the Adobe documentation for pubCollection:getName():
    "This function must be called from within an asynchronous task started using LrTasks. Must not be called from within the same catalog:with___WriteAccessDo gate in which the collection object was created."
    I'm very new to Lua and LR development, but I hope this helps.
    Regards,
    Juanma

  • Table created in Dataguard and standby

    Hi,
    in a DATAGUARD_STANDBY configuration, if I create a table in primary DB, will I see it in STANDBY ? How many times after ?
    What are the parameteres that detemine the time interval ?
    Many thanks.

    Yes like Werner mentioned the Data Protection Mode of Data Guard.
    Just to post a link for you to study,
    Choosing a Data Protection Mode
    For example, if you have Maximum Protection Mode
    Each transaction must be written to both the local online redo log and to the standby redo log on at least one standby database before the transaction commits. For this you need to set LGWR, SYNC on the LOG_ARCHIVE_DEST_n parameter.
    DDL is not technically a 'transaction' however internally Oracle need to commit the change in data dictionary which will instantly available on Standby server if you on this mode.

  • Bunch of INs, bunch of ORs or a temporary table ?

    We are optimizing some sql. Part of the solution is to load at login time, the list of codes for which the use has been granted access. Ex: department codes.
    We will use these codes in the SQL, instead of beefing up the SQL with another complex sub SQL.
    We have the choice to produce a bunch of INs:
    WHERE DEP_CODE IN ( 1, 2, 3, 4, ...1001)
    ...however there is a limit of 1000 for this syntax.
    We have the choce to go a bunch of ORs:
    WHERE (DEP_CODE = 1 OR DEP_CODE = 2 OR DEP_CODE = 3 ... OR DEP_CODE = 1001 )
    ...however the sql get pretty large. Is there a limit ?
    Or we can store the access codes into a temporary table created at login, and join the temp table...but then users needs a new privilege...and we dont if 400+ users can all be granted this ressources...and we are not sure about performance.
    Any better options ?

    Assuming that there is a table somewhere that maps users to a set of allowed DEP_CODE values, and assuming that you are realistically concerned about users having access to more than 1000 DEP_CODE values, and assuming that these queries are happening regularly, the easiest and most efficient option is generally going to be to join to the permissions table.
    In either of the approaches you provided, you are generating huge quantities of non-sharable SQL. So Oracle is going to have to re-parse and re-optimize every query every time (assuming each of 400 users has potentially different sets of allowed DEP_CODE values). So you would end up, potentially, with 400 different copies of a SQL statement in the shared pool, each with a user-specific set of literals. That is not a scalable solution.
    Joining to the table that maps users to DEP_CODE, on the other hand, generates a single sharable SQL statement that every user can use. And assuming a reasonable index on the mapping table, Oracle is very good at doing joins in a very efficient manner.
    Justin

  • How to call variable which name is stored in a temporary table...

    Hi there!
    Got a simple (?) question. I want to make an allocation like that:
    n#.temp_z1  := temp#; with the only Problem that the name of the variable is stored in another variable or a temporary table:
    temp#(1) := temp_z1; at the moment I have absolutly no idea how to resolve this Problem =( Need something like that (which don't work):
    n#.temp#(1)  := temp#; anybody there who could help me? Thanks in advance

    I think with dynamic SQL it won't work. Isn't there any solution just to handle this simple problem? =(
    ok, some more details to my Program:
    I have a table named "NN2_input" which will be filled dynamically. For the filling, a start and a finish number are given, and for every number between this, 3 columns will be created. Looks like that:
    min = 3; max = 5;
    => Columns:
    Z3_Gas, Z3_Dauer, Z3_Temp, Z4_Gas, Z4_Dauer, Z4_Temp, Z5_Gas, Z5_Dauer, Z5_Temp
    after the structure of the table is given, it should be filled. To see which columns are given, I select them in a temporary table:
    CREATE OR REPLACE PROCEDURE nn2_input_filling is
       type tab is table of VARCHAR2(15);
       gas#    tab;
       dauer#  tab;
       out#    tab;    
    BEGIN
       SELECT column_name BULK COLLECT INTO dauer# FROM sys.user_tab_columns
         WHERE table_name = 'NN2_INPUT' AND SubStr(column_name,4,5) = 'DAUER' ORDER BY column_name;
       SELECT column_name BULK COLLECT INTO gas# FROM sys.user_tab_columns
         WHERE table_name = 'NN2_INPUT' AND SubStr(column_name,4,3) = 'GAS' ORDER BY column_name;
       SELECT column_name BULK COLLECT INTO out# FROM sys.user_tab_columns -- gibt auch ein Z7_OUT2 zurück o.O
         WHERE table_name = 'NN2_INPUT' AND SubStr(column_name,4,3) = 'OUT' ORDER BY column_name;
    END;to fill this table, I must assign each field with this value. And that's where my Problem occurs...
    so I know all of the columns except the Numbers...

  • How to create and user Temporary Table ( Urgent Please )

    i want to use temporary table in Oracle, how can i use it in Stored procedure, Please explain it with any Example, Please also clear that If more then one user can access the same stored procedure then what will be behavior of Temporary table, is it manage for its session, i want to manage it on every session. when store procedure call temporary table create and when finish then demolished.

    It depends on what you mean by a temporary table. If you are coming form a Sybase/Sql Server background where you would do something like:
    SELECT * INTO #my_temp
    FROM some_table
    WHERE some_condition
    GO
    UPDATE #my_temp
    SET some_column = some_calculated_value
    GO
    SELECT *
    FROM #my_temp
    WHERE some_other_conditionthen you could use in-line views instead of the temporary table.
    SELECT col1,col2,some_calculated_value
    FROM (SELECT *
          FROM some_table
          WHERE some_condition)
    WHERE some_other_conditionYou should be able to do this directly in a stored procedure, as long as you have some way to process or return the result set.
    If your processing is so complex that you cannot do it in straight SQL (and remember, Oracle handles multi-table joins much better that Sybase and SQL Server), then you need to look at Global Temporary Tables.
    You would declare a Global Temporary Table outside of the stored procedure (that is create it once and use it over and over), then use it in you stored proc just as you would a regular table. When you create the table, you have a choice of creating it as:
    ON COMMIT PRESERVE ROWS which means that any data you put in the table will persist for the length of your session, or
    ON COMMIT DELETE ROWS which will empty the table every time you issue a commit;
    The rows in the GTT are visible only to the session that put them there, and are removed when that session ends at the latest.
    HTH
    John

  • Fuction to change names

    I have two tables
    student
    NAME STUDENT_NUMBER CLASS MAJ
    Smith 17 1 CS
    Brown 8 2 CS
    and
    grade_report
    STUDENT_NUMBER NAME SECTION_IDENTIFIER G GPOINT
    17 Smith 112 B 3
    17 Smith 119 C 2
    8 Brown 85 A 4
    8 Brown 92 A 4
    8 Brown 102 B 3
    I need function that when i change names in student table....directly this function changes student names in grade_report

    Trigger is some thing like that.
    SQL> select * from student;
    NAME                 STUDENT_NUMBER
    bbb                              10
    SQL> select * from grade_report;
    NAME                 STUDENT_NUMBER      MARKS
    bbb                              10        100
    SQL>
    SQL> create or replace trigger student_name_update_trg
      2  after update
      3  on student
      4  for each row
      5  begin
      6     update grade_report
      7     set
      8             name = :new.name
      9     where
    10             student_number = :new.student_number;
    11  end;
    12  /
    Trigger created.
    SQL>  update student set name = 'bca';
    1 row updated.
    SQL> select * from student;
    NAME                 STUDENT_NUMBER
    bca                              10
    SQL> select * from grade_report;
    NAME                 STUDENT_NUMBER      MARKS
    bca                              10        100
    SQL>

  • Temporary tables

    i am trying to create a temporary table in PL/SQL and want to insert rows.
    create procedure temp
    as
    xsql varchar2(1000);
    begin
    vsql := 'create global temporary table t1 (n1 varchar2(50))';
    execute immediate vsql;
    insert into t1 values ('abc');
    select * from t1;
    end;
    it does not allow me to compile and gives error ORA-00945: table or view does not exists

    The following block might get created. As the table is created on the fly, (i.e is the table gets created and records inserted only when executing the procedure and not when the procedure is created), we cannot have the table name outside the variable.
    Thanks,
    Sriram.
    create or replace procedure temp1
    as
    vsql varchar2(1000);
    tbl_name varchar2(30) := 'T1';
    v_ins varchar2(1000);
    v_n1 varchar2(50);
    v_sel varchar2(1000);
    begin
    vsql := 'create global temporary table t1 (n1 varchar2(50))';
    execute immediate vsql;
    v_ins := 'insert into'||tbl_name||'values (''abc'')';
    execute immediate vsql;
    v_sel := 'select n1 into v_n1 from t1';
    execute immediate v_sel;
    end;

  • Temporary tables in import

    Hi,
    i am following the below metalink notes which suggest to export and import first without rows and change the nls_length_semantics from byte to char and import with data.
    but i can see around 72 temporary tables created and not delted. does import creates temporary tables? we have not created any idea about this?
    313175.1     SCRIPT: Changing columns to CHAR length semantics

    of course it is 10.2.0.4 on windows.
    it is not bin tables . these are actual tables suffixed with tmp say i have table called employees and i have two tables one is employees and another employeestmp.
    now i have actual table AHILFANALYSEZEIT2 but i have AHILFANALYSEZEIT2TMP "the syntax show below from TOAD"
    CREATE GLOBAL TEMPORARY TABLE AHILFANALYSEZEIT2TMP
    descipton)
    ON COMMIT PRESERVE ROWS
    NOCACHE
    /

  • How to pick the changed name.

    Hi all,
            can anyone help me out ...how to pick the changed name form the table ... if a name changed 
            three times in month, how should I get it in report.???
            I have gone through the tables BUT000 & BUT020 but I haven't got thr trick.
            can you please help me.
    Thanks & Regards,
    Rajeev

    Hi
    You can refer to CDHDR, CDPOS tables as When you change the Object change document get created
    You can put BP number in Object ID
    You can view this change documents in FPP3
    Extras-> Change History
    Regards,
    Prajakta
    Edited by: Prajakta Shringarpure on May 18, 2009 12:55 PM

  • XSQL and insertion in temporary table: seems not to work

    Using XSQL 9.0.2.0.0 and 9i Database.
    XSQL does not really inserts rows in temporary table.
    Given a regular table and a temporary table:
    create table toto (id number, name varchar2(30));
    create global temporary table toto_tmp
    on commit delete rows as
    select * from toto where 1=2;
    -- XSQL database connection is set to <autocommit>false</autocommit> in XSQLConfig.xml
    -- XSQL insertion in regular toto table:
    -- with commit-batch-size="0" xsql:insert-request does not issue commit:
    <xsql:insert-request commit-batch-size="0" table="toto" transform="params.xsl"/>
    <xsql:dml>
    begin
    -- PL/SQL processing
    commit;
    end;
    </xsql:dml>
    -- Data inserted in table TOTO are "seen" from the XSQL:DML block
    But if inserting in temporary table TOTO_TMP using:
    <xsql:insert-request commit-batch-size="0" table="toto_tmp" transform="params.xsl"/>
    the XSQL:DML do not see the inserted rows !
    This works as if commit-batch-size="0" had no effect when using temporary table!
    Thank you for help.

    Hi Subhash,
    thanks for your help.
    We are on AIX on our database sever and using Oracle 11.
    Our app servers are using on Linux.
    Best regards
    Carlos

Maybe you are looking for

  • How to reduce file size in flash gallery and add description

    How can i reduce physical filesize of my photo's within the flash web gallery. When i generate the flash gallery it takes the original filesizes to publisch, some jpg files are verry large, not mentioning my raw files. How can i reduce the filesize?

  • Network Interface Configuration Solaris 7

    Hi, I'm new on Solaris platform. How does one change the gateway IP address to a new gateway IP address. I've tried "route change" command but no success. Any suggestion is very much appreciated. Kala Telikom PNG Ltd

  • Videos from iCloud?

    I have turned off videos from the MBP to my iPad. I now have a lot of, I guess, recommendations from iCloud for movies and TV shows. How do I get rid of them from my iPad. I deleted my iCloud account as I do not need it. These recommendations do not

  • PE12 problem - Installation says Serial  Number is invalid.  It is the one on  the box.

    I am trying to install PE 12. I use the serial number on the box and it says Invalid Serial Number

  • Disabling Sharpening and Noise Reduction

    Hello. I have Lightroom 1.2. I have over a 1,000 images to process. How can I disable sharpening and noise reduction for all of them without having to click that little detail box for each of the images. I use Noiseware for noise reduction and Focalb