Problem with creating tables DB DWH

Hello
During the generation of tables of data warehouse (dry 4.10.1 how to create the Data Warehouse Tables), I got to the top with an error indicating that "Datawarehouse Creating tables failed '.
But when I checked in the log "generate_ctl.log" file, it has the message below:

+ "Schema will be created in the following containers: +"
Oracle 11.5.10
Oracle R12
Universal



Conflict between containers:


---------------------------------------------
Table name: W_BOM_ITEM_FS
Column name: INTEGRATION_ID.
+ Column properties that are different: [keyTypeCode] +.
---------------------------------------------

Success! "

When I checked in the database of DWH, I find tables DWH, but do not know if all tables have been created?
Can someone tell me if my DWH tables are all created? Tables of how much would be created for EBS containers above?
Also, should I have to drop a container of EBS to create tables DWH successfully?

The Installation guide States when creating tables DWH fails then "createtables.log" will not be created. But in my case, this log file is created.

Published by: userOO7 on November 19, 2008 14:41

Even if you do the install with DBA role, it will fail is that sse_role is not present. Please, create it and try again. You must also create a user of separate database to the data warehouse that is separate from the repository of DAC. Then you can remove and re-create the account of data warehouse without losing the DAC repository.

4.3.4.1 create databases
http://download.Oracle.com/docs/CD/E12127_01/doc/BIA.795/e12083/windows_ic.htm#i1081422

Tags: Business Intelligence

