Synchronize the table changes

Hello

OWB 11 g R2, oracle DB 11 g

For some reason... I changed my table at the DB level definitions, added a few columns and load the data using some scripts in this table. I have this table in OWB (old version without these additional columns), is any way to synchronize table of DB to OWB definitions? or I have to redo all changes in OWB? If I deploy by changing the table in OWB manually and then deploy, I guess that it does not allow to upgrade, but if I do not replace, there is a risk of losing data.

Is it possible to do that without losing data?


Thank you
HESH

Hi Hesh,

Yes, this applies if you have created the table through OWB or DB, if you have made changes to the DB level table you can reimport the table on OWB and synchronize, you must modify the object in OWB manually, it is a tedious process if the changes are enormous.

Thank you and best regards,
Pnreddy

Tags: Business Intelligence

Similar Questions

  • How to add data to the table changed in sql developer at Apex and vice versa

    Hello

    I had tables of database with sql developer. But now, I have modified the database (new tables added + changed the data in the tables). However, in the Apex, I the old database. Is it possible to get the new Apex database with the data of the table changed so this database in both places (sql and apex developer) is exactly the same... Also the other way around.

    Thank you

    The database schema that contains the tables, is it associated with the workspace even you are searching through the APEX product t development?  Why I'm asking is, if they are the same schema, the tables that you MODIFIED should be appear in the sql for APEX workshop part.  Now reports and forms will NOT see the changes (unless you have actually added or updated definitions for column).

    Can you explain what exactly you were doing the SQL Developer to the tables in your schema?

    Thank you

    Tony Miller
    Los Alamos, NM

  • DAC does not synchronize the tables of Informatica

    Hello

    I'm new to OBIEE although I experience Informatica. I created a mapping and the workflow. DAC, I created the new folder logical and physical. Creates a new task and provided the name of the task and logical record and other details. When I try to "Synchronize the tasks", I get a message of success with the names of the tables as expected. The DAC journal file is below.

    -The Sync task has begun-

    Requested workflow is exported to C:\DAC\dac\repository\taskSync\.

    New source/target tables are inserted in the DAC metadata.

    Exported xml files are removed from C:\DAC\dac\repository\taskSync.

    -Sync task completed.

    It is not question of DAC with Informatica repository communication or integration service as connection test results are ok.

    In Windows command prompt, pmcmd and pmrep works fine.

    Can you please help me out here, as I'm stuck here and not able to go further.

    I checked the DAC server log. It shows a serious error. I copy the same thing here.

    12 INFO Fri May 02 09:46:09 EDT 2014 reading repository properties

    INFO 13 Fri May 02 09:46:09 EDT 2014 reading repository properties

    14 INFO Fri May 02 09:46:10 EDT 2014 reading execution types

    15 INFO executors of sync Fri May 02 09:46:10 EDT 2014

    16 SEVERE Fri May 02 09:46:10 EDT 2014 audit the localhost with the values defined in the DAC repository!

    INFO 17 Fri May 02 09:46:10 EDT 2014 add server name: localhost

    INFO 18 Fri May 02 09:46:10 EDT 2014 adding replacing servername: unspecified

    19 SEVERE Fri May 02 09:46:12 EDT 2014 Unknown host Unspecified. Error message: unspecified

    Fri May 02 20 INFO 09:46:12 EDT 2014 bound to port 3141

    INFO 21 Fri May 02 09:46:12 EDT 2014 creation ClientMessage dispatcher with 2 worker threads

    INFO 22 Fri May 02 09:46:12 EDT 2014 no competition, only ETL can work both and it will run in the same process space.

    NEWS 23 Fri May 02 09:46:12 EDT 2014 SERVER_NETWORK_MESSAGE: Created ClientMessage dispatcher with 2 worker threads

    Fri may 02 24 INFO 09:46:12 EDT 2014 com.siebel.etl.net.ClientMessageDispatcher registered with HeartBeatManager

    Thanks for your help,

    Ananth

    You can ignore any additional flat file as the source for the task in CAD.

    Make sure what you do know about informatica

    Pls don't change the original message! If you want to add anything, you can go to meet.

    I think that you are ready to go to close

  • Differentiate the tables changes and no changes do not

    Hello

    I am relatively new on (I've always been a sort of paper/felt for Whiteboard guy) formal data modeling tools.

    On my question/Scenario:

    I have a warehouse of data with a few hundred tables inside. When changes are made to the data warehouse, we're supposed to present an ER diagram preferably with tables in one color, tables be changed to a different color and the tables does not change does not to another more neutral color.

    Here is my current process

    (1) import of relevant existing tables in the data dictionary
    (2) create tables or change existing tables
    (3) change the type of array for the modified tables and dimension for new tables. The existing tables, I leave it as what.

    Success with this process generates a diagram that fits my purposes, but I have a hunch that I'm not using better methodology. What is a better way to do this using the oracle sql data model (version 3)

    What you certainly works, but a better approach would be to define new types of classification rather than use the Dimension or fact.

    Then go here:
    Tools-> preferences-> data-> diagram maker-> Types of Classification.

    Press the Green plus sign to add a new type.
    Add two new types: new and changed and assign each a unique color.
    Press 'OK' to save.

    Now, when you go back to the diagram, you will have two new types from.

  • Synchronize the Table Users with user Table SFDC Eloqua... has anyone done it?

    We can now use autosync integration to new downloads and update existing users of Eloqua that exist in the Salesforce.com user Table. I built a proof of concept to do this, so that SFDC is the system of registration of data of rep because I've been in a situation where marketing updates users eloqua for customization and data does not match what exists in salesforce, duplicate efforts...

    In any case, here are some of the complications that I find so far:

    The key identifier Unique to the Eloqua user Table is the 'User name' field and cannot be changed (his knowledge actually not yet public, I had to find out the hard way) that it should really be, e-mail address. According to Eloqua, the username is "firstname.lastname", "Nick.McGirr" would be my username Eloqua.

    1 Salesforce.com User Table does not have a username like that field. Your team of DEV SFDC will probably have to invent one that will take the first name and family name and create "first.last" on a new field to map to for your autosync.

    2. here's the real question, what does Eloqua if the company of enterprise-level and has a handful of John Smith of sellers? Do I need to say to the SFDC DEV team to make 'John.Smith1', 'John Smith2' and 'John Smith3'? What is the convention of naming of duplicates?

    I've referenced that a certain time before being published as a feature that there could be a possibility to do this type of synchronization, here. Some might find this information useful to this topic: http://topliners.eloqua.com/message/1795

    Hi Nick,

    We have done that... and implemented the exact logic you mentioned... with minor twist... take the first name, last name and add the ID unique company Emp in a field and operate as username for Eloqua. You can even add

    I hope this helps.

    Thank you

    Amit

  • How can I default first line below the selected line in the table of the adf

    Hello

    I use Jdeveloper 11 g,
    I created Adf quick query with table and changed selectionListener table as #{CustRMMap.onRMGroupNameChange}.
    and when I click on find fast query no row is selected.
    I want the first row to be selected / highlighted by default when I click search.

    Patel Imran

    You can also set an attributeValue in pagedef.xml
    bind this attributeValue with column of your table. This sets the value of the selected line to the variable attruibute.
    Will now link this with your desired component attributeValue.
    Put partial trigger on the component that should display this value.
    This will save you to write custom code and use the default table selection listener property, which marks the first default line.

    Apart from this, if you want to govern the first default line of managed bean selection use this code...

    + _Table = selectionEvent.getSource ((richeTableau)) richeTableau; + *
    + / / the model in the Collection is the object that provides the structured data.
    + / / for rendering table +.
    + TableModel CollectionModel = table.getValue ((CollectionModel)); + *
    + / / the ADF object that implements the CollectionModel is JUCtrlHierBinding. IT +.
    + / /is wrapped by the CollectionModel API.
    + JUCtrlHierBinding adfTableBinding = tableModel.getWrappedData ((JUCtrlHierBinding)); + *
    + / / Acess the iterator ADF, binding that is used with the binding table ADF +.
    + DCIteratorBinding tableIteratorBinding = adfTableBinding.getDCIteratorBinding (); + *

    + / / the role of this method is to synchronize the table feature selection +.
    + / / with the selection of the model of the ADF +.
    + Object selectedRowData = table.getSelectedRowData (); + *
    + / / cast of JUCtrlHierNodeBinding, which is the subject of the ADF that is +.
    + / line/a +.
    + JUCtrlHierNodeBinding nodeBinding = selectedRowData (JUCtrlHierNodeBinding); + *
    + / / get the key of the node binding line and set it as the current line in the +.
    + / / iterator +.
    + Key rwKey = nodeBinding.getRowKey (); + *
    tableIteratorBinding.setCurrentRowWithKey (rwKey.toStringFormat (true)); + *

    and another way on the right is a custom like this code:

    + public void setDefaultRow (int count) {/ / call this method your method of selection custom, rom pass the line of the line to select index. count = 0, will select first row + *}

    + try {+ *}
    Object oldRowKey = tblMag.getRowKey (); *
    + try {+ *}
    This.

    .getSelectedRowKeys () .clear ();
    *
    * +} catch (System.Exception e) {+ *}
    System.out.println (e.getMessage ()); *
    +}+
    This..setRowIndex (count);
    *
    RKS RowKeySet =. getSelectedRowKeys();
    *
    (RKS). Add(. getRowKey());
    *
    RKS =. getSelectedRowKeys();
    *
    +.setRowKey (oldRowKey); +

    * +} catch (System.Exception e) {+ *}
    System.out.println ("error:" e.getMessage ()); + *
    +}+
    +}+

    Hope this helps

    Concerning
    Maryline Roussel

  • Update the Table of "< text > to"OF < text >"

    Dear experts,

    I would like to know how to update a value in my DB as mentioned in the subject. For example:

    I have a "Please" line where postal codes are, now, I want to change them as follows:

    Old value: 12345
    New value: DE12345

    Is it possible to do this with an update statement? I have many records in this row "PLZ", then I would have a single update statement to change all the!


    Thanks in advance!

    Hello

    Welcome to the forum!

    975646 wrote:
    Dear experts,

    I would like to know how to update a value in my DB as mentioned in the subject. For example:

    I have a "Please" line where postal codes are, now, I want to change them as follows:

    Do you mean that you have a column called PLZ?

    Old value: 12345
    New value: DE12345

    Is it possible to do this with an update statement?

    Sure. Assuming that PLZ is a VARCHAR2 column, and that there is room for more than 2 characters:

    UPDATE  table_x
    SET     plz   = 'DE' || plz
    WHERE   plz   IS NOT NULL     -- If needed
    ;
    

    I guess just that you'll want the WHERE clause above. Without this, a line where, please was NULL will be replaced by "OF". Including the clause WHERE preceding leave these lines with null please.

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and also publish outcomes from these data.
    If you ask on a DML statement, such as UPDATE, the sample data will be the content of the or the tables before the DML, and the results will be the State of the or the tables changed when it's all over.
    Explain, using specific examples, how you get these results from these data.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).
    See the FAQ forum {message identifier: = 9360002}

  • Component dynamically rewrite the contents of the table in Adf

    Is there any ADF component that will leave me to dynamically rewrite the records in a table?
    Otherwise, if there are 50 records in a table and I would like to re - order the first record with 20th record in an average user of the interface?
    In other words, 20th record appears in the higher order followed by the first record.

    Sahar,
    There is none of these available components. If I understand correctly, your table is from DB data. In this case, the order of the lines depends only on the "order by" clause of the SQL behind your VO, or is random if no "order by" clause is present. You cannot predict even if two consecutive queries return the rows in the same order without "order by" clause
    Said, it is clear that even if you think to build this functionality yourself, it may not be a transitory attribute that the order would have gone if not stored in the db.

    Next thing I don't understand is that db data are usually used by the user and then one more. So even if you store the order of the rows in the comic book, a user replaces the order stored by the previous user. This has led to the conclusion that you need to store the order in the comic book, but not in the same table. At the end of the day, you need to store the order in a separate table for example title list of PKs of the original table. Remember that at some point of time, the data in the table changes (add a line or drop a line). You have to manage that as well.

    Timo

  • Synchronize the TOC with the displayed topic

    Hello

    I use Robohelp 9 to generate a CHM file and I am trying to synchronize the TOC with the displayed topic. Clarification: when I click on a link in the content of the heading A, referring to section B, I would subject B to be highlighted in the TOC tree. However, A section is highlighted even if it is no longer displayed in the topic pane.

    In other words, I'm after the implementation of the function "Synchronize the Table of contents" of webHelp in my chm. I always check "show selection" in the advanced settings, but I still get the same behavior.

    Thank you!

    Hi Milly

    You're halfway there. Click on view > pods > project implementation and expand the Windows folder. Double-click the CHM window. (if you have one you may not have one and will need to create a)

    From the Properties window of the window that follows you must enable synchronization.

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7, 8 or 9 in the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

  • Synchronize the TOC grayed out?

    I have a project of RobohelpHTML, everything is great except when you click on the pages of the table of contents, the table of contents do not remain highlighted or automatically expand a book to give the user context as to where they are. As far as I can tell from reading autour, I need to synchronize the table of contents in order to have this behavior. However, when I go into the properties of the presentation of WebHelp, the checkbox for "Synchronize the table of contents" is grey so I can't do and I can't understand why it is gray?

    Thanks for any idea!

    Yes - that solved the problem. I did pure HTML selected, but when I switched it to DHTML > pure HTML, option a is more shaded and auto-sync works now! Thank you so much - it was driving me crazy!

  • Insert and add data to the table to a batch file

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE Production 11.1.0.7.0
    AMT for 32-bit Windows: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production


    My patch to input file looks like this:

    A0397990002000001
    A0459380377000075
    A1291115796000002
    C0483110026000080
    D0491114923000004
    A0348400660000000
    G0209111373-

    Separate columns look like this:

    A0397 990002 000001

    account amount of IDN


    I'm new to PL/SQL and having a problem changing or adding a record in a table. Don't know how to check if a record exists in the table change if not
    Insert the record.

    If the quantity is 000000 or - the record should be deleted. I have code in place to do this however, don't know how to handle change or add the part.

    Here is the code I have so far and thanks for looking:

    Set serveroutput on
    create or replace directory user_dir as 'c:\dataformats\incoming\ ';


    DECLARE


    v_filename VARCHAR2 (100); -The name of the data file
    v_file_exists boolean;
    number of v_file_length;
    number of v_block_size;
    f utl_file.file_type;
    s varchar2 (200);
    lineString varchar (200);

    -not used c_ *.
    c_account ID_REQ_STG.account%TYPE;
    c_IDN ID_REQ_STG. IDN % TYPE;
    c_quantity ID_REQ_STG.quantity%TYPE;

    ID_REQ_TUPLE ID_REQ_STG % ROWTYPE;

    v_account varchar (5);
    v_IDN varchar (6);
    V_quantity varchar (6);

    BEGIN
    v_filename: = ' PTCLICK. MANUAL.12SERIES.TXT';


    DBMS_OUTPUT. Put_line (v_filename); -the name of the file


    UTL_FILE.fgetattr ("USER_DIR", v_filename, v_file_exists, v_file_length, v_block_size);

    IF v_file_exists THEN

    dbms_output.put_line ("'File Exists");

    f: = utl_file.fopen ("USER_DIR", v_filename, "R");

    IF utl_file.is_open (f) THEN

    LOOP
    BEGIN
    UTL_FILE.get_line (f, s);
    lineString: = s;

    dbms_output.put_line (lineString);

    v_account: = substr (lineString, 1, 5);
    v_IDN: = substr (lineString, 6, 6);
    V_quantity: = substr (lineString, 12.6);


    dbms_output.put_line (v_account);
    dbms_output.put_line (v_IDN);
    dbms_output.put_line (V_quantity);

    -REMOVE

    IF v_quantity = '000000' GOLD v_quantity = '-'
    THEN
    REMOVE FROM ID_REQ_STG
    WHERE account = v_account and
    IDN = v_IDN;
    commit;
    dbms_output.put_line ('Deleted the folder' | v_account |) «and» | v_IDN);
    END IF;


    -CHANGE



    -ADD



    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    dbms_output.put_line ("' no data found");
    EXIT;
    END;

    END LOOP;

    END IF; -is open

    UTL_FILE.fclose (f);


    ON THE OTHER

    dbms_output.put_line ('file does not exist');

    END IF; -file exists

    EXCEPTION

    WHEN UTL_FILE. THEN ACCESS_DENIED
    DBMS_OUTPUT. Put_line ("' no access!");
    WHEN UTL_FILE. INVALID_PATH THEN
    DBMS_OUTPUT. PUT_LINE ('PATH DOES NOT EXIST');
    WHILE others THEN
    DBMS_OUTPUT. PUT_LINE ("SQLERRM: ' |") SQLERRM);



    END;
    /

    Hello

    Looks like a good candidate for a MERGER with an external table.

    The external table:

    create table ext_table (
     account varchar2(5),
     idn number(6),
     quantity varchar2(6)
    )
    organization external (
      type oracle_loader
      default directory user_dir
      access parameters (
        records delimited by newline
        fields (
          account position(1:5) char(5),
          idn position(6:11) char(6),
          quantity position(12:17) char(6)
        )
      )
      location ('test.txt')
    )
    reject limit unlimited;
    

    Then a simple MERGER should perform all your needs:

    MERGE INTO id_req_stg t
    USING (
     SELECT account,
            idn,
            decode(quantity, '-', 0, to_number(quantity)) as quantity
     FROM ext_table
    ) v
    ON ( t.account = v.account AND t.idn = v.idn )
    WHEN MATCHED THEN
      UPDATE SET t.quantity = v.quantity
      DELETE WHERE t.quantity = 0
    WHEN NOT MATCHED THEN
      INSERT (account, idn, quantity)
      VALUES (v.account, v.idn, v.quantity);
    

    Documentation related to the MERGER: http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/statements_9016.htm#SQLRF01606
    and on the outdoor tables: http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/tables013.htm#ADMIN12896

    Published by: odie_63 on June 10, 2010 14:26 (added docs)

  • Synchronize the database of ODI table changes

    Hi all

    which is the best approach to synchronize the changes of database in ODI.

    Is it possible to automate?

    For example, if we have a store of data such as target and some types of data are changes in the database, the re - reverse will not apply these changes...

    Thank you

    Hello

    Try this...

    http://oracledwbi.WordPress.com/2010/03/12/synchronising-ODI-datastore-with-database-changes/

    Kind regards
    Its

  • synchronize the current row of the table and its binding

    Hello

    There are several line table on the page.
    I select a line but say one first, second.
    push button for call actionListener

    in bean, I read the data in row and experience the first row:

    DCBindingContainer dcBindings = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();
    dciter = (DCIteratorBinding) dcBindings.get ("VOView1Iterator");
    IdS = dciter.getCurrentRow ().getAttribute("Id").toString ();
    -Here's the first line id, not the second one
    and this sounds strange!

    Should I synchronize it manually or there is something wrong here?

    Published by: grodno on December 6, 2012 03:05

    Hi grodno.

    Make sure you have on your table:

    selectionListener = #{bindings. DepartmentsView.collectionModel.makeCurrent} where "DepartmentsView" is the id of your tree/table on the pageDefenition.

    In this way the table knows that we must change the current line according to your selection

  • How to maintain the synchronization of the hierarchy of the table with customer-specific data

    Series of paintings in our system, we have:

    Promotions (id, descr, datefrom, dateto,...)
    PromotionClients (promotionId, clientId) = list of clients whose promotion is valid
    PromotionProducts (promotionId, itemId) = list of products on sale

    The synchronization logic is simply that all promotion tables must be synchronized just to the customers present in the PromotionClients table. So each select element for these tables of publication contains something like "... and there are (select 1 from c PromotionClients where c.clientId =: CLIENTID). It works fine until there are some changes in the PromotionClients table. After the change of PromotionClients table starts to sync, but other tables do not - there is in fact no updates on their respective folders.

    Is there a solution to this problem other than to manually create the triggers for the PromotionClients table that would execute model-update on each related table? I mean - is there an existing function in OracleLite that woud let set a few references - to load to a point of publication/table?

    And in the face of similar problem - there is also Promotions.datefrom/dateto limitation. Promotion tables must be synchronized at the time where actual date is between Promotions.datefrom and dateto. When someone modifies some of these values and so the promotion valid for the time related tables does not automatically update and so they do not start to synchronize. Just the Promotions table begins to synchronize. So we might need to implement another trigger to perform updates dummy on the tables of PromotionClients + products, Promotions.datefrom/dateto update.

    I do not like the personalized relaxation approach - it just duplicates the synchronization logic and it is inconvenient to maintain the synchronization logic in two places (pubitem selects + custom triggers). I would like to find a solution of OL-native - as referring to load tables for each publication element that would cause triggers to OL to also catch the person in charge of the lines of tables (which were not actually modified) to be marked as dirty and synchronized to the client. Is there a solution like this? Or is there an alternative better than custom triggers?

    When you trigger an event in a related table, it gets registered for PGM compose the data in this table. If there is a suspicion, MGP will compose the data in these tables as well.

    So if you have something like a REGION_MAPPING table that maps the users in various locations and if you change the table data and want other tables that are joined with him to compose the data, and then add a hint of dependency to the tables mapping them to REGION_MAPPING. If these tables is regularly updated and data are being composed for the child tables, then you don't need the trick, just good practice to add it.

  • I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!

    I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!

    Yes, you can have a one word title, by assigning a paragraph style title to this one word. No, you cannot change the text in a Table of contents, but you can change paragraph style font attributes (line) and add for example, a head of points between the types of OCD paragraph and page numbers. No part of the table of contents will not provide hyperlinks in exported PDF documents.

    When you look up in the menu bar, you can see the word iPages, or simply Pages. There is no product of iPages.

Maybe you are looking for