Rename Table Operator OMB+

Hi,
I'm doing an OMBSYNCHRONIZE TABLE ... where I replace Table A with Table B, which works fine.
Unfortunatley the Table Operator Name isn't changing only the bound name of the Table. How can I alter now the table operator name?
cheers,
Bernhard

You need to alter mapping as
OMBALTER MAPPING 'your_mapping' MODIFY OPERATOR 'table_you_want_to_change' SET PROPERTIES(PHYSICAL_NAME) VALUES('name_you_want')

Similar Messages

  • Not able to change the name of the attribute of the Table operator.

    We are trying to create OMB scripts to automate certain tasks. As a part of this, there is a requirement to change the attribute name of table operators (which by default gets the name of the column). It is possible to change the attribute name from the GUI. But I was not able to do the same using OMB Scripting. Here is the script I used.
    OMBALTER MAPPING 'TEST' \
    MODIFY ATTRIBUTE 'GEOGRAPHY_ID' OF GROUP 'INOUTGRP1' OF OPERATOR 'TEST' \
    SET PROPERTIES(BUSINESS_NAME,PRECISION,DESCRIPTION) \
    VALUES('MEMBER_ID',2,'MEMBER')
    This script was to change the name of the attribute - GEOGRAPHY_ID of the table operator TEST.
    From what I can make out from the Scripting reference, changing BUSINESS_NAME of the attribute should do the trick but it is not happening. The syntax looks correct as the precision of the column changes.
    Am I missing something? Or is it a limitation or a bug?
    I use OWB client 10.2.0.1.25 and OWB repository 10.2.0.1.0.

    Hi!
    I'm using successfully
    OMBALTER MAPPING '$mapName' MODIFY ATTRIBUTE '$attrName' OF GROUP '$groupName' OF OPERATOR '$joinName' RENAME TO '$newName'
    Regards,
    Carsten.

  • Partition name length problem at DML in Table operator

    Hello experts
    In our datawarehouse we have a table with a high number of partitions (each partition corresponding to a different business object) for solving an issue with data quality. Every time the data quality mapping is run, a truncate on the corresponding partition is performed. But Insert operations on that table are not set on a particular partition and, therefore, lock the table and have a conflict with the truncates if parallel operations are run.
    We would like to used the Partition DML functionality at the Table Operator in order to insert just into one partition and prevent locking all of them. Although none of the partition names are longer than 30 characters, OWB (even at the GUI) adds the string "partition: " in front of each name, which causes the length limit to be surpassed.
    Any idea about how could we use this functionality without renaming the partitions?

    Hey there,
    I'm a colleague of the thread starter and like to jump in as this is an issue for us which we need to solve.
    Some more infos which might help:
    We are running the OWB 11.2.0.3.0 on Windows 32 Bit
    We have the following patches installed:
    13257502
    13473205
    None of the later patches has been installed, since none of the Bugs that were fixed affected us.
    In a Mapping on a table-Operator we'd like to use "PARTITION DML" for an Insert.
    On the GUI when selecting the Partition the data should be inserted to (Field: DML Partiton Name), we get the following error (in this instance the partition name is 24 characters long)
    "API0407: The minimum length of this filed is 0 and its maximum length is 32. You have 35 characters."
    In the Drop-down Menu of DML Partition Name it says "Partition: " in front of every partition there is. Together with a Partition name of 24 Characters it sums up to 35 characters.
    So it appears that the maximum length of the partition is limited to 21 characters only because "Partition: " is put in front of it.
    This error also appears when editing the Properties of the table operator by OMB*PLUS (from tcl) with
    OMBALTER MAPPING 'mapname' MODIFY OPERATOR 'operatorname' SET PROPERTIES (DML_PARTITION_NAME, DML_PARTITION_TYPE, PARTITION_KEY_VALUE_LIST, IS_PARTITION_INDEXED_BY_NAME) VALUES ('$partition', 'PARTITION', '$someEmptyList', 'true')
    where it does not make a difference whether $partition is of the form
    set partition "Partition: SOMEPARTITIONNAME"
    or
    set partition "SOMEPARTITIONNAME"
    Renaming the Partitions is not an option for us, since our warehouse is running in multiple productive systems and became quite large in the last years.
    Is it necessary, that "Partition: " is put infront of the partition name? Is there a way around this? Isn't the field DML_PARTITION_TYPE supposed to store the Information whether it is a partion or a subpartition?
    If you wanted to use subpartitions, does the name of the subpartition then need to be even shorter since "Subpartiton: " is put infront?
    Thanks in advance for any help or suggestions. If you need further Information, feel free to ask, I am more than happy to supply it.
    Best Regards
    Thorsten

  • How to get the bound object of an external table with OMB

    Hello,
    I try to find it but without success. So may be one of you, know this secret information.
    I want to synchronize with the help of an OMB script my external tables.
    OMBSYNCHRONIZE FLAT_FILE '/MY_PROJECT/MY_FLAT_FILE_MODULE/MY_FLAT_FILE' RECORD 'MY_RECORD' TO EXTERNAL_TABLE 'MY_EXTERNAL_TABLE' \
    USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID')For this purpose, I need to know the bound object. When you synchronize with the help of the GUI, you see it easily.
    Example:
    /MY_PROJECT/MY_FLAT_FILE_MODULE/MY_FLAT_FILE/MY_RECORDI searched in the properties of the external table and I don't see a BOUND OBJECT property.
    OMBDESCRIBE CLASS_DEFINITION 'EXTERNAL_TABLE' GET PROPERTY_DEFINITIONS
    BAD_FILE_LOCATION BAD_FILE_NAME BUSINESS_NAME DATA_FILES DEPLOYABLE DESCRIPTION
    DISCARD_FILE_LOCATION DISCARD_FILE_NAME ENDIAN GENERATE_ERROR_TABLE_ONLY GENERAT
    ION_COMMENTS LOAD_NULLS_WHEN_MISSING_VALUES LOG_FILE_LOCATION LOG_FILE_NAME NLS_
    CHARACTERSET NUMBER_OF_REJECTS_ALLOWED PARALLEL_ACCESS_DRIVERS PARALLEL_ACCESS_M
    ODE REJECTS_ARE_UNLIMITED SHADOW_TABLESPACE SHADOW_TABLE_NAME STRING_SIZES_IN TR
    IM UOIDThen I try the BOUND_OBJECT cached properties of a mapping operator but no luck.
    OMBRETRIEVE EXTERNAL_TABLE 'MY_EXTERNAL_TABLE' GET BOUND_OBJECT
    OMB00001: Encountered BOUND_OBJECT at line: 1, column: 56. Was expecting one of:
    "PROPERTIES" ...
        "REF" ...
        "REFERENCE" ...
        "COLUMN" ...
        "DEFAULT_LOCATION" ...
        "FLAT_FILE" ...
        "RECORD" ...
        "COLUMNS" ...
        "DATA_FILES" ...
        "DATA_RULE_USAGES" ...I have already the file and the record with the FLAT_FILE and RECORD properties
    OMBRETRIEVE EXTERNAL_TABLE  'MY_EXTERNAL_TABLE'  GET FLAT_FILE
    OMBRETRIEVE EXTERNAL_TABLE  'MY_EXTERNAL_TABLE'  GET RECORDBut how can I get the flat file module:
    MY_FLAT_FILE_MODULEDoes anybody know how OWB retrieve this information ?
    Thanks in advance and good day
    Nico
    Edited by: gerardnico on Jan 13, 2010 12:08 PM
    Change get the location by get the flat_file_module

    Yes, Oleg. It's what's worried me.
    The BOUND_OBJECT property of a table operator is not in the API.
    OMBDESCRIBE CLASS_DEFINITION 'TABLE_OPERATOR' GET PROPERTY_DEFINITIONS
    ADVANCED_MATCH_BY_CONSTRAINT AUTOMATIC_HINTS_ENABLED BOUND_NAME BUSINESS_NAME CO
    NFLICT_RESOLUTION DATABASE_FILE_NAME DATABASE_LINK DATA_COLLECTION_FREQUENCY DAT
    A_RULES DB_LOCATION DEBUG_BOUND_NAME DEBUG_DB_LOCATION DESCRIPTION DIRECT ENABLE
    _CONSTRAINTS ERROR_SELECT_FILTER ERROR_SELECT_ROLL_UP ERROR_TABLE_NAME EVALUATE_
    CHECK_CONSTRAINTS EXCEPTIONS_TABLE_NAME EXTRACTION_HINT IS_TEMP_STAGE_TABLE JOIN
    RANK KEYS_READONLY LOADING_HINT LOADING_TYPE MATCH_BY_CONSTRAINT OPTIMIZE_MERGE
    PARTITION_NAME PEL_ENABLED PRIMARY_SOURCE RECORDS_TO_SKIP REPLACE_DATA ROW_COUNT
    ROW_COUNT_ENABLED SCHEMA SINGLEROW SORTED_INDEXES_CLAUSE SUBPARTITION_NAME TARG
    ET_FILTER_FOR_DELETE TARGET_FILTER_FOR_UPDATE TARGET_LOAD_ORDER TEMP_STAGE_TABLE
    _EXTRA_DDL_CLAUSES TEST_DATA_COLUMN_LIST TEST_DATA_WHERE_CLAUSE TRAILING_NULLCOL
    S TRUNCATE_ERROR_TABLE UOID USE_LCR_APIThen I was wondering if anyone knew a little bit the same hidden property but to get the flat file source object of an external table.
    Cheers
    Nico

  • WCF-SQL table operation on tables with the same name.

    Hello,
    My situation involves generating table operation schemas (Insert, Update, Delete, Select) for tables in two different SQL databases.  These tables happen to have the same name.  For the sake of discussion lets call the tables dbo.Customer.  However,
    these tables have different fields in them.  When generating the schemas to be used by BizTalk, they end up as the same message type like so:
    Database1: http://schemas.microsoft.com/Sql/2008/05/TableOp/dbo/Customer#Update
    Database2: http://schemas.microsoft.com/Sql/2008/05/TableOp/dbo/Customer#Update
    To my understanding, I can't simply change the namespaces or root nodes to be unique since this structure is expected by the SQL Adapter (shown here: https://msdn.microsoft.com/en-us/library/dd788023.aspx).  I had a couple thoughts on a solution: 
    Use schema versions to differentiate between the two different table schemas.
    Use a unique namespace and root node for the schemas.  Then, create a custom pipeline component to modify them to the standard as it is sent to SQL server.
    Modify the schema so support both tables with all columns in both tables.
    I don't really like any of these solutions, so I am hoping somebody in the community has run into this situation before and has something better.
    -Richard

    You don't really have to do anything other than make sure the particular message gets routed always to the correct database.
    Having duplicate MessageType's is only a problem if you're relying on the automatic resolution of the XmlDisassembler and that would only be a concern on the Response side.
    To get around that, just create a custom Pipeline with the XmlDisassembler and set the Document Schemas list to only the one for that Port.

  • Execution Errors while running a mapping having external table operator

    when I am executing a mapping with external table operator, I am getting the following error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout ORA-29400: data cartridge error KUP-04040: file testdoc.txt in CONN_FLAT_FILE not found
    Here CONN_FLAT_FILE is the connector.
    The flat file location has been registered with the user name (as used for Windows login), password (as used for Windows Login) and host name as the name that is used for accessing my machine in the network. The path to the file name is given from the root folder like C:\.....
    Please let me know things that I need to check.
    Regards

    If you're using an external table check if you can see the data by querying that table. Possible errors: wrong directory or wrong file structure.
    Regards,
    Jörg

  • Rename Tables in Numbers 3.0

    I've been using Numbers '09 for several years, and I have one spreadsheet that has 2 sheets (2012, 2013) and each sheet has multiple tables.  In Numbers '09, I was able to copy and entire tables, and after the paste it would have the same name as the previous table.  i.e. Original table would be called Oct 12-13, and the Pasted Table would then be called Oct 12-13-1.  I could then rename the Table to Oct 19-20.  In Numbers 3.0, I am unable to rename tables. 
    Has anybody been able to find a way to rename individual tables on a sheet?

    Hi dbutlerman,
    That confused me too at first. In Numbers '09 I figured out how to display and change the name in the Table Inspector.  In Numbers 3.0 I couldn't find how to change the name in the Table pane at the right.
    But I tried doubleclicking the table name itself on the sheet and found I could edit it right there. 
    For me, more intuitive and convenient than Numbers '09.
    SG

  • Table Operator In PL/SQL

    Sir,
    This is srinivas from India
    Recently I started working with Objects in Pl/SQL
    I am facing problem with table operator in pl/sql
    my Query is
    Select s.rollno,s.Name,column_value from student s,table(marks)
    above query working fine in at SQL Prompt
    but the same thing if I am trying to use at Cursors in PL/SQL it is giving error
    please suggest me how to use Table operator in PL/SQL
    student
    srinivas

    I suggest you post your problem to the Products->Database->SQL/PLSQL discussion Forum.
    This Forum is meant for the Apple Macintosh OS.

  • Table Operator Vs Materialized View Operator

    Hi All,
    Could you please give the differences between Table Operator and Materialized view Operator in Oracle Warehouse Builder 11g.
    Regards,
    Subbu

    Below an extract of my notes of the Materialized view. The complete notes are here :
    http://gerardnico.com/wiki/dw/aggregate_table
    =====Notes=====
    Materialized views are the equivalent of a summary table. (Materialized views can be also use as replica).
    In a olap approach, each of the elements of a dimension could be summarized using a hierarchy.
    The end user queries the tables and views in the database. The query rewrite mechanism in a database automatically rewrites the SQL query to use this summary tables.
    This mechanism reduces response time for returning results from the query. Materialized views within the data warehouse are transparent to the end user or to the database application.
    This is relatively straightforward and is answered in a single word - performance. By calculating the answers to the really hard questions up front (and once only), we will greatly reduce the load on the machine, We will experience:
    * Less physical reads - There is less data to scan through.
    * Less writes - We will not be sorting/aggregating as frequently.
    * Decreased CPU consumption - We will not be calculating aggregates and functions on the data, as we will have already done that.
    * Markedly faster response times - Our queries will return incredibly quickly when a summary is used, as opposed to the details. This will be a function of the amount of work we can avoid by using the materialized view, but many orders of magnitude is not out of the question.
    Materialized views will increase your need for one resource - more permanently allocated disk. We need extra storage space to accommodate the materialized views, of course, but for the price of a little extra disk space, we can reap a lot of benefit.
    Also notice that we may have created a materialized view, but when we ANALYZE, we are analyzing a table. A materialized view creates a real table, and this table may be indexed, analyzed, and so on.
    Success
    Nico

  • ORA-20079:  WM internal error [unable to rename table]

    Hi,
    I am getting following error when i try to enable versioning on a table. Any idea how to resolve it ?
    BEGIN DBMS_WM.EnableVersioning('TestTable'); END;
    ERROR at line 1:
    ORA-20079: WM internal error [unable to rename table]
    ORA-06512: at "SYS.LTDDL", line 1615
    ORA-06512: at "SYS.LTDDL", line 1193
    ORA-06512: at "SYS.LT", line 647
    ORA-06512: at "SYS.LT", line 8024
    ORA-06512: at line 1
    thanks
    -na

    Hi,
    You need to determine the original error that is being generated by oracle. This can be done by attempting to rename the table yourself. For example:
    SQL> alter table TestTable rename to RenamedTable ;
    That will give you a better understanding as to why Workspace Manager is unable to rename the table. Also, what version of the database and workspace manager are you using ?
    If the direct rename succeeds while enableversioning continues to fail, then you would need to file a TAR on this.
    Regards,
    Ben

  • Expert - Generating SCD Type2 Mapping for a Table Operator - To Share

    Hi All,
    I have created an Expert which generates a SCD Type2 Mapping for a Table Operator being used as Dimension.
    Let me know how I can share this expert. This forum has helped answer many questions and I would like to contribute.
    Thanks,
    Sam.

    Hi David,
    I am trying to follow the steps as on that page. But I am stuck at step 5 - to upload the zip file. I cannot find the "Add an Attachment" link in the page toolbox.
    The steps on that page are
    1)Use the link in the "Page Toolbox" (right-hand column) to add a new page, with a title describing the expert or script.
    2)In the keywords for the page, enter "OWB USER CONTRIBUTED EXPERT".
    3)On that page, describe the expert or other script, the version of OWB it was developed for (including patch level), how to install and use it, and who to contact with any questions.
    4)Package the Expert files in a Zip file.
    5)Use the "Add an Attachment" link in the Page Toolbox to upload your Zip file as an attachment to the page for your expert. Alternatively, post a link to your own web site where the expert can be downloaded.
    Thanks,
    Sam.

  • Is it possible that rename table captured by streams

    is there any way that i can capture rename table??

    Just setup your rule for DDL to the schema level and it will.
    Use dbms_streams_adm.add_schema_rules instead of dbms_streams_adm.add_table_rules.
    Regards,

  • Table operations

    Hi Friends,
    How to deal with table operations?
    I want three tables having data but only one header:-
    h1|h1|h3
    rows1:-
    v1|v2|v3
    rows2:-
    v4|v5|v6
    rows3:-
    v7|v8|v9
    It canbe done in two ways:-
    1. having 4 tables , for first one have column headers only
    second:- have table with text field "rows1" wchich will come above, and dont include header and footer
    in same way other two tables also
    another way:-
    in the table 1 --headers
    in table two:- data to be there,plus when heading comes inside table as subheading, merge cells of a table row.
    Please advise how to achieve it

    hi,
    Following url will help you out to create the table dynamically
    http://help.sap.com/saphelp_nw04/
    helpdata/en/95/93fe1e71a2e44691b1f041e67f71aa/content.htm
    Sample code:
    IWDTransparentContainer container = (IWDTransparentContainer)
         view.getElement(IWDTransparentContainer.class, "RootUIElementContainer");
    IWDTextView editor = (IWDTextView)
      view.createElement(IWDTextView.class, "monthNameColumnEditor");
      editor.bindText("MonthOfYear.MonthName");
    IWDTableColumn column = (IWDTableColumn)
      view.createElement(IWDTableColumn.class, "monthNameColumn");
    column.setTableCellEditor(editor);
    IWDTable table = (IWDTable)
      view.createElement(IWDTable.class, "MyTable");
      table.bindDataSource("MonthsOfYear");
    table.addColumn(column);
      container.addChild(table);

  • Rename table

    how to rename table using export and import utility ??
    Thanks 10

    883532 wrote:
    how to rename table using export and import utility ??
    Thanks 10What is the version?
    In 9i its not possible to rename table using export/import, why not using SQL? its very simple
    SQL> create table emp_new as select * from emp;
    if its above 10g.then
    $expdp system/***** tables=scott.emp dumpfile=emp.dmp logfile=emp.log directory=data_pump_dir
    $impdp system/***** dumpfile=emp.dmp logfile=emp_imp.log remap_table=emp:emp_new directory=data_pump_dir
    HTH.
    User Profile for 883532
         883532      
         Newbie
    Handle:      883532
    Status Level:      Newbie
    Registered:      Sep 6, 2011
    Total Posts:      28
    Total Questions:      18 (12 unresolved)
    Keep the forum clean as much as possible by marking threads as answered.
    Edited by: CKPT on Feb 20, 2012 10:00 PM

  • Does renaming table require rerunning stats?

    OS: OEL (latest) 64-bit
    DB: 11gR1
    I need to create a copy of a large table A in production (call the new table B). The data is the same but the physical layout of the tables is different (different partitioning scheme is being used between table A and B).
    When I go to move table B to replace table A (which will eventually be dropped), do I have to rerun stats on table B?
    That is,
    (1) table A become table A_OLD
    (2) table B becomes table A
    Do I need to rerun stats on table A in step (2)? Is there anything else that needs to be done?
    ( I am doing this to limit the impact to the GUI which uses this table -- the final table name does not change so the GUI should not be affected.)
    Cheers!

    user601798 wrote:
    Yes, do I need to rerun stats on the 'new' table A even though it has the same data and name (after rename) but different partitioning scheme (physical model)? It seems to me that the answer would be 'Yes'.
    Otherwise, does not the optimizer fail to recognize the new partitioning?
    (1) table Toys (all data present) and table Toys_New (empty)
    (2) table Toys_New is loaded with table Toys data (both tables now have same data -- only difference is partitioning)
    (2) table Toys is renamed table Toys_Old (will purge this at a later time)
    (4) table Toys_New is renamed table Toys
    And I was just thinking -- forgot to mention firsthand -- Toys_New will have the same indexes but of course the indexes will have unique names from those on Toys (to avoid 'object already exist' errors.
    Given that last note I am more than convinced that stats needs to be run on Toys_New after step (4)
    Cheers!Yes, you need to.
    Your new table's name is "Toys" but this new table is totally different table than old Toys. So you need to analyze table again.
    Regards
    Gokhan

Maybe you are looking for

  • Open Box Warranty Issues and Poor Lenovo Malaysia Costumer Service

    Dear Sir, My name is Azri. I just bought a new free DOS Lenovo G400S from your authorize dealer in penang on 31th March 2014 around 6pm. Since  the unit was a free dos unit, I just brought that laptop home without opening the box for inspection due t

  • HT4759 Photos on iCloud

    I do not see an icon for photos on my iCloud page.  Additionally, how do I send my photos to iCloud?

  • How to put field  as a mandatary in modulepool

    Hi, i want to put the fields as a mandatary in modulepool send me ur valueble adviice urgent advanced thanks,

  • Using RANGE_ID_LEADING field as a search criterium

    Hi, I would like to use a new search criterium for salary ranges based on the field RANGE_ID_LEADING in matchning between a requisition and the candidates. The problem is that this new search criterium is not defaulted automatically from the requisit

  • Recover control and data file

    hello i have an oracle database 10GR2 EE on windows server 2003 sp2 the database is in archive log mode today i lost all control files+ the system datafile i have a cold backup + a script to recreate the controlfiles i restored the system datafile fr