Similar Questions

  • Problem with create table as select (DEC)

    Hello

    We try to data cleaning of huge tables. And a customer of guise is reanme main table to the backup table. Then create a master table in select * backup table with some test.

    Now the problem with create table select, is that it creates the table without indexes and constraints. Is it possible to use the ETG (create the select table) with the same structure that he was the (all index, constriaints).

    Or any other solution to solve this problem?

    Thanks in advance

    Sweety wrote:
    Hello

    We try to data cleaning of huge tables. And a customer of guise is reanme main table to the backup table. Then create a master table in select * backup table with some test.

    Now the problem with create table select, is that it creates the table without indexes and constraints. Is it possible to use the ETG (create the select table) with the same structure that he was the (all index, constriaints).

    Or any other solution to solve this problem?

    Thanks in advance

    No, this is not possible. You need to get the manuscript of dependent object and create it manually.

  • Problem with Create Table from target in CKM Oracle

    In CKM following Oracle are:
    create table < % = snpRef.getTable ("L", "CHECK_NAME", "W") % >
    (
    Catalog_name < %=snpRef.getDataType ("DEST_VARCHAR", "100", "") % > < % = snpRef.getInfo ("DEST_DDL_NULL") % >.
    Schema_name < %=snpRef.getDataType ("DEST_VARCHAR", "100", "") % > < % = snpRef.getInfo ("DEST_DDL_NULL") % >.
    RESOURCE_NAME < %=snpRef.getDataType ("DEST_VARCHAR", "100", "") % > < % = snpRef.getInfo ("DEST_DDL_NULL") % >.
    FULL_RES_NAME < %=snpRef.getDataType ("DEST_VARCHAR", "100", "") % > < % = snpRef.getInfo ("DEST_DDL_NULL") % >.
    ERR_TYPE < %=snpRef.getDataType ("DEST_VARCHAR", "1", "") % > < % = snpRef.getInfo ("DEST_DDL_NULL") % >.
    ERR_MESS < %=snpRef.getDataType ("DEST_VARCHAR", "250", "") % > < % = snpRef.getInfo ("DEST_DDL_NULL") % >.
    CHECK_DATE < %=snpRef.getDataType ("DEST_DATE", "", "") % > < % = snpRef.getInfo ("DEST_DDL_NULL") % >.
    ORIGINAL < %=snpRef.getDataType ("DEST_VARCHAR", "100", "") % > < % = snpRef.getInfo ("DEST_DDL_NULL") % >.
    CONS_NAME < %=snpRef.getDataType ("DEST_VARCHAR", "35", "") % > < % = snpRef.getInfo ("DEST_DDL_NULL") % >.
    CONS_TYPE < %=snpRef.getDataType ("DEST_VARCHAR", "2", "") % > < % = snpRef.getInfo ("DEST_DDL_NULL") % >.
    ERR_COUNT < %=snpRef.getDataType ("DEST_NUMERIC", "10", "") % > < % = snpRef.getInfo ("DEST_DDL_NULL") % >
    )

    What is product is...
    create the table ETL_STAGING. SNP_CHECK_TAB
    (
    CATALOG_NAME VARCHAR2 (100 CHAR) NULL,
    SCHEMA_NAME VARCHAR2 (100 CHAR) NULL,
    RESOURCE_NAME VARCHAR2 (100 CHAR) NULL,
    FULL_RES_NAME VARCHAR2 (100 CHAR) NULL,
    ERR_TYPE VARCHAR2 (1 CAR) NULL,
    ERR_MESS VARCHAR2 (250 CHAR) NULL,
    CHECK_DATE DATE NULL,.
    ORIGINAL VARCHAR2 (100 CHAR) NULL,
    CONS_NAME VARCHAR2 (35 CHAR) NULL,
    CONS_TYPE VARCHAR2 (2 CHAR) NULL,
    ERR_COUNT NUMBER (10) NULL
    )

    Why it adds the word TANK in parenthesis? Anyone?

    Tom Cusick

    Hello

    Follow these steps:

    (1) go to the topology

    (2) physical architecture

    (3) modify the Oracle (directory) technology

    4) go to the tab "other".

    (5) change the "String Mask" (4º-text box) to: VARCHAR2 (%)

    That will solve the problem.

    Cezar Santos

  • Problem with a table

    Hello

    Sorry for my bad English.

    I have a problem with a table. I made a table with a script, but when I add a new line, this script will not work in the new lines. I know that I have something wrong, but I do not know the solution. Anyboy help me? You can see the file in http://www.frmgm.jazztel.es/duda.pdf. I am new in programming.

    I thank you very much.

    OK, now I understand... each row that you add to the table changes the somExpression for objects (so that they are unique). The repeating subform Gets a case number, but the rest of the phrase remains the same. If you do not include a number of occurrence, then the 1st appearance is supposed to... that is why only the 1st row is affected. You can build expressions so that you can derive the correct number of occurrence. The click event code would look like this:

    If (xfa.resolveNode ("Tabla1.Fila1 [" + this.parent.index + "]").) Casillaverificacion1.RawValue == '0') {}
    xfa.resolveNode ("Tabla1.Fila1 [" + this.parent.index + "]"). Casillaverificacion2.access = "readOnly";
    xfa.resolveNode ("Tabla1.Fila1 [" + this.parent.index + "]"). Casillaverificacion3.access = "readOnly";
    xfa.resolveNode ("Tabla1.Fila1 [" + this.parent.index + "]"). Casillaverificacion4.access = "readOnly";
    xfa.resolveNode ("Tabla1.Fila1 [" + this.parent.index + "]"). Boton1.presence = 'hidden ';
    } else {}
    xfa.resolveNode ("Tabla1.Fila1 [" + this.parent.index + "]"). Boton1.presence = "visible";
    xfa.resolveNode ("Tabla1.Fila1 [" + this.parent.index + "]"). Casillaverificacion1.access = "readOnly";
    xfa.resolveNode ("Tabla1.Fila1 [" + this.parent.index + "]"). Casillaverificacion2.access = "open";
    xfa.resolveNode ("Tabla1.Fila1 [" + this.parent.index + "]"). Casillaverificacion3.access = "readOnly";
    xfa.resolveNode ("Tabla1.Fila1 [" + this.parent.index + "]"). Casillaverificacion4.access = "readOnly";
    }

    You can see that the xfa.resolveNode takes a string that represents the object we want to use. The string is then built and the number of occurrence of the Fila1 subform is derived by obtaining the index number of the subform parent of the object that we clicked (this.parent.index). Occurane numbers are wrapped in [] brackets.  The rest has not changed. You will need to update your code to use this technique.

    Hope that helps

    Paul

  • Problem with the Tables of the Buliding warehouse...

    Hi all

    I want to try to create tables DWH via Dac.but now I have error
    takes i.e) Done.some will be fail.we use Sibel 8.1.1 System.
    Once I chicked my logfile.

    createwtables.log

    Siebel Enterprise Applications ODBC import utility, Version 7.7 DDL [18030] ENU
    Copyright (c) 2001 Siebel Systems, Inc. All rights reserved.

    This software is the property of Siebel Systems, Inc., 2207 Bridgepointe Parkway,
    San Mateo, CA 94404.

    The user accepts that any use of this software is governed by: (1) the there is
    the user limits and other conditions of the license agreement which
    has been concluded with Siebel Systems or their dealers. and
    (2) the notice of rights exclusive and limited included in this software.

    WARNING: THIS SOFTWARE IS COPYRIGHTED BY THE AMERICAN AND INTERNATIONAL.
    ANY REPRODUCTION, DISTRIBUTION OR USE OF THIS PROGRAM, OR ANY PART
    OF IT, MAY RESULT IN HEAVY CIVIL AND CRIMINAL PENALTIES, AND WILL BE
    BEING PROSECUTED TO THE EXTENT POSSIBLE UNDER THE LAW.

    If you received this software by mistake, please notify Siebel Systems
    immediately at (650) 295-5000.

    C:\orahome\10gR3_1\bifoundation\dac\UTILITIES\BIN\DDLIMP/i N/s N/u OLAPUSER/p * / OLAP_USER/g SSE_ROLE/f C:\orahome\10gR3_1\bifoundation\dac/conf/sqlgen/ctl-file/oracle_bi_dw.ctl/b/k/x/w Y c

    Connecting to the database...
    Connected.

    Reading tables and DDL file indexes...
    Read 1110 tables and indexes the DDL file 0...

    Existing scheme of reading...
    Read the tablespaces 0, 0 tables and the indexes 0 a schema from existing...

    Running the SQL statements to the database...

    S1000: [DataDirect] [ODBC Oracle driver] [Oracle] ORA-01031: insufficient privileges

    create table M_10A_ORG_D)
    Number DATASOURCE_NUM_ID (10, 0) not null,
    Number (10, 0) ETL_PROC_WID default 0 non-zero.
    Number (10, 0) GEO_WID default 0 non-zero.
    INTEGRATION_ID varchar2 (30 char) not null,
    Number (10, 0) ROW_WID default 0 non-zero.
    Char ACCNT_FLG (1 car).
    ACCNT_REVN (22: 7), the number
    Char ACTIVE_FLG (1 car).
    Char CHANNEL_FLG (1 car).
    CHNL_ANNL_SALES (22: 7), the number
    Char COMPETITOR_FLG (1 car).
    Date of CREATED_DT,
    Char DIVN_FLG (1 car).
    EMP_COUNT (22: 7), the number
    Date of FORMED_DT,
    HIST_SLS_VOL (22: 7), the number
    Char ORG_FLG (1 car).
    Char ORG_PRTNR_FLG (1 car).
    Char PROSPECT_FLG (1 car).
    Date of PRTNRSHP_START_DT,
    Char PRTNR_FLG (1 car).
    PRTNR_SALES_RANK (22: 7), the number
    PTNTL_SLS_VOL (22: 7), the number
    Date of PTSHP_END_DT,
    Char PTSHP_FEE_PAID_FLG (1 car).
    Date of PTSHP_RENEWAL_DT,
    PTSHP_SAT_INDEX (22: 7), the number
    Char PUBLIC_LISTING_FLG (1 car).
    Number SALES_EMP_CNT (10, 0),
    Number SERVICE_EMP_CNT (10, 0),
    U_ACCNT_RVN (22: 7), the number
    Date of U_ACNTRVN_EXCH_DT,
    U_CHNL_ANNL_SLS (22: 7), the number
    Date of U_CH_ASLS_EXCH_DT,
    U_HIST_SLS_VOL (22: 7), the number
    Date of U_HST_SLS_EXCH_DT,
    Date of U_PTL_SLS_EXCH_DT,
    U_PTL_SLS_VOL (22: 7), the number
    ACCNT_LOC varchar2 (50 char),
    ACCNT_STATUS varchar2 (30 char),
    ACCNT_STATUS_I varchar2 (50 char),
    ACCNT_TYPE_CD varchar2 (30 char),
    ACCNT_TYPE_CD_I varchar2 (50 char),
    ANNUAL_REVN_CAT varchar2 (30 char),
    ANNUAL_REVN_CAT_I varchar2 (50 char),
    BASE_CURCY_CD varchar2 (20 char),
    BU_NAME varchar2 (100 char),
    CHNL_SALES_GRWTH varchar2 (30 char),
    CHNL_SALES_GRWTH_I varchar2 (50 char),
    CITY varchar2 (50 char),
    COUNTRY varchar2 (30 char),
    DIVN_TYPE_CD varchar2 (30 char),
    DIVN_TYPE_CD_I varchar2 (50 char),
    DOM_ULT_DUNS_NUM varchar2 (15 char),
    DUNS_NUM varchar2 (15 char),
    EXPERTISE varchar2 (30 char),
    EXPERTISE_I varchar2 (50 char),
    FREQUENCY_CAT varchar2 (30 char),
    FREQUENCY_CAT_I varchar2 (50 char),
    FRGHT_TERMS_CD varchar2 (30 char),
    FRGHT_TERMS_CD_I varchar2 (50 char),
    GLBLULT_DUNS_NUM varchar2 (15 char),
    KEY_COMPETITOR varchar2 (100 char),
    LINE_OF_BUSINESS varchar2 (30 char),
    MAIN_PH_NUM varchar2 (40 char),
    MGR_NAME varchar2 (160 char),
    MONETARY_CAT varchar2 (30 char),
    MONETARY_CAT_I varchar2 (50 char),
    NAME varchar2 (100 char),
    NUM_EMPLOY_CAT varchar2 (30 char),
    NUM_EMPLOY_CAT_I varchar2 (50 char),
    ORG_CITY varchar2 (50 char),
    ORG_COUNTRY varchar2 (30 char),
    ORG_MAIN_PH_NUM varchar2 (40 char),
    ORG_MGR_NAME varchar2 (160 char),
    Nom_org varchar2 (100 char),
    ORG_PRTNR_TIER varchar2 (30 char),
    ORG_PRTNR_TIER_I varchar2 (50 char),
    ORG_PRTNR_TYPE varchar2 (30 char),
    ORG_PRTNR_TYPE_I varchar2 (50 char),
    ORG_STATE varchar2 (50 char),
    ORG_ST_ADDRESS varchar2 (200 char),
    ORG_TERR_NAME varchar2 (75 char),
    ORG_ZIPCODE varchar2 (30 char),
    PAR_DUNS_NUM varchar2 (15 char),
    PAR_INTEGRATION_ID varchar2 (30 char),
    PAR_ORG_NAME varchar2 (100 char),
    PRI_LST_NAME varchar2 (50 char),
    PRTNR_NAME varchar2 (100 char),
    PR_COMPETITOR varchar2 (100 char),
    PR_INDUST_NAME varchar2 (50 char),
    PR_ORG_TRGT_MKT varchar2 (50 char),
    PR_PTSHP_MKTSEG varchar2 (50 char),
    PTSHP_PRTNR_ACCNT varchar2 (100 char),
    PTSHP_STAGE varchar2 (30 char),
    PTSHP_STAGE_I varchar2 (50 char),
    RECENCY_CAT varchar2 (30 char),
    RECENCY_CAT_I varchar2 (50 char),
    Varchar2 (30 char) REGION,
    REGION_I varchar2 (50 char),
    REVN_GROWTH_CAT varchar2 (30 char),
    REVN_GROWTH_CAT_I varchar2 (50 char),
    Varchar2 (50 char) STATE,
    ST_ADDRESS varchar2 (200 char),
    U_ACNTRVN_CURCY_CD varchar2 (20 char),
    U_CH_ASLS_CURCY_CD varchar2 (20 char),
    U_HST_SLS_CURCY_CD varchar2 (20 char),
    U_PTL_SLS_CURCY_CD varchar2 (20 char),
    VIS_PR_BU_ID varchar2 (15 char),
    VIS_PR_POS_ID varchar2 (15 char),
    CODE POSTAL varchar2 (30 char))
    ;
    error writeExecDDL (UTLOdbcExecDirectDDL pDDLSql).
    error writeExecDDL (pOperCallback UTLDbDdlOperTblCreate).
    Error in MainFunction (UTLDbDdlDbMerge).
    Error in the Main function...


    Please let me know how reslove this error...

    Use the setup.exe from Disk1\install\win32
    ex: D:\DAC_V16377-01\dac\Disk1\install\win32

    It works without any problem

    Score pls help if

  • Calc problem with fact table measure used in the bridge table model

    Hi all

    I have problems with the calculation of a measure of table done since I used it as part of a calculation in a bridge table relation.

    A table of facts, PROJECT_FACT, I had a column (PROJECT_COST) whose default aggregate is SUM. Whenever PROJECT_COST was used with any dimension, the appropriate aggregation was made at appropriate levels. But, no more. One of the relationships that project_fact is a dimension, called PROJECT.

    PROJECT_FACT contains details of employees, and every day they worked on a project. So for one day, employee, Joe, could have a PROJECT_COST $ 80 to 123 project, the next day, Joe might have $40 PROJECT_COST for the same project.

    Dimension table, PROJECT, contains details of the project.

    A new feature has been added to the software - several customers can now be charged to a PROJECT, where as before, that a single client has been charged.
    This fresh percentage collapse is in a new table - PROJECT_BRIDGE. PROJECT_BRIDGE has the project, CUSTOMER_ID, will BILL_PCT. BILL_PCT always add up to 1.

    Thus, the bridge table might look like...
    CUSTOMER_ID BILL_PCT PROJECT
    123 100.20
    123 200.30
    123 300.50
    456 400 1.00
    678 400 1.00

    Where to project 123, is a breakdown for multiple clients (. 20,.30.50.)

    Let's say in PROJECT_FACT, if you had to sum up all the PROJECT_COST for project = 123, you get $1000.


    Here are the steps I followed:

    -In the physical layer, PROJECT_FACT has a 1:M with PROJECT_BRIDGE and PROJECT_BRIDGE (a 1:M) PROJECT.
    PROJECT_FACT = > PROJECT_BRIDGE < = PROJECT

    -In the logical layer, PROJECT has a 1:M with PROJECT_FACT.
    PROJECT = > PROJECT_FACT

    -Logical fact table source is mapped to the bridge table, PROJECT_BRIDGE, so now he has several tables, it is mapped (PROJECT_FACT & PROJECT_BRIDGE). They are defined for an INTERNAL join.
    -J' created a measure of calculation, MULT_CUST_COST, using physical columns, which calculates the sum of the PROJECT_COST X the amount of the percentage in the bridge table. It looks like: $ (PROJECT_FACT. PROJECT_COST * PROJECT_BRIDGE. BILL_PCT)
    -J' put MULT_CUST_COST in the presentation layer.

    We still want the old PROJECT_COST autour until it happened gradually, it is therefore in the presentation layer as well.


    Well, I had a request with only project, MULT_CUST_COST (the new calculation) and PROJECT_COST (the original). I expect:

    PROJECT_COST MULT_CUST_COST PROJECT
    123. $1000 $1000

    I'm getting this for MULT_CUST_COST, however, for PROJECT_COST, it's triple the value (perhaps because there are quantities of 3 percent?)...

    PROJECT_COST MULT_CUST_COST PROJECT
    123 $1000 (correct) $3000 (incorrect, it's been tripled)

    If I had to watch the SQL, you should:
    SELECT SUM (PROJECT_COST),
    SUM (PROJECT_FACT. PROJECT_COST * PROJECT_BRIDGE. BILL_PCT),
    PROJECT
    Of...
    PROJECT GROUP


    PROJECT_COST used to work properly at a table of bridge of modeling.
    Any ideas on what I got wrong?

    Thank you!

    Hello

    Phew, what a long question!

    If I understand correctly, I think the problem is with your old measure of cost, or rather that combines with you a new one in the same request. If you think about it, your request as explained above will bring back 3 rows from the database, that's why your old measure of cost is multiplied. I think that if you took it out of the query, your bridge table would work properly for the only new measure?

    I would consider the migration of your historical data in the bridge table model so that you have one type of query. For historical data, each would have a single row in the bridge with a 1.0 BILL_PCT.

    Good luck

    Paul
    http://total-bi.com

  • Problem with 'show tables' syntex and dashes

    I am currently working on an application that requires me to all tables in a database of output.
    The name of the database consists of the domain name (which include a dash "-") and a name I specified when creating.

    So, when I use:
    < name cfquery = "qTables" > display tables < / cfquery >
    < cfdump var = "" #qTables # "/ >"

    I get a result with the table with the title of the column names: TABLES_IN_DOMAIN-NAME_DBNAME.
    When I try to refer to this variable, SEE process only the name before (and not including) the dashboard.
    So the error I get is: "Element TABLES_IN_DOMAIN is undefined in QTABLES.

    Is there a way around this problem?
    Thank you in advance.

    You can reference the query using the notation of the structure


    #qTables ["TABLES_IN_DOMAIN-NAME_DBNAME"] [currentRow] #.

  • Problem with creating a sequence

    Hello

    I'm having a problem with a sequence that I am creating. Basically, I'm trying to create a sequence with a default value based on the value in another table, i.e.
    CREATE SEQUENCE seq
    START WITH (
                min(customer_id) from customer
                )
    INCREMENT BY 1;
    Is this possible? I get errors.

    You can use dynamic sql or, if you use SQL * more take advantage of substitution variables:

    SQL> DROP SEQUENCE seq
      2  /
    DROP SEQUENCE seq
                  *
    ERROR at line 1:
    ORA-02289: sequence does not exist
    
    SQL> DECLARE
      2      stmt VARCHAR2(1000);
      3  BEGIN
      4       SELECT  'CREATE SEQUENCE seq START WITH ' || min(empno)
      5         INTO  stmt
      6         FROM  emp;
      7       EXECUTE IMMEDIATE stmt;
      8  END;
      9  /
    
    PL/SQL procedure successfully completed.
    
    SQL> SELECT seq.NEXTVAL FROM dual
      2  /
    
       NEXTVAL
    ----------
          7369
    
    SQL> DROP SEQUENCE seq
      2  /
    
    Sequence dropped.
    
    SQL> COLUMN s NEW_VALUE s NOPRINT
    SQL> SELECT  min(empno) s
      2    FROM  emp
      3  /
    
    SQL> CREATE SEQUENCE seq START WITH &s;
    old   1: CREATE SEQUENCE seq START WITH &s
    new   1: CREATE SEQUENCE seq START WITH       7369
    
    Sequence created.
    
    SQL> SELECT seq.NEXTVAL FROM dual
      2  /
    
       NEXTVAL
    ----------
          7369
    
    SQL> 
    

    SY.

  • problem with creating

    Hello

    I created the table below.
    -- Create table
    create table RC_ANNEX_CODE
    (
      CODE_ID         NUMBER(8),
      ANNEX_ID        NUMBER(8) not null,
      FORM_TYPE       VARCHAR2(50),
      ANNEX_FORM_CODE VARCHAR2(50) not null,
      ANNEX_CODE_DESC VARCHAR2(200)
    )
    tablespace TS_IRS
      pctfree 10
      initrans 1
      maxtrans 255
      storage
      (
        initial 64K
        minextents 1
        maxextents unlimited
      );
    -- Create/Recreate primary, unique and foreign key constraints 
    alter table RC_ANNEX_CODE
      add constraint PK_RC_ANNEX_FORM_CODE primary key (ANNEX_FORM_CODE)
      using index 
      tablespace TS_IRS
      pctfree 10
      initrans 2
      maxtrans 255
      storage
      (
        initial 64K
        minextents 1
        maxextents unlimited
      );
    After you have created the table below
    create table RCI_annex_code
    (
      I_ANNEX_FORM_CODE_ID VARCHAR2(50) NOT NULL,
      I_ANNEX_FORM_CODE    VARCHAR2(50),
      ANNEX_FORM_CODE_ID   NUMBER(8)
    )
    tablespace TS_IRS
      pctfree 10
      initrans 1
      maxtrans 255
      storage
      (
        initial 64K
        minextents 1
        maxextents unlimited
      );
    -- Create/Recreate primary, unique and foreign key constraints 
    alter table RCI_annex_code
      add constraint PK_RCI_annex_code_ID primary key (I_ANNEX_FORM_CODE_ID)
      using index 
      tablespace TS_IRS
      pctfree 10
      initrans 2
      maxtrans 255
      storage
      (
        initial 64K
        minextents 1
        maxextents unlimited
      );
    When I create constraints, it gives me an error:-ORA-02270: no unique or primary key corresponding to this column list
    alter table RCI_annex_code
      add constraint FK_RCI_annex_code foreign key (ANNEX_FORM_CODE_ID)
      references rc_annex_code (code_ID);
    It gives an error for the altar above, kindly help

    If the parent key is really rc_annex_code.code_id, and the pharmacokinetics of the rc_annex_code is really annex_form_code, and then rc_annex_code.code_id make it unique:

    create table rc_annex_code
    ( code_id              number(8) constraint uk_rc_annex_form_code unique
    , annex_id             number(8) not null
    , form_type            varchar2(50)
    , annex_form_code      varchar2(50) not null constraint pk_rc_annex_form_code primary key
    , annex_code_desc      varchar2(200) )
    tablespace ts_irs;
    
    create table rci_annex_code
    ( i_annex_form_code_id not null
                           constraint pk_rci_annex_code_id primary key
                           constraint fk_rci_annex_code references rc_annex_code (code_id)
    , i_annex_form_code    varchar2(50)
    , annex_form_code_id   number(8) )
    tablespace ts_irs;
    

    Note that it is often a good idea NOT to specify the data type for the columns of the FK and rather define the constraint so he can inherit from the parent.

    It's also a common convention to put the PK columns first in the table definition - it is a bit confused in your example, because code_id is listed first but isn't the PK. That they mix? I noticed that you have defined rci_annex_code.i_annex_form_code_id as varchar2 (50) (as annex_form_code.annex_form_code), but then you try to reference rc_annex_code.code_id, which is number (8). I wonder if you meant rc_annex_code.code_id to be the PK in the first place, that is to say:

    create table rc_annex_code
    ( code_id              number(8) not null constraint pk_rc_annex_form_code primary key
    , annex_id             number(8) not null
    , form_type            varchar2(50)
    , annex_form_code      varchar2(50) constraint uk_rc_annex_form_code unique
    , annex_code_desc      varchar2(200) )
    tablespace ts_irs;
    
    create table rci_annex_code
    ( i_annex_form_code_id not null
                           constraint pk_rci_annex_code_id primary key
                           constraint fk_rci_annex_code references rc_annex_code (code_id)
    , i_annex_form_code    varchar2(50)
    , annex_form_code_id   number(8) )
    tablespace ts_irs;
    

    The whole ' Code ' / ' ID ' naming system is a little confusing so, normally, a code is just a kind of code. You have 'Code' and 'ID' in both table names and column names, with 'annex_form_code' in the 'annex_form_code_id' in the child and parent.

  • Problem with creating, truncating and deleting a database in 1 transaction

    Hello

    I came across a problem when it is in the same transaction creating a data base, truncating it and then delete it. Do these 3 things causes the following transaction validation to last forever.
    The following code causes the problem:

    File envHome = new File ("truncate-delete-test");
    envHome.mkdirs ();
    EnvironmentConfig envConfig = EnvironmentConfig.DEFAULT;
    envConfig.setAllowCreate (true);
    envConfig.setTransactional (true);
    envConfig.setTxnSerializableIsolation (true);
    Environment = environment (this.envHome, envConfig);

    Transaction txn = this.environment.beginTransaction (null, TransactionConfig.DEFAULT);

    DbConfig DatabaseConfig = new DatabaseConfig();
    dbConfig.setAllowCreate (true);
    dbConfig.setTransactional (true);
    String dbName = "test-db";
    Database db = this.environment.openDatabase (txn, dbName, dbConfig);

    CBI Close();
    environment.truncateDatabase (txn, dbName, false);
    DB = this.environment.openDatabase (txn, dbName, dbConfig);

    CBI Close();
    this.environment.removeDatabase (txn, dbName);

    TXN.Commit (); <-this statement would never return.

    I encountered this problem with version 4.0.92. I've updated to 4.1.7 but the problem still exists.
    Also, it manifests when the records are written to the database before and after it truncate.

    Looking in the process with the debugger shows the following stack trace during the commit endless happens:

    [...]
    DbTree.deleteMapLN (DatabaseId) line: 1069
    DatabaseImpl.finishDeleteProcessing (line): 1164
    Txn.cleanupDatabaseImpls (boolean) line: 1404
    TXN.Commit (durability) line: 728
    TXN.Commit (line): 549
    Transaction.Commit (line): 227
    [...]

    Depending on where I stop the process, there are additional calls on top of the stack.

    Exit Registration unfortunately does not help here, as the log messages stopped once the problem started to appear.

    Is it somehow not allowed to create, truncate and delete a database in the same transaction? I couldn't find anything in this sense in the documentation, and it is no exception either.
    Or have I came across a bug in I here?

    Thanks in advance for any advice or solutions.

    Christoph
  • Problem with resizing table InDesign CS5

    I have problems with resizing of tables in InDesign CS5.

    The width can be entered and a decrease, but the right height do move up nor down when you pull in the lower right corner or anywhere else on the base of the columns.

    Does anyone else have this problem?

    Is it a bug or maybe just me not understanding things correctly in the help...?

    Any contribution is appreciated if you knock out. :-)

    Document corruption is sometimes disabled by exporting for Exchange. See remove minor corruption by exporting

  • Problem with dynamic table

    That users write a lot in the text fields, the table to a different page breaks (it seems not nice) and overflows. The users cannot see the rest of the table.

    The problem seems to be the subform below. You have any ideas to prevent this, without much changing the interface?

    See you soon,.

    Edigo

    PS: I could not find the attachment button to download form... It used to be down!

    Please click here for the form

    http://www.Megaupload.com/?d=OKGA03VE

    Edigo,

    Here is the updated file for the problem with the global field.

    https://Acrobat.com/#d=gDwYFDJIa6zSQ9JAtAaXUQ

    See if the column suggessitions works according to your requirement...

    One thing is that if you enter more text in the field, the Table row / will do a page break, if it extends beyond the height of the page.

    So, if you enter a smaller length text in another field, then it appears on the first page but since the line has been "Broken Page", if you click the same field in the second row it also displays the same text. (Once you remove your mouse on this second page of field, the text disappears. But it will appear in the first page all the time. The text in this field was not "Broken Page", this is the reason for this kind of behavior).

    Hope I explained it's better for you...

    Let me know if you need help...

    Thank you

    Srini

  • ORA-29855 problem with creating an index

    Hi all,

    I am trying to create an index, but I have this problem:

    SQL > CREATE INDEX ITALIA_NODE_IDX ON ITALIA_NODE$ (GEOMETRY) INDEXTYPE IS MDSYS. SPATIAL_INDEX;
    CREATE INDEX ITALIA_NODE_IDX ON ITALIA_NODE$ (GEOMETRY) INDEXTYPE IS MDSYS. SPATIAL_INDEX
    *
    ERROR on line 1:
    ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE
    ORA-13249: internal error in the Spatial index: [mdidxrbd]
    ORA-13249: error in the Spatial index: index build failed
    ORA-13249: error in the spatial index: [mdrcrtxfergm]
    ORA-13249: error in the spatial index: [mdpridxtxfergm]
    ORA-29400: data cartridge error
    ORA-01653: unable to extend table M2_10A70$ $.1024 by SPACE in tablespace USERS
    ORA-06512: a 'MDSYS. SDO_INDEX_METHOD_10I', line 10


    What do you think of this problem?
    Thank you in advance.
    Crystal

    Published by: crystal13 on June-18-2010 2.03

    Hello

    It looks like your USERS tablespace is small. You have no space left. Expand the size of the storage space by enlarging the file below or put a second to her, or put the tablespace mode AUTOEXTEND. See the guide administrators: http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#i1010516

  • Problem with adf tables dynamyc region

    Hello.

    I have a problem when use ADF tables in dynamic regions. Happens if the table is inside the first task flow that is loaded (by default) in the dynamic region, recovers the data perfectly, but if the table is in a second, third and so on. flow, the task does not retrieve the data. This only happens with adf tables and graphs, if I use a form of component, for example, there is no problem.

    Any idea which can happen?

    I use Jdveloper 11.1.1.1.0

    Appreciate any ideas or help with this problem

    In iexplorer 8 gives the following error:

    Band details of page errors

    User agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
    Date: Wednesday, December 2, 2009 16:17:48 UTC


    Message: 'null' is null or not an object
    Line: 1105
    Character: 2
    Code: 0
    URI::7001/SGLadf-ViewController-context-root/afr/partition/ie/default/opt/collection-11-r1.js http://seisbd101.dgac.cl

    Hello

    Define the scope of the bean managed for the bean that switches between the regions to more far-reaching than demand: for example, set it to viewScope or pageFlowScope. This fixes the problem

    Frank

  • The relaity hard layers while no problem with a table centering

    I'll build a Web site using tables, decided this was the best way to get a finish centered on 1024 and 800 without having to learn how to build a website that changes for the user who viewed.

    But then I hit a problem. I roll over the buttons that activate one layer show/hide, but it does not work. If I set up properly for 1024, he died in a fourth 800 and so. How to play ball with my table settings?

    -Change

    on this subject.


    -change

    on this subject.


    and this-

    on this subject.


    and see if that helps.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "abdezines" wrote in message
    News:eaoosv$4EE$1@forums. Macromedia.com...
    > I am building a website using tables, decided that it was the easiest way
    > to
    > get a finish centered on 1024 and 800 without having to learn how to build
    > a
    > Web site that changes for the user who viewed.
    >
    > But then I hit a problem. I roll over the buttons that activate a
    > Show/hide layer but it does not work. If I set up properly for 1024,
    > This is
    > off in a fourth 800 and Yes. How to play ball with my table
    > settings?
    >

Maybe you are looking for

  • Skype 7.10.0.101 bug in send message

    On this version, as well as the previous one 7.8 bug with sending message is still there, and it's freaking iritating! After do not send message to someone for like half an hour and when I send someone something is the message for 10 seconds, that ci

  • Position of the encoder VI

    Hi all I just wanted to ask if there is a pre-built VI which measures the position using counters that looks something like this. Thank you Marwan

  • Connection network CHALLENGE!

    Difficult problem of network. Windows 32-bit Vista on a HP DV6700 laptop. Neither WIRED or wireless can connect to the network. Installed the most recent driver for the card without change wireless. No package of received packets sent only. Cannot id

  • key Windows 7 recovery

    My computer crashed and is no longer viable. The sticker key that came with the computer is rubbed off and I want to use the software in a different computer. I have a ghost of the original disc image. Is there a way I can get the key to the drive if

  • What is Blackberry Bis push Service different development of BlackBerry Java development?

    Hello I develop applications using blackberry java development. I want to develop an application that uses blackberry push service, pls suggest is different from the java development?