Unique key violation - the DB adapter

Hello

I have a composite SOA (deployed in clusters of 4 nodes) who questions database and calls a stored procedure (which invokes the records in multiple tables). Now, when I'll be large amount of data in the source database, the composite is mark and tries to insert the records in the target database. But sometimes error cases dating violation of unique key constraint while inserting records into the target database.

Is locks of adapter DB table before inserting the records so that others may not violate the constraints and they will be able to see changes made by other SOA forums?

Thank you!

Yes, certainly not DbAdapter... the problem is the way you do your check and the lack of a facility of mutex in BPEL... Assuming you are using BPEL...

Ideal scenario...

1 check key has... There is no instance

example 1 - insert the key... was ok

example 2 - check button has exist......

instance 2 - updates of key has... ok

Parallel scenario...

1 check key has... There is no instance

2 check key has... There is no instance

example 1 - insert the key... was ok

example 2 - Insert key a... failure... duplicate a key...

Hope you get what I'm trying to show here... There is nothing there to prevent another instance to check the existence of the key even before the first instance commits the transaction that inserted the key...

BPEL is not a mutex AFAIK... something like the statement "synchronized" in Java for example...

https://docs.Oracle.com/javase/tutorial/essential/concurrency/locksync.html

Thus, you must use a different approach, for example, try and introduce first always, if the insertion fails try and update... It's 'thread safe' than the approach that you use...

Much better is to is to abandon controls at all and always insert using the key substitution, such as sequences or guid... If you insert an Oracle database, simply use a sequence, or use the function generate GUIDs BPEL...

https://en.Wikipedia.org/wiki/Surrogate_key

See you soon,.

Vlad

Tags: Fusion Middleware

Similar Questions

  • Please choose a unique key in the selected Recordset or click Cancel - DWCC2015 error

    I am trying to add a form to UPDATE in the PCOC assistance from the server behaviors panel and when I have it, select the unique primary key in my database table, I am presented with the following error:

    "Please choose a unique key in the selected Recordset or click Cancel.

    I tripled checked - the key that I select is correct, it is a primary key in my table of MSSQL database - it does not accept it.

    Any ideas?  Clear the Cache of DW and start over?

    Thank you.

    NJ

    As I suggested in another thread, if you really need to use the obsolete server behaviors, install Dreamweaver CS6, which is included in your subscription to creative cloud. Better yet, stop using the server behaviors. They have been deleted, because the code is desperately obsolete. It will stop working in PHP 7, coming in the next two weeks.

  • Unique key on the partitioned table range

    Hello

    We use a range of composite range-hash partitioned table

    Use index - try to do this have same tablespace to the local partitions but not liking it

    ALTER table RETAILER_TRANSACTION_COMP_POR
    Add primary key constraint RETAILER_TRANSACTION_COMP_PK (DWH_NUM)
    using index
    LOCAL


    ORA-14039: partitioning columns must be a subset of the columns in a unique index key

    Without local then fine but does not have same tablespace to walls and don't want to make this part of the partition key.

    Range Tbal partitioned - it's just a UK to avoid duplicates
    [oracle@localhost ~]$ oerr ora 14039
    14039, 00000, "partitioning columns must form a subset of key columns of a UNIQUE index"
    // *Cause:  User attempted to create a UNIQUE partitioned index whose
    //          partitioning columns do not form a subset of its key columns
    //          which is illegal
    // *Action: If the user, indeed, desired to create an index whose
    //          partitioning columns do not form a subset of its key columns,
    //          it must be created as non-UNIQUE; otherwise, correct the
    //          list of key and/or partitioning columns to ensure that the index'
    //          partitioning columns form a subset of its key columns
    
  • E320 unique key on the keyboard malfunction

    My 6 month old E320 (1298-3RG) has a weird malfunction. The only key to the keyboard works not is the number four, but the sign of the dollar (shift + four) DOES not work. Also ctrl + four takes me to the fourth tab when I use Chrome. If laptops saves the entry but does not reach the exit of four. I have updated the drivers of al (keyboard) but still no four. Anyone suffering from the same problem, or better, has a solution?

    I found the solution. It is a breach of the iTunesKeys. Uninstalled, Reinstalled drivers for keyboard, rebooted and reinstalled iTunesKeys. Works fine now (knocks on wood).

  • Unique key violation

    Hi all

    I have a table T1 and a Table T2 of newspaper.
    A row-level trigger is triggered in T1 for all DML operations in T1.
    T2 table has a primary key for a column name and Log_date concatenated.
    When I try to insert a record into T1 simultaneously for 2 times, a Unique constraint is getting violated in T2.
    Log_date in T2 data type column is the Date.
    Please advice me how to solve this error.

    Thank you
    JO

    Published by: Jordan on October 19, 2010 23:35

    Hello
    Use the TIMESTAMP data type, insert the value as SYSTIMESTAMP.

    with respect,
    Petrilla

  • Replace the unique key on Satellite L500-128

    Hi all

    Today, I removed the key from my computer toshiba laptop +. When I tried to replace it, I saw that the clip under the key has been broken. So now, I want to know if I can buy the clip so I can connect my key with the keyboard again. I don't want to buy a new keyboard. It's a waste of money, because the rest of the keyboard is in a very good state. I'm from the Netherlands.

    With sincere friendships.

    Tom

    Hello

    Maybe it's hard to hear but I think that Akuma is good and you can t replace individual keys only. Only a full keyboard is available and can be ordered and no Exchange, no unique key. The authorized service provider in my country told me that the information

    So I think you need to order a set of keyboard of an authorized service provider.
    But don t worry not about this. Keyboards are not so expensive. ;)

  • Engineering problems the surrogate with Unique key primary key

    SDDM 3.3.0.747 with 2 problems (at least so far).  I hope that the problem comes from this recruit SDDM and I forgot a setting. PROBLEM 1 I don't want to start a religious debate on substitution vs natural keys but I'm having a problem correctly both the logic model of engineering.  I'm a rookie when it comes to SDDM but have many years of experience with the Designer. By default, only I wish I had a natural UID (UK) and a surrogate mother based on a primary key UID (PK) which is used for foreign keys.  The problem I have with engineering is I can successfully engineer the substitute PK, engineer of the FK with the PK, but cannot get the unique key to contain surrogate keys in the child table.  If I check the identification property in relationships, the PK columns and the UK are included in the child PK and the United Kingdom contains no columns. The installation program, I've defined two reference entities, PROBABILITY and GRAVITY with unique keys natural defined.  I also have a child entity RISK_ASSESMENT with links to entities of the PROBABILITY and SEVERITY and both have the "use surrogate keys:": check box selected.  The unique key of the entity RISK_ASSESMENT includes links to PROBILITY and GRAVITY.  None of the entities have a PK or replacement of the defined keys and they all have the checkbox "Create a surrogate key" checked.  In addition the following preferences are defined: Data Modeling/model/logic NO checked - use and the first Unique key as primary key value NOT checked - name - Keep under the name of the from attribute Checked - entity carrier to create controlled key - use surrogate PROBLEM 2 key relationship when the foreign key columns are engineered I want names have a prefix 'FK_"but they don't.  Models are defined as follows: Data Modeler/assignment of Standard/Templates Foreign Key name: FK_ {children} {parent} foreign key column: engineer FK_ {Ref column} relational model/General checked Options - translation name Marcus Bacon apply

    Once more, I designed without removing anything and still no FK to the United Kingdom of the child.

    There is a synchronization problem in DM 4.0 EA1. This will be fixed for the production version.

    Philippe

  • Disable the unique key constraint

    Hello

    Is it possible to disable a unique key constraint?
    I tried the following code:

    ALTER TABLE table_name
    DISABLE the CONSTRAINT uk_constraint_name

    that seems to work fine, but when I try to insert or update a record that the unique constraint is still on. However, Toad in the United Kingdom is marked as disabled.

    What do I need to drop the UK and re-create it after my updates?

    Thank you

    The behavior that I have demonstrated that during
    a. you have an existing UNIQUE Index
    b. you add a Unique key constraint (with the same or another name, any - except that the error message contains the name of the index is different, if the constraint is disabled)

    OTOH, if you set the Unique key on the table without pre-existing index constraint, Oracle creates an Index. If you disable this constraint, Oracle removes the Index.
    So, if it is a small table and you can afford to recreate the Index each time, you can follow this method.

    SQL> create table t_2 (col_1 number, col_2 varchar2(5));
    
    Table created.
    
    SQL> alter table t_2 add constraint t_2_uk unique (col_1);
    
    Table altered.
    
    SQL> select index_name, uniqueness, status from user_indexes where table_name = 'T_2';
    
    INDEX_NAME                     UNIQUENES STATUS
    ------------------------------ --------- --------
    T_2_UK                         UNIQUE    VALID
    
    SQL> insert into t_2 values (1,'a');
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> alter table t_2 disable constraint t_2_uk;
    
    Table altered.
    
    SQL> insert into t_2 values (1,'b');
    
    1 row created.
    
    SQL> select index_name, uniqueness, status from user_indexes where table_name = 'T_2';
    
    no rows selected
    
    SQL>SQL> select constraint_name, constraint_type, status from user_constraints where table_name = 'T_2';
    
    CONSTRAINT_NAME                C STATUS
    ------------------------------ - --------
    T_2_UK                         U DISABLED
    
    SQL> alter table t_2 enable constraint t_2_uk;
    alter table t_2 enable constraint t_2_uk
    *
    ERROR at line 1:
    ORA-02299: cannot validate (AWRADMIN.T_2_UK) - duplicate keys found
    
    SQL> delete t_2 where col_2 = 'b';
    
    1 row deleted.
    
    SQL> alter table t_2 enable constraint t_2_uk;
    
    Table altered.
    
    SQL> select index_name, uniqueness, status from user_indexes where table_name = 'T_2';
    
    INDEX_NAME                     UNIQUENES STATUS
    ------------------------------ --------- --------
    T_2_UK                         UNIQUE    VALID
    
    SQL>
    

    Hemant K Collette

  • Unique constraint violation error

    Hi all

    I have a procedure called - FHM_DASHBOARD_PROC which inserts data into a table called FHM_DASHBOARD_F retrieve records in multiple tables. However, for a particular type of record, these data are not inserted because of the Unique constraint violation

    the procedure is:
    create or replace
    PROCEDURE FHM_DASHBOARD_PROC AS
    
    DB_METRICS_CNT1Z number;
    --V_PODNAME varchar2(10);
    V_KI_CODE_DB_STATSZ varchar2(50);
    V_ERRORSTRING varchar2(100);
    
    --CURSOR PODNAME_CUR IS SELECT PODNAME,SHORTNAME FROM CRMODDEV.POD_DATA WHERE PODSTATUS_ID=1 AND PODTYPE_ID=1 ORDER BY PODNAME;
    
    
    -- DB STATS
    
    BEGIN 
    
      -- OPEN PODNAME_CUR;
        --   LOOP
          --   FETCH PODNAME_CUR INTO V_PODNAME,V_POD_SHORTNAME ;
            -- EXIT WHEN PODNAME_CUR%NOTFOUND;
    
               BEGIN
               
                     SELECT COUNT(*) INTO DB_METRICS_CNT1Z FROM FHM_DB_METRICS_F A, FHM_DB_D B where A.DBNAME=B.DBNAME and PODNAME=V_PODNAME AND DB_DATE=TRUNC(SYSDATE-1);
                               DBMS_OUTPUT.PUT_LINE('DB_METRICS_CNT1Z :'|| DB_METRICS_CNT1Z);
                               IF DB_METRICS_CNT1Z >0 THEN
                             
                        DBMS_OUTPUT.PUT_LINE('DB STATS');
                                  
                       INSERT INTO FHM_DASHBOARD_F(PODNAME,DASH_DATE,KI_CODE,KI_VALUE,KI_STATUS)
                                  
                          (SELECT PODNAME, DASH_DATE AS CU_DATE, KI.KI_CODE, NVL(PF.KI_VALUE,0), 
                                                                  CASE
                                                                   WHEN PF.KI_VALUE = ki.warning_threshold then 2
                        when PF.KI_VALUE=0 then 0
                        ELSE 1 
                        END  AS ALERT_STATUS
                        
                        FROM 
                        
                        (SELECT PODNAME,DB_DATE AS DASH_DATE,decode(a.stats_last_status,'SUCCEEDED',1,'FAILED',2,'STOPPED',2,NULL,0) KI_VALUE from  
                        FHM_DB_METRICS_F a,fhm_db_d b where a.dbname=b.dbname and podname='XYZ' and db_date=TRUNC(SYSDATE-1) and dbtype='OLTP')PF,
                        FHM_KEY_INDICATOR_D KI where PF.PODNAME=KI.POD_NAME AND KI.TIER_CODE=3 AND KI.KI_NAME='DB_STATS'
                        AND (PF.PODNAME,TRUNC(PF.DASH_DATE),KI.KI_CODE) NOT IN (SELECT PODNAME,DASH_DATE,KI_CODE FROM FHM_DASHBOARD_F)); 
                                 COMMIT;
                     
                             ELSE
                                    SELECT KI_CODE INTO V_KI_CODE_DB_STATSZ FROM FHM_KEY_INDICATOR_D WHERE POD_NAME=V_PODNAME AND KI_NAME='DB_STATS';
                                     DBMS_OUTPUT.PUT_LINE('V_KI_CODE_DB_STATSZ :'||V_KI_CODE_DB_STATSZ);
                                     INSERT INTO FHM_DASHBOARD_F(PODNAME,DASH_DATE,KI_CODE,KI_VALUE,KI_STATUS) VALUES(V_PODNAME,TRUNC(SYSDATE-1),V_KI_CODE_DB_STATSZ,0,0); 
                                     COMMIT; 
                                     
                             END IF;
                            
         EXCEPTION
                            WHEN OTHERS THEN
                            V_ERRORSTRING :='INSERT INTO FHM_DASHBOARD_F_ERROR_LOG(POD_NAME,KI_NAME,ERRORNO,ERRORMESSAGE,DATETIME) VALUES
                   ('''||V_PODNAME||''',''DB_STATS'','''||SQLCODE||''','''||SQLERRM||''',SYSDATE)';                         
                   EXECUTE IMMEDIATE  V_ERRORSTRING;
                            COMMIT;
              END;
    
          --END LOOP;
      --CLOSE PODNAME_CUR;
    
    
    END;
    
    
    END FHM_DASHBOARD_PROC;
    and the table where data integration is
    CREATE TABLE "CRMODDEV"."FHM_DASHBOARD_F"
      (
        "PODNAME" VARCHAR2(25 BYTE) NOT NULL ENABLE,
        "DASH_DATE" DATE,
        "KI_CODE"   NUMBER NOT NULL ENABLE,
        "KI_VALUE"  NUMBER,
        "KI_STATUS" NUMBER,
        CONSTRAINT "FHM_DASHBOARD_F_DATE_PK" PRIMARY KEY ("DASH_DATE", "PODNAME", "KI_CODE") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 NOLOGGING COMPUTE STATISTICS STORAGE(INITIAL 4194304 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "CRMODDEV_IDX" ENABLE,
        CONSTRAINT "FHM_DASHBOARD_F_KI_CODE_FK" FOREIGN KEY ("KI_CODE") REFERENCES "CRMODDEV"."FHM_KEY_INDICATOR_D" ("KI_CODE") ENABLE
      )
      PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING STORAGE
      (
        INITIAL 3145728 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
      )
      TABLESPACE "CRMODDEV_TBL" ENABLE ROW MOVEMENT ;
    the constraint primary key is FHM_DASHBOARD_F_DATE_PK and is on 3 columns of the table, DASH_DATE, PODNAME, KI_CODE



    And it's the query used in the procedure to insert the data into the table
    (SELECT  PODNAME, DASH_DATE AS CU_DATE, KI.KI_CODE, NVL(PF.KI_VALUE,0), 
                                   CASE
                                   WHEN PF.KI_VALUE = ki.warning_threshold then 2
    when PF.KI_VALUE=0 then 0
    ELSE 1 
    END  AS ALERT_STATUS
    From 
    (Select  Podname,Db_Date As Dash_Date,Decode(A.Stats_Last_Status,'SUCCEEDED',1,'FAILED',2,'STOPPED',2,Null,0) Ki_Value From  -- Added Distinct
    FHM_DB_METRICS_F a,fhm_db_d b where a.dbname=b.dbname and podname in ('XYZ') and db_date = TRUNC(SYSDATE-2) and dbtype='OLTP')PF,
    Fhm_Key_Indicator_D Ki Where Pf.Podname=Ki.Pod_Name And Ki.Tier_Code=3 And Ki.Ki_Name='DB_STATS'
    And (Pf.Podname,Trunc(Pf.Dash_Date),Ki.Ki_Code) Not In (Select Podname,Dash_Date,Ki_Code From Fhm_Dashboard_F));
    It gives * record * 2 suite
    ---------------------------------------
    XYZ JANUARY 20 12 2521 1 1
    XYZ JANUARY 20 12 2521 1 1

    It gives the Unique constraint violation error when inserting. Then, I changed in the above insertion code by adding a distinct clause. Once the query gives only a SINGLE record accordingly. However, this record is not be inserted into the table and give the same error.

    Now the question is how should I insert that record into the table with success?


    If the message is too long, however, I gave you the real structure of the object or procedure and error.

    Thank you in advance.

    When you have 5 columns in the game adding THAT SEPARATE is n ot solution that you can still get the same error once.

    Check the target table if the data exists before inserting... If this is not the case, check the structure of the table for a unique constraint created on other columns.

    select *from 
    where
    DASH_DATE=date '2012-01-20'
    and PODNAME='XYZ'
    and  KI_CODE=2521;
    
  • How to make Unique key Validation

    ADF 11, ADF, BC.
    I could be missing something, but how do you add a validator for a unique key?

    I have a unique key defined on the DB, this unique key has nothing to do with the primary key.
    (Its audit that a code is unique)

    In the validators on the entity object, I can put a unique key validator, but it lists only the
    primary key for the definition of not check unique key...

    The unique key on the DB works as I get a nice constraint violation error, so how can I
    Add a validator to a single key or at least catch the error to display a friendly message.

    Concerning
    Paul

    Hello Paul,

    My recommendation would be to leave the validation of the uniqueness constraint in the DB. Have a read of the article 37.8.3 (updated for 11g, 10 g, it is 33.8.3) guide the developer of Fusion, where you will find a way to provide your own rather than the ugly constraint violation a nice error messages.

    Best,

    John

  • Short ODI IKM Unique key error

    Hello

    I am trying to load data in and short 3.1 datadomain through the IKM ODI of short downloaded from delivery. I use ODI 11.1.1.1.7 with IKM SQL for short for 3.1. I managed to solve the problem all the way until step 9 of the dataload

    Here are the steps to get that:

    Step 1-4 Drop, Create, load, Analyze table work

    6 - integration - context properties of loading RecordWriter

    7 initialize Logger

    8 validate Options

    9 initialize short schema (ERROR)

    Above step 9 errors with:

    org.apache.bsf.BSFException: exception of Jython:

    Traceback (most recent call changed):

    File "< string >", line 57, < module >

    File '< string >", line 15, in throwException

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)

    at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:163)

    java.lang.Exception: java.lang.Exception: there is no unique key in the schema

    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)

    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine (SnpScripting


    I'm sure I'm missing something and I can't find it in the documentation. Help, please.


    Thanks in advance.

    This cased by you did not indicate the unique key in your column of your data store in the models.

    1 extend the data store in the models.

    2. expand the attributes

    3. double-click on the PK column you want

    4. click on the Flexfields

    5 uncheck "short property is Unique.

    Or you do not want to set a short Server Unique key and let the server automatically generate the PK.

    You can open your interface and in the configuration of IKM together the value of 'AUTO_GENERATE_RECORSPEC' is true.

  • How to set a validation rule on a unique key formed by more than columns

    Hi all
    I use Jdeveloper 11.1.1.2
    I have a table with a column 3: col1, col2, col3. On that note, I have defined a unique key formed by col2 and col3.
    How can I define a validation rule on this key?
    In the entity object, I can't find anything useful, I see only attributes, but not the single key just defined (in the source of the entity object I have the code on the unique key).

    Thank you

    Andrea

    Published by: Andrea9 on February 11, 2010 03:46

    Yes, that's correct.

    You will realize that the approach set out in the Manual:

    (1) has a possibility to create duplicates (that is, you still need the unique key in the DB).

    (2) is slower (requires intermediate to read all values db at the intermediate level)

    You could, as Marie-Ange suggested to write the code as described in the post to blog as well - however, it has the same drawbacks.

    If you really need ID dups before validation, you will have to live with the disadvantages of the approach defined.

    Best,

    John

  • Inserting multiple rows programmatically received the unique key error

    I'm developing an application using ADF BC (JDev 11.1.1.5) ADF.

    I have a table with the attributes (id, tpId, trId) where tpId is in reference to the primary key of the table tp and trId is in reference to the primary key of the table tr. The combination of tpId and trId should be unique to table A.

    I wrote the following codes in my bean to create multiple records (from selections on a page of the user interface that allows users to select tables tp and tr).

    CCPC DCBindingContainer = getDCBindingContainer();
    DCIteratorBinding iter = dcbc.findIteratorBinding("AVO1Iterator");
    RowSetIterator rsi = iter.getRowSetIterator ();
    for (int x = 0; x < selectedRowCount; x ++) {}
    Line myRow = rsi.createRow ();
    myRow.setAttribute ("Tpid", tpRowId [x]);
    myRow.setAttribute ("Trid", trId);
    myRow.setNewRowState (Row.STATUS_NEW);
    rsi.closeRowSetIterator ();
    try {}
    System.out.println ("insert:" + myRow.getAttribute ("Tpid") + "," + myRow.getAttribute ("Trid"));
    dcbc.getDataControl () .commitTransaction ();
    created ++;
    } catch (Exception e) {}
    System.out.println ("insert:" + myRow.getAttribute ("Tpid") + "," + myRow.getAttribute ("Trid"));
    System.out.println (e.getMessage ());
    DUPS ++;
    }
    }

    Unfortunately, I get the following error:

    Insertion: 535, 48
    Failed: 535, 48
    Houston-26048: constraint 'A_UK1' is violated during the operation "Insert" post with SQL statement ' BEGIN INSERT INTO A(ID,TPID,TRID) VALUES (: 1,: 2:3) in RETURNING ID, TRID INTO: 15,: 16; END; ».
    Insertion: 537, 48
    Failed: 537, 48
    and so on...

    I check the database, there is no record at all thanks to the combination.

    Did anyone here see the rub on my codes?

    The framework works as expected. If you try to insert a key duplicated at once, you must clear the error before you can continue. In your case, you can use a rollback on the transaction to clear the error.
    Another thing that seems strange to me is that you do not set the id of the new line, which is without doubt the pharmacokinetics of the of the line.

    Timo

  • How can I disable the function of unique keys; FN?

    I have a new compaq presario CQ56 laptop with Win 7, and the volume control function keys, reading, etc. when they are pushed to him only (without the need to push the Fn key at the same time).  The problem is that I use these keys only to other purposes more how to adjust the volume, etc.  For example, in MS Publisher, I Zoom in and out to 100% by pressing F9.  However, as it is now I have to press Fn and F9 for this.

    How can I change this back to the 'old' where you need Fn most key to do all what indicates the icon on the function key?  As the volume, check the battery, brightness, etc.

    I searched on help for Win 7 without success.

    Hello Janet,.

    I don't think its possible. However, you can ask HP if they can help you the same configuration in a specific way that is adapted to your condition.

  • How to avoid the report query needs a unique key to identify each line

    Hello

    How to avoid the error below

    The report query needs a unique key to identify each row. The supplied key cannot be used for this query. Please change the report attributes to define a unique key column.

    I have master-detail tables but without constraints, when I created a query as dept, emp table he gave me above the error.

    Select d.deptno, e.ename

    by d, e emp dept

    where e.deptno = d.deptno

    Thank you and best regards,

    Ashish

    Hi mickael,.

    Work on interactive report?

    You must set the column link (in the attributes report) to something other than "link to display single line." You can set it to 'Exclude the column link' or 'target link to Custom.

Maybe you are looking for

  • Cam sex

    Hai, I use hp dv6t... I want to ask you how use or open the web cam? can someone teach me... :))

  • Used to install Windows xp sp1, sp2 or sp3, I have tried everything

    Please help I need windows xp sp2, it keeps the sp1 saying things not supported. so any suggestions?

  • Laptop hangs on microsoft running bars after a small drop to the floor

    Hi I have an acer aspire 5315 windows vista home basic my daughter dropped it wot 3ocms for the laptop of ground fires and begins to start and then gets stuck on microsoft running bars I tried to go into safe mode and other options need help please a

  • Collection published: unremove photo

    I have a published collection.  I have accidentally marked a photo to be removed from the collection, but have not "published" this operation.  The photography is currently waiting to be deleted.Is there a way to get rid of this operation from the qu

  • Samples of color (color of the gridlines?)

    When you use the clear gray interface, the borders around each color tile in the color chart menu mix in the background. Is it possible to use the light interface, with black line grids in the menu color chart? Something like this:http://PE-images.S3