ORA-00150: duplicate ID of transaction?

Hi guys,.
I'm calling a sql program in my shell script and passing two parameters, but I get a SQL - 150 error Code. Any ideas on what this is?

Thank you

When you do not give the third parameter

t_seqno: = &3;

becomes

t_seqno: =;

where the compile error...

You can change this way:

t_seqno: = to_number('&3');)

which becomes:

t_seqno: = to_number (»);

equivalent to:

t_seqno: = null;

Max
[My Italian blog Oracle | http://oracleitalia.wordpress.com/2010/01/31/le-direttive-di-compilazione-pragma/]

Tags: Database

Similar Questions

  • [4.0.1] bug in Data Import: ORA-00957: duplicate column name

    I found a serious problem in the import feature in 4.0.1 data as well as in the old version 3.2. It generates an INSERT script with duplicate column names, so that I can't use this feature at all. This is very critical for me. I don't see that I did anything wrong. It does not appear that the DB table columns are optional or required, or if I have NULL data in the file to import the required columns or not important.

    Here is a stripped down test cases:

    CREATE TABLE IMPORT_DATA

    (

    ACCOUNT VARCHAR2 (25 BYTES),

    NUMBER AMOUNT (30.3).

    CUSTOMER VARCHAR2 (25 BYTES)

    COST_CENTER VARCHAR2 (25 BYTES),

    DESCRIPTION VARCHAR2 (255 BYTES),

    THE PERIOD NUMBER (15),

    NUMBER OF AWARDS (30.8).

    PROJECT VARCHAR2 (25 BYTES)

    ID_RESSOURCE VARCHAR2 (25 BYTES),

    TOTAL_HRS COMP (30.8).

    TRANS_ID COMP (30.3).

    VERSION VARCHAR2 (25 BYTES),

    NUMBER OF VOLUME_FLAG (15),

    WORKORDER VARCHAR2 (25 BYTES)

    );

    There are examples of input data with a single line (Excel CSV/separator with ";" as separator). It doesn't matter that I have import this as CSV/delimited or as original XLSX file, the error still occurs.

    COST_CENTER; PROJECT; ID_RESSOURCE; WORKORDER; VERSION; ACCOUNT; VOLUME_FLAG; TOTAL_HOURS; PRICE; AMOUNT; PERIOD_FROM; PERIOD_TO; DESCRIPTION; TRANS_ID; CUSTOMER

    Z4; D425Z4; RC 8901; 0; 0; 0; 0.00; 201004; 201004; TestData; -118; Z4

    The import script generated is:

    SET DEFINE OFF

    -As line 1 non been einfügen

    -ORA-00957 double column name:

    Line - 1

    INSERT INTO IMPORT_DATA (COST_CENTER, PROJECT, id_ressource, WORKORDER, VERSION, ACCOUNT, VOLUME_FLAG, ACCOUNT, PRICE, QUANTITY, ACCOUNT, ACCOUNT, DESCRIPTION, TRANS_ID, CUSTOMER) VALUES ("Z4", "D425Z4", ",", "RC", '8901' 0,0 '0', 0.0, 0.0, '201004', '201004', "Testdata",-118.0, "Z4");

    and as you can see, it has the column AMOUNT several times.

    Help!

    Concerning

    Peter

    What you have on the step 3 of 5 of the wizard when you set the columns?

    It seems you have more values on your input string you have columns of your table.

  • Pipeline raised ORA-06519 function: active autonomous transaction detected

    Hi all

    My name is John and I have a problem I need to share with you the guru and the experts. I created the following function of pipeline under user Oracle ABC:

    CREATE or replace FUNCTION SomeFunction(p_from_date DATE, p_to_date DATE) T_TAB_A RETURN pipelined
    IS
    PRAGMA autonomous_transaction;
    BEGIN
    DELETE FROM temp_rcm;

    INSERT INTO temp_rcm
    SELECT * FROM int.facility fd.
    int. Capacity co
    WHERE co.resource_name = fd.resource_name
    AND co.trade_date = fd.trade_date
    AND co.trade_date BETWEEN p_from_date AND p_to_date;

    COMMIT;

    FOR rec IN (SELECT co.*
    OF temp_rcm co
    o left join int.outage
    WE (o.flag = 'Y')
    AND o.reason_flag = 'F'
    AND o.INTERVAL = co. INTERVAL OF
    AND co.resource_name = o.resource_name)
    ORDER OF co. MEANTIME,
    Co.Name) LOOP
    pipe ROW (T_A (CRE. INTERVAL, rec.trade_date,
    Rec.resource_name, Rec.day_of_week_long, rec.working_day, rec.peak));
    END LOOP;

    RETURN;
    END SomeFunction;


    I could compile and create the function SomeFunction successfully, but when I executed the following command:

    Select * from table (SomeFunction (to_date ('01 / 01/2010 ', to_date('01/01/2010')));)

    I went with the Oracle error: ORA-06519: active autonomous transaction detected and restored

    I searched on the web, such Oracle error occurs when the function has a missing "COMMIT" or "ROLLBACK" command inside an autonomous_transaction. But the fact is that I have already included the "COMMIT"; in the function. I suspected that the error was caused by the paintings that I did against (such as int.facility and int.capacity) were all the views which belonged to another schema called int. Or is it something that miss me in the service? Thank you for your time and your help.

    Kind regards
    John

    This isn't how a ref cursor is used in general. See this thread: {: identifier of the thread = 886365}

    I can't really answer your question without knowing what kind of client you are using (Java, c#, etc.).

    However, the thread should shed a lot of light on the ref Cursor.

  • ORA-07445 met - request 'Process transaction Interface' running

    Hello

    We get ORA-07445 errors in database alert log whenever we run application "process transaction Interface.

    The transaction of the process interface is the request of parent requests the child 'Inventory transaction worker' spawning, this application is also out error.

    Here is the output of the request log:


    ----------------------------------------------------------------------------------------
    ---------------------------------------------------------------------------
    Inventory: Version: 11.5.0

    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.

    Module INCTCW: worker of the inventory transaction
    ---------------------------------------------------------------------------

    Current system time is February 9, 2010 10:47:05

    ---------------------------------------------------------------------------

    10:47:05: version upgrade
    10:47:05: isJrelease is 1
    10:47:05: table = 3
    APP-FND-01564: ORACLE error 3113 in inctcw

    Cause: inctcw failed due to the ORA-03113: end of file on communication channel
    .

    The SQL statement being executed at the time of the error was: and was executed from the file.
    Error ORACLE 3114 in AFPRSR-Resubmit_Time

    Cause: AFPRSR-Resubmit_Time failed due to the ORA-03114: not connected to ORACLE
    .

    The SQL statement being executed at the time of the error was: and was executed from the file.
    ORA-03114: not connected to ORACLE

    Systematic AFPPRD encountered an unrecoverable error. ORA-03114: not connected to ORACLE


    Contact your support representative or the system administrator.

    Shutting down competitor Manager: February 9, 2010 10:47:32
    ORA-01041: internal error. hostdef extension doesn't exist

    Error ORACLE 3114 in AFPRSR-Resubmit_Time

    Cause: AFPRSR-Resubmit_Time failed due to the ORA-03114: not connected to ORACLE
    .

    The SQL statement being executed at the time of the error was: and was executed from the file 5617365, fnd, lib, afpsr

    List of errors encountered:
    .............................................................................

    _ 1 _
    Systematic AFPCMT met an ORACLE error. ORA-01041: internal error.
    hostdef extension doesn't exist
    .

    Check your error messages for the cause of the error. (= < POINTER >)

    _ 2 _
    Systematic AFPPRD encountered an unrecoverable error. ORA-03114: not connected
    for ORACLE


    Contact your support representative or the system administrator.

    _ 3 _
    Systematic AFPPRD encountered an unrecoverable error. ORA-03114: not connected
    for ORACLE


    Contact your support representative or the system administrator.
    .............................................................................

    --------------------------------------------------------------------------------------------

    The alertlog output:


    [RA-07445: exception encountered: core dump [PC:0xFFFFFFFF7FFED1E0] [SIGSEGV] [ADDR:0xFFFFFFFF7FFED1E0] [PC:0xFFFFFFFF7FFED1E0] [invalid permissions for mapped object]]
    Incident details in: /db1/11g_home/diag/rdbms/diag/rdbms/clonenew/clonenew/incident/incdir_25270/clonenew_ora_20526_i25270.trc
    Kills Feb 09 10:35:14 2010
    Track of dumping performs id = [cdmp_20100209103514]
    Kills Feb 09 10:35:16 2010
    Sweep the Incident [25270]: completed
    Kills Feb 09 10:41:25 2010
    Exception [type: SIGSEGV, permissions not valid for the mapped object] [ADDR:0xFFFFFFFF7FFED1E0] [PC:0xFFFFFFFF7FFED1E0 {empty}]
    Errors in the /db1/11g_home/diag/rdbms/diag/rdbms/clonenew/clonenew/trace/clonenew_ora_21170.trc file (incident = 24814):
    [ORA-07445: exception encountered: core dump [PC:0xFFFFFFFF7FFED1E0] [SIGSEGV] [ADDR:0xFFFFFFFF7FFED1E0] [PC:0xFFFFFFFF7FFED1E0] [invalid permissions for mapped object]]
    Incident details in: /db1/11g_home/diag/rdbms/diag/rdbms/clonenew/clonenew/incident/incdir_24814/clonenew_ora_21170_i24814.trc
    Kills Feb 09 10:41:31 2010

    Need help on this issue.

    Thank you

    Hello

    See note technique- all competitors queries fail with ORA-03113 and database error ORA-07445 ID 945107.1

    Hope helps.

  • ORA-01466: unable to read data - table definition has changed

    We are hitting this issue while raising bound PB GRE application server service.

    Please can you indicate the exact cause & resolution to solve the problem of database.

    No workaround suggested solution for this issue of db oracle 11g?

    Thank you
    Smail

    PL post accurate OS and database versions. When this error is indicated? Are all servers in the same time zone? Otherwise, you can run into a bug

    Bug 6598432 - ORA-1466 of read only transaction when client / server in different time zones [6598432.8 ID]
    Bug 12948663 - ORA-1466 when a global temporary table, asked for a transaction READ ONLY [12948663.8 ID]

    HTH
    Srini

  • need help on the name of the column in double materialized view ORA-00957

    I have a query, long enough and several (8ways) joins.

    When I run it as a SQL query, it is fine.

    When I add create materialized, view myViewName it errors with
    ORA-00957: duplicate column name.

    How is there is no problem when executing the SQL statement, and how to fix this?

    Thank you.

    Hello

    Columns in a query do not need a unique name:

    SELECT     dummy
    ,     dummy
    FROM     dual;
    
    D D
    - -
    X X
    

    At least not in SQL * Plus; other front ends might oppose it.
    In previous versions of Oracle, subqueries (such as online views) does not need to have unique names, but you've got an error if you tried to reference a non-unique column (and it is unnecessary to have the column if never reference you).

    Columns in a table or a view need unique names:

    CREATE OR REPLACE VIEW view_x
    AS
    SELECT     dummy
    ,     dummy
    FROM     dual;
    
    ,     dummy
          *
    ERROR at line 4:
    ORA-00957: duplicate column name
    
  • CREATE THE ORA-00957 MATERIALIZED VIEW

    Hello

    I tried to use this query to create a MVIEW and I get an ORA-00957 (duplicate column name)

    select t.month
    ,t.year
    ,t.entity_code
    ,t.itemref_local
    ,t.qty
    ,t.revenue
    ,t.cogs
    ,t.ppv
    ,t.FD
    ,t.var_labor
    ,t.var_ovhd
    ,n.code entity_code
    ,n.name entity_name
    ,n.finance_responsible
    ,c.local_name
    ,c.emea_name
    ,c.segment
    ,c.country
    ,c.origin_entity
    ,c.icp_code
    ,c.type
    ,c.rmm
    ,c.sales_rep
    ,c.sales_leader
    ,c.emea_director
    ,c.nat_accounts
    ,o.code country_code
    ,o.NAME country_name
    ,o.REGION country_region
    ,e.ELIMINATED
    ,i.PART_NUMBER
    ,i.DESCRIPTION part_description
    ,i.PRODUCT_GROUP
    ,i.LINE
    ,i.CATEGORY
    ,i.FAMILY
    ,i.RANGE
    ,i.SUPPLIER
    ,i.PLM

    FROM hsce_transactions T
           , hsce_entity N
           , hsce_customers C
           , hsce_country O
           , hsce_elim E
           , HSCE_ITEMS I
           , HSCE_MAPPING M

    WHERE T.entity_code = N.code
         AND T.customer_code = C.customer_code
         AND C.ICP_CODE = E.ICP_CODE
         AND C.country = O.code
         AND T.ITEMREF_LOCAL = M.ITEM_REF
         and M.PART_NUMBER = I.PART_NUMBER
    Can someone point me to where I have gone wrong?

    Thank you
    Adam

    you have specified entity_code twice 1) as entity_code t.entity_code and n.code 2) second time you use as an alias for the n.code column

  • Error when updating group

    Hello! I have a big problem. I have a database that performs a daily fast refresh of 104 remote DBs. Everything worked well for something like 5 years! Now I have 20 DBs who during the refresh fail with this error:

    ORA-12012: error on auto work 54
    ORA-12048: error occurred while refreshing materialized view "MASSA". "" PROTO_ARC_PRAT_UFF ".
    ORA-04052: error occurred when searching to the top of the remote object prototype. ARC_PRAT_UFF@MASSA. SIPOL
    ORA-00604: an error has occurred at the SQL level recursive 3
    ORA-24757: duplicate transaction identifier
    ORA-02063: preceding line of MASSA
    ORA-06512: at "SYS." DBMS_SNAPSHOT", line 2251
    ORA-06512: at "SYS." DBMS_SNAPSHOT", line 2457
    ORA-06512: at "SYS." DBMS_IREFRESH', line 685
    ORA-06512: at "SYS." DBMS_REFRESH", line 195
    ORA-06512: at line 1

    I tried to look for explanations for these mistakes, but got nothing.

    I have Oracle 10.2.0.4 on windows server 2003 R2 64-bit local and remote. I have the error on 20 DBs because I think I have 20 concurrency, so there could be a link!

    Any help? Thank you!

    If you check MOS notes you will see that all the work around to g 11 databases, if cela PROD databases and need urgent action open SR with Oracle perhaps they will send Patch instead of upgrading

  • Get blocking detected when waiting for resource query error select...

    Hi all

    I get an error below each time that the execution of the select query below...

    a few times, it will show lock detected while you wait resource and finished...

    a few times, it runs and give the result...

    but all the time, he writes a journal to alert to the alert

    Plesae suggest how to solve the problem...

    Thanks in advance

    .

    Env: Linux / Oracle 11.2.0.3.3

    .

    .

    Alerts log error:

    Errors in the /u01/oracle/oracle/diag/rdbms/bdrdb/bdrdb/trace/bdrdb_p017_6076.trc file:

    ORA-00060: Deadlock detected while you wait resource

    ORA-10387: interruption of server a (normal) parallel query

    Trace file... information bdrdb_p017_6076.trc:

    Trace file /U01/Oracle/Oracle/diag/RDBMS/bdrdb/bdrdb/trace/bdrdb_p017_6076.TRC

    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    ORACLE_HOME = /u01/oracle/oracle/product/11.2.0/dbhome_1

    Name of the system: Linux

    Name of the node: bdrdb.cteplindia.com

    News Release: 2.6.18 - 308.el5PAE

    Version: #1 SMP kills Jan 27 17:40:09 EST 2012

    Machine: i686

    Instance name: bdrdb

    Redo thread mounted by this instance: 1

    Oracle process number: 92

    Unix process pid: 6076, image: [email protected] (P017)

    2013-11-04 23:18:57.915

    SESSION ID: (423.59970) 2013-11-04 23:18:57.915

    CUSTOMER ID :() 23:18:57.915 2013-11-04

    SERVICE NAME: (bdrdb) 2013-11-04 23:18:57.915

    MODULE NAME :() 23:18:57.915 2013-11-04

    ACTION NAME :() 23:18:57.915 2013-11-04

    .

    .

    2013-11-04 23:18:57.915

    DEADLOCK DETECTED (ORA-00060)

    .

    [Transaction blocking]

    Deadlock graph event:

    -Blockers - Waiter (s).

    Resource name process session held process session expected holds expected

    PS-00000001-00000011 92 423 S 33 128 S X

    BF-2ed08c01-00000000 33 128 S 92 423 S X

    session 423: C 005-0001-00081126 session 128: DONE 01/21/67 D 23

    session 128: MADE 21/01/67 D session 23 423: have you 0001-005 C-00081126

    DEADLOCK DETECTED (ORA-00060)

    [Transaction blocking]

    Deadlock graph event:

    -Blockers - Waiter (s).

    Resource name process session held process session expected holds expected

    PS-00000001-00000011 92 423 S 33 128 S X

    BF-2ed08c01-00000000 33 128 S 92 423 S X

    session 423: C 005-0001-00081126 session 128: DONE 01/21/67 D 23

    session 128: MADE 21/01/67 D session 23 423: have you 0001-005 C-00081126

    Expected number of lines:

    Session 423: no line

    Session 128: obj - rowid = 00021DC1 - AAAh3BAAVAAAQL/AAA

    (dictionary objn - 138689, file - 21, block - 66303, machine slot - 0)

    -Information for OTHER waiting sessions-

    Session 128:

    SID: 128 ser: 46176 audsid: 1836857 user: 102/DBLOCAL

    indicators: (0 x 8000041) USR /-flags_idl: (0 x 1) BSY /-/ - /-/ - / -.

    Flags2: (0 x 40009) - /-/ INC.

    PID: 33 info o/s: user: oracle, duration: UNKNOWN, ospid: 31611

    image: [email protected]

    Customer details:

    Info of the o/s: user: hidden, term: hidden, ospid: 5924:568

    machine: hidden program: Toad.exe

    application name: TOAD background query session, the hash value = 526966934

    SQL courses

    application name: TOAD background query session, the hash value = 526966934

    SQL courses

    SELECT DISTINCT B_FP_TEST. TEST_ID

    OF B_FP_TEST.

    B_USER_INFO,

    J_FP_INVESTIGATOR,

    L_TEST_STATUS,

    L_ATMS_TEST_TYPE,

    j_op_test_anml

    WHERE B_FP_TEST. TEST_ID = J_FP_INVESTIGATOR. TEST_ID

    AND B_FP_TEST. TEST_TYPE_ID = L_ATMS_TEST_TYPE. ATMS_TEST_TYPE_ID

    AND B_USER_INFO. B_USER_INFO_ID = J_FP_INVESTIGATOR. INVESTIGATOR_ID

    AND B_FP_TEST. BATCH = L_TEST_STATUS. BATCH

    AND B_FP_TEST.IS_DELETED =: "SYS_B_00."

    AND B_FP_TEST. TEST_NUM NOT IN (: 'SYS_B_01,': 'SYS_B_02': 'SYS_B_03')

    AND L_ATMS_TEST_TYPE.IS_DELETED =: "SYS_B_04."

    AND J_FP_INVESTIGATOR.is_pi =: "SYS_B_05."

    AND L_TEST_STATUS. STATUS (: 'SYS_B_06': 'SYS_B_07': 'SYS_B_08')

    AND j_op_test_anml.test_id = B_FP_TEST. TEST_ID

    .

    .

    -End of information for OTHER waiting sessions-

    .

    .

    2013-11-04 23:18:57.916

    dbkedDefDump(): from a dump of diagnosis non-event (flags = 0 x 0, level = 3, mask = 0 x 0)

    -Error stack dump-

    ORA-00060: Deadlock detected while you wait resource

    ORA-10387: interruption of server a (normal) parallel query

    -SQL statement (none).

    Run SQL information not available - no cursor.

    -Call trace stack memory-

    call call entered the argument values in hex

    location point type (? means dubious value)

    More...

    .

    .

    .

    .

    Query:

    SELECT DISTINCT B_FP_TEST. TEST_ID

    OF B_FP_TEST.

    B_USER_INFO,

    J_FP_INVESTIGATOR,

    L_TEST_STATUS,

    L_ATMS_TEST_TYPE,

    j_op_test_anml

    WHERE B_FP_TEST. TEST_ID = J_FP_INVESTIGATOR. TEST_ID

    AND B_FP_TEST. TEST_TYPE_ID = L_ATMS_TEST_TYPE. ATMS_TEST_TYPE_ID

    AND B_USER_INFO. B_USER_INFO_ID = J_FP_INVESTIGATOR. INVESTIGATOR_ID

    AND B_FP_TEST. BATCH = L_TEST_STATUS. BATCH

    AND B_FP_TEST.IS_DELETED = 0

    AND B_FP_TEST. TEST_NUM NOT IN (1, 2, 99)

    AND L_ATMS_TEST_TYPE.IS_DELETED = 0

    AND J_FP_INVESTIGATOR.is_pi = 1

    AND L_TEST_STATUS. STATUS ('regular', 'In progress', 'completed')

    AND j_op_test_anml.test_id = B_FP_TEST. TEST_ID

    AND ((j_op_test_anml.end_date ENTRE TO_DATE (28 octobre 2013 ") - 1))

    AND TO_DATE (4 November 2013 ') + 1).

    OR (j_op_test_anml.start_date BETWEEN TO_DATE (28 October 2013 "") - 1).

    AND TO_DATE (4 November 2013 ') + 1).

    OR (TO_DATE (28 October 2013') BETWEEN j_op_test_anml.start_date)

    AND j_op_test_anml.end_date)

    OR (TO_DATE (4 November 2013") BETWEEN j_op_test_anml.start_date)

    (AND j_op_test_anml.end_date))

    AND L_ATMS_TEST_TYPE.IS_DELETED = 0

    AND B_FP_TEST. DATASOURCE_ID = 9

    .

    .

    .

    Exp query plan:

    Hash value of plan: 3398228788

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    | ID | Operation                                          | Name                | Lines | Bytes | Cost (% CPU). Time | Pstart. Pstop |    TQ | IN-OUT | PQ Distrib.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |                     |  1501 |   102K |  1929 (1) | 00:00:24 |       |       |        |      |            |

    |   1.  HASH UNIQUE                                       |                     |  1501 |   102K |  1929 (1) | 00:00:24 |       |       |        |      |            |

    |   2.   CONCATENATION.                     |       |       |            |          |       |       |        |      |            |

    |   3.    COORDINATOR OF PX |                     |       |       |            |          |       |       |        |      |            |

    |   4.     PX SEND QC (RANDOM). : TQ30005 |   241. 16870 |   800 (1) | 00:00:10 |       |       |  Q3, 05 | P > S | QC (RAND) |

    |*  5 |      HASH JOIN                                     |                     |   241. 16870 |   800 (1) | 00:00:10 |       |       |  Q3, 05 | SVCP |            |

    |   8 2       PX RECEIVE                                   |                     |   246. 15990.   797 (1) | 00:00:10 |       |       |  Q3, 05 | SVCP |            |

    |   7.        PX SEND HASH | : TQ30004 |   246. 15990.   797 (1) | 00:00:10 |       |       |  Q3, 04 | P > P | HASH |

    |*  8 |         HASH JOIN                                  |                     |   246. 15990.   797 (1) | 00:00:10 |       |       |  Q3, 04 | SVCP |            |

    |   9.          RECEIVE PX |                     |   573. 29223 |   793 (1) | 00:00:10 |       |       |  Q3, 04 | SVCP |            |

    |  10.           PX SEND HASH | : TQ30003 |   573. 29223 |   793 (1) | 00:00:10 |       |       |  Q3, 03 | P > P | HASH |

    | * 11 |            HASH JOIN                               |                     |   573. 29223 |   793 (1) | 00:00:10 |       |       |  Q3, 03 | SVCP |            |

    |  12.             KIND OF BUFFER.                     |       |       |            |          |       |       |  Q3, 03 | ISSUE |            |

    |  13.              RECEIVE PX |                     |       |       |            |          |       |       |  Q3, 03 | SVCP |            |

    |  14.               PX SEND BROADCAST | : TQ30000 |       |       |            |          |       |       |        | S > P | BROADCAST |

    |  15.                NESTED LOOPS |                     |       |       |            |          |       |       |        |      |            |

    |  16.                 NESTED LOOPS |                     |   485. 20855 |   781 (0) | 00:00:10 |       |       |        |      |            |

    |  17.                  TABLE ACCESS BY INDEX ROWID | J_OP_TEST_ANML |   485. 10185 |   296 (0) | 00:00:04 | ROWID | ROWID |        |      |            |

    | * 18.                   INDEX RANGE SCAN | IDX$ $_2D190001 |   485.       |     4 (0) | 00:00:01 |       |       |        |      |            |

    | * 19.                  INDEX UNIQUE SCAN | FT_TEST_ID_PK |     1.       |     0 (0) | 00:00:01 |       |       |        |      |            |

    | * 20.                 TABLE ACCESS BY INDEX ROWID | B_FP_TEST |     1.    22.     1 (0) | 00:00:01 | ROWID | ROWID |        |      |            |

    |  21.             ITERATOR BLOCK PX |                     | 70382 |   549KO |    11 (0) | 00:00:01 |       |       |  Q3, 03 | ISSUE |            |

    | * 22.              TABLE ACCESS FULL | J_FP_INVESTIGATOR | 70382 |   549KO |    11 (0) | 00:00:01 |       |       |  Q3, 03 | SVCP |            |

    |  23.          KIND OF BUFFER.                     |       |       |            |          |       |       |  Q3, 04 | ISSUE |            |

    |  24.           RECEIVE PX |                     |     3.    42.     3 (0) | 00:00:01 |       |       |  Q3, 04 | SVCP |            |

    |  25.            PX SEND HASH | : TQ30001 |     3.    42.     3 (0) | 00:00:01 |       |       |        | S > P | HASH |

    | * 26.             TABLE ACCESS FULL | L_TEST_STATUS |     3.    42.     3 (0) | 00:00:01 |       |       |        |      |            |

    |  27.       KIND OF BUFFER.                     |       |       |            |          |       |       |  Q3, 05 | ISSUE |            |

    |  28.        PX RECEIVE                                  |                     |    30.   150.     3 (0) | 00:00:01 |       |       |  Q3, 05 | SVCP |            |

    |  29.         PX SEND HASH | : TQ30002 |    30.   150.     3 (0) | 00:00:01 |       |       |        | S > P | HASH |

    | * 30 |          TABLE ACCESS FULL | L_ATMS_TEST_TYPE |    30.   150.     3 (0) | 00:00:01 |       |       |        |      |            |

    |  31.    NESTED LOOPS |                     |       |       |            |          |       |       |        |      |            |

    |  32.     NESTED LOOPS |                     |     3.   210 |   329 (1) | 00:00:04 |       |       |        |      |            |

    |  33.      NESTED LOOPS |                     |     3.   195.   329 (1) | 00:00:04 |       |       |        |      |            |

    | * 34 |       HASH JOIN                                    |                     |     2.   114.   325 (1) | 00:00:04 |       |       |        |      |            |

    |  35.        NESTED LOOPS |                     |       |       |            |          |       |       |        |      |            |

    |  36.         NESTED LOOPS |                     |     6.   258.   322 (1) | 00:00:04 |       |       |        |      |            |

    |  37.          RANGE OF SINGLE PARTITION |                     |     6.   126.   316 (1) | 00:00:04 |     7.     7.        |      |            |

    | * 38 |           TABLE ACCESS FULL | J_OP_TEST_ANML |     6.   126.   316 (1) | 00:00:04 |     7.     7.        |      |            |

    | * 39 |          INDEX UNIQUE SCAN | FT_TEST_ID_PK |     1.       |     0 (0) | 00:00:01 |       |       |        |      |            |

    | * 40 |         TABLE ACCESS BY INDEX ROWID | B_FP_TEST |     1.    22.     1 (0) | 00:00:01 | ROWID | ROWID |        |      |            |

    | * 41.        TABLE ACCESS FULL | L_TEST_STATUS |     3.    42.     3 (0) | 00:00:01 |       |       |        |      |            |

    | * 42 |       TABLE ACCESS BY INDEX ROWID | J_FP_INVESTIGATOR |     1.     8.     2 (0) | 00:00:01 |       |       |        |      |            |

    | * 43.        INDEX RANGE SCAN | FI_TEST_ID_PK |     1.       |     1 (0) | 00:00:01 |       |       |        |      |            |

    | * 44 |      INDEX UNIQUE SCAN | L_ATMS_TEST_TYPE_PK |     1.       |     0 (0) | 00:00:01 |       |       |        |      |            |

    | * 45 |     TABLE ACCESS BY INDEX ROWID | L_ATMS_TEST_TYPE |     1.     5.     1 (0) | 00:00:01 |       |       |        |      |            |

    |  46.    COORDINATOR OF PX |                     |       |       |            |          |       |       |        |      |            |

    |  47.     PX SEND QC (RANDOM). : TQ20003 |       |       |            |          |       |       |  Q2, 03 | P > S | QC (RAND) |

    |  48.      NESTED LOOPS |                     |       |       |            |          |       |       |  Q2, 03 | SVCP |            |

    |  49.       NESTED LOOPS |                     |    33.  2310 |   399 (2) | 00:00:05 |       |       |  Q2, 03 | SVCP |            |

    | * 50 |        HASH JOIN                                   |                     |    33.  2145.   397 (2) | 00:00:05 |       |       |  Q2, 03 | SVCP |            |

    |  51.         RECEIVE PX |                     |    78.  3978 |   393 (1) | 00:00:05 |       |       |  Q2, 03 | SVCP |            |

    |  52.          PX SEND HASH | : TQ20002 |    78.  3978 |   393 (1) | 00:00:05 |       |       |  Q2, 02 | P > P | HASH |

    | * 53 |           HASH JOIN                                |                     |    78.  3978 |   393 (1) | 00:00:05 |       |       |  Q2, 02 | SVCP |            |

    |  54.            KIND OF BUFFER.                     |       |       |            |          |       |       |  Q2, 02 | ISSUE |            |

    |  55.             RECEIVE PX |                     |       |       |            |          |       |       |  Q2, 02 | SVCP |            |

    |  86 M |              PX SEND BROADCAST | : TQ20000 |       |       |            |          |       |       |        | S > P | BROADCAST |

    |  57.               NESTED LOOPS |                     |       |       |            |          |       |       |        |      |            |

    |  58.                NESTED LOOPS |                     |    66.  2838 |   382 (1) | 00:00:05 |       |       |        |      |            |

    |  59.                 RANGE OF SINGLE PARTITION |                     |    66.  1386 |   316 (1) | 00:00:04 |     7.     7.        |      |            |

    | * 60 |                  TABLE ACCESS FULL | J_OP_TEST_ANML |    66.  1386 |   316 (1) | 00:00:04 |     7.     7.        |      |            |

    | * 61.                 INDEX UNIQUE SCAN | FT_TEST_ID_PK |     1.       |     0 (0) | 00:00:01 |       |       |        |      |            |

    | * 62 |                TABLE ACCESS BY INDEX ROWID | B_FP_TEST |     1.    22.     1 (0) | 00:00:01 | ROWID | ROWID |        |      |            |

    |  63.            ITERATOR BLOCK PX |                     | 70382 |   549KO |    11 (0) | 00:00:01 |       |       |  Q2, 02 | ISSUE |            |

    | * 64 |             TABLE ACCESS FULL | J_FP_INVESTIGATOR | 70382 |   549KO |    11 (0) | 00:00:01 |       |       |  Q2, 02 | SVCP |            |

    |  65.         KIND OF BUFFER.                     |       |       |            |          |       |       |  Q2, 03 | ISSUE |            |

    |  66.          RECEIVE PX |                     |     3.    42.     3 (0) | 00:00:01 |       |       |  Q2, 03 | SVCP |            |

    |  67.           PX SEND HASH | : TQ20001 |     3.    42.     3 (0) | 00:00:01 |       |       |        | S > P | HASH |

    | * 68 |            TABLE ACCESS FULL | L_TEST_STATUS |     3.    42.     3 (0) | 00:00:01 |       |       |        |      |            |

    | * 69 |        INDEX UNIQUE SCAN | L_ATMS_TEST_TYPE_PK |     1.       |     0 (0) | 00:00:01 |       |       |  Q2, 03 | SVCP |            |

    | * 70 |       TABLE ACCESS BY INDEX ROWID | L_ATMS_TEST_TYPE |     1.     5.     1 (0) | 00:00:01 |       |       |  Q2, 03 | SVCP |            |

    |  71.    COORDINATOR OF PX |                     |       |       |            |          |       |       |        |      |            |

    |  72.     PX SEND QC (RANDOM). : TQ10003 |       |       |            |          |       |       |  Q1, 03 | P > S | QC (RAND) |

    |  73.      NESTED LOOPS |                     |       |       |            |          |       |       |  Q1, 03 | SVCP |            |

    |  74.       NESTED LOOPS |                     |    33.  2310 |   399 (2) | 00:00:05 |       |       |  Q1, 03 | SVCP |            |

    | * 75 |        HASH JOIN                                   |                     |    34.  2210 |   397 (2) | 00:00:05 |       |       |  Q1, 03 | SVCP |            |

    |  76.         RECEIVE PX |                     |    78.  3978 |   393 (1) | 00:00:05 |       |       |  Q1, 03 | SVCP |            |

    |  77.          PX SEND HASH | : TQ10002 |    78.  3978 |   393 (1) | 00:00:05 |       |       |  Q1, 02 | P > P | HASH |

    | * 78 |           HASH JOIN                                |                     |    78.  3978 |   393 (1) | 00:00:05 |       |       |  Q1, 02 | SVCP |            |

    |  79.            KIND OF BUFFER.                     |       |       |            |          |       |       |  Q1, 02 | ISSUE |            |

    |  80.             RECEIVE PX |                     |       |       |            |          |       |       |  Q1, 02 | SVCP |            |

    |  81.              PX SEND BROADCAST | : TQ10000 |       |       |            |          |       |       |        | S > P | BROADCAST |

    |  82.               NESTED LOOPS |                     |       |       |            |          |       |       |        |      |            |

    |  83.                NESTED LOOPS |                     |    66.  2838 |   382 (1) | 00:00:05 |       |       |        |      |            |

    |  84.                 RANGE OF SINGLE PARTITION |                     |    66.  1386 |   316 (1) | 00:00:04 |     7.     7.        |      |            |

    | * 85 |                  TABLE ACCESS FULL | J_OP_TEST_ANML |    66.  1386 |   316 (1) | 00:00:04 |     7.     7.        |      |            |

    | * 86 |                 INDEX UNIQUE SCAN | FT_TEST_ID_PK |     1.       |     0 (0) | 00:00:01 |       |       |        |      |            |

    | * 87.                TABLE ACCESS BY INDEX ROWID | B_FP_TEST |     1.    22.     1 (0) | 00:00:01 | ROWID | ROWID |        |      |            |

    |  88.            ITERATOR BLOCK PX |                     | 70382 |   549KO |    11 (0) | 00:00:01 |       |       |  Q1, 02 | ISSUE |            |

    | * 89 |             TABLE ACCESS FULL | J_FP_INVESTIGATOR | 70382 |   549KO |    11 (0) | 00:00:01 |       |       |  Q1, 02 | SVCP |            |

    |  90.         KIND OF BUFFER.                     |       |       |            |          |       |       |  Q1, 03 | ISSUE |            |

    |  91.          RECEIVE PX |                     |     5:    42.     3 (0) | 00:00:01 |       |       |  Q1, 03 | SVCP |            |

    |  92.           PX SEND HASH | : TQ10001 |     5:    42.     3 (0) | 00:00:01 |       |       |        | S > P | HASH |

    | * 93 |            TABLE ACCESS FULL | L_TEST_STATUS |     5:    42.     3 (0) | 00:00:01 |       |       |        |      |            |

    | * 94 |        INDEX UNIQUE SCAN | L_ATMS_TEST_TYPE_PK |     1.       |     0 (0) | 00:00:01 |       |       |  Q1, 03 | SVCP |            |

    | * 95 |       TABLE ACCESS BY INDEX ROWID | L_ATMS_TEST_TYPE |     1.     3:     1 (0) | 00:00:01 |       |       |  Q1, 03 | SVCP |            |

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    5 - access("B_FP_TEST".") TEST_TYPE_ID "=" L_ATMS_TEST_TYPE. " ("' ATMS_TEST_TYPE_ID")

    8 - access("B_FP_TEST".") BATCH "=" L_TEST_STATUS. " ("' BATCH ')

    11 - access("B_FP_TEST".") TEST_ID "=" J_FP_INVESTIGATOR. " ("' TEST_ID")

    18 - access("J_OP_TEST_ANML".") Start_date"> = TO_DATE(' 2013-10-27 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND"J_OP_TEST_ANML. " "" Start_date "< = TO_DATE (' 2013-11-05)

    00:00:00 ', "syyyy-mm-dd hh24:mi:ss"))

    19 - access("J_OP_TEST_ANML".") TEST_ID "=" B_FP_TEST. " ("' TEST_ID")

    20 - filter("B_FP_TEST".") DATASOURCE_ID '= 9 AND 'B_FP_TEST'." ' IS_DELETED '= 0 AND 'B_FP_TEST'.' <>TEST_NUM ' 1 AND 'B_FP_TEST '. "" TEST_NUM "<>2 AND

    'B_FP_TEST '. ("' TEST_NUM" <>99)

    22 - filter("J_FP_INVESTIGATOR".") IS_PI "= 1)

    26 - filter("L_TEST_STATUS".") STATUS "="Finished"OR"L_TEST_STATUS"". "" STATUS '= 'In progress' OR 'L_TEST_STATUS'." STATUS "="Regular")"

    30 - filter("L_ATMS_TEST_TYPE".") IS_DELETED "= 0)

    34 - access("B_FP_TEST".") BATCH "=" L_TEST_STATUS. " ("' BATCH ')

    38 - filter("J_OP_TEST_ANML".") End_date"> = TO_DATE(' 2013-10-27 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND"J_OP_TEST_ANML. " "' End_date ' < = TO_DATE (' 2013-11-05)

    00:00:00 ', "syyyy-mm-dd hh24:mi:ss") AND (LNNVL ("J_OP_TEST_ANML". "Start_date" > = TO_DATE (' 2013-10-27 00:00:00 ',' syyyy-mm-dd hh24:mi:ss')) OR) "

    LNNVL ("J_OP_TEST_ANML". "Start_date" < = TO_DATE (' 2013-11-05 00:00:00 ',' syyyy-mm-dd hh24:mi:ss')))) "

    39 - access("J_OP_TEST_ANML".") TEST_ID "=" B_FP_TEST. " ("' TEST_ID")

    40 - filter("B_FP_TEST".") DATASOURCE_ID '= 9 AND 'B_FP_TEST'." ' IS_DELETED '= 0 AND 'B_FP_TEST'.' <>TEST_NUM ' 1 AND 'B_FP_TEST '. "" TEST_NUM "<>2 AND

    'B_FP_TEST '. ("' TEST_NUM" <>99)

    41 - filter("L_TEST_STATUS".") STATUS "="Finished"OR"L_TEST_STATUS"". "" STATUS '= 'In progress' OR 'L_TEST_STATUS'." STATUS "="Regular")"

    42 - filter("J_FP_INVESTIGATOR".") IS_PI "= 1)

    43 - access("B_FP_TEST".") TEST_ID "=" J_FP_INVESTIGATOR. " ("' TEST_ID")

    44 - access("B_FP_TEST".") TEST_TYPE_ID "=" L_ATMS_TEST_TYPE. " ("' ATMS_TEST_TYPE_ID")

    45 - filter("L_ATMS_TEST_TYPE".") IS_DELETED "= 0)

    50 - access("B_FP_TEST".") BATCH "=" L_TEST_STATUS. " ("' BATCH ')

    53 - access("B_FP_TEST".") TEST_ID "=" J_FP_INVESTIGATOR. " ("' TEST_ID")

    60 - filter("J_OP_TEST_ANML".") End_date"> = TO_DATE(' 2013-11-04 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND"J_OP_TEST_ANML. " "" Start_date "< = TO_DATE (' 2013-11-04)

    00:00:00 ', "syyyy-mm-dd hh24:mi:ss") AND (LNNVL ("J_OP_TEST_ANML". "End_date" > = TO_DATE (' 2013-10-27 00:00:00 ',' syyyy-mm-dd hh24:mi:ss')) OR) "

    LNNVL ("J_OP_TEST_ANML". "End_date" < = TO_DATE (' 2013-11-05 00:00:00 ',' syyyy-mm-dd hh24:mi:ss'))) AND (LNNVL ("J_OP_TEST_ANML".) " Start_date"> = TO_DATE (' 2013-10-27)

    00:00:00 ', "syyyy-mm-dd hh24:mi:ss")) or LNNVL("J_OP_TEST_ANML".") Start_date"< = TO_DATE (' 2013-11-05 00:00:00 ',' syyyy-mm-dd hh24:mi:ss'))))

    61 - access("J_OP_TEST_ANML".") TEST_ID "=" B_FP_TEST. " ("' TEST_ID")

    62 - filter("B_FP_TEST".") DATASOURCE_ID '= 9 AND 'B_FP_TEST'." ' IS_DELETED '= 0 AND 'B_FP_TEST'.' <>TEST_NUM ' 1 AND 'B_FP_TEST '. "" TEST_NUM "<>2 AND

    'B_FP_TEST '. ("' TEST_NUM" <>99)

    64 - filter("J_FP_INVESTIGATOR".") IS_PI "= 1)

    68 - filter("L_TEST_STATUS".") STATUS "="Finished"OR"L_TEST_STATUS"". "" STATUS '= 'In progress' OR 'L_TEST_STATUS'." STATUS "="Regular")"

    69 - access("B_FP_TEST".") TEST_TYPE_ID "=" L_ATMS_TEST_TYPE. " ("' ATMS_TEST_TYPE_ID")

    70 - filter("L_ATMS_TEST_TYPE".") IS_DELETED "= 0)

    75 - access("B_FP_TEST".") BATCH "=" L_TEST_STATUS. " ("' BATCH ')

    78 - access("B_FP_TEST".") TEST_ID "=" J_FP_INVESTIGATOR. " ("' TEST_ID")

    85 - filter("J_OP_TEST_ANML".") End_date"> = TO_DATE(' 2013-10-28 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND"J_OP_TEST_ANML. " "" Start_date "< = TO_DATE (' 2013-10-28)

    00:00:00 ', "syyyy-mm-dd hh24:mi:ss") AND (LNNVL ("J_OP_TEST_ANML". "End_date" > = TO_DATE (' 2013-11-04 00:00:00 ',' syyyy-mm-dd hh24:mi:ss')) OR) "

    LNNVL ("J_OP_TEST_ANML". "Start_date" < = TO_DATE (' 2013-11-04 00:00:00 ',' syyyy-mm-dd hh24:mi:ss'))) AND (LNNVL ("J_OP_TEST_ANML".) " End_date"> = TO_DATE (' 2013-10-27)

    00:00:00 ', "syyyy-mm-dd hh24:mi:ss")) or LNNVL("J_OP_TEST_ANML".") End_date"< = TO_DATE (' 2013-11-05 00:00:00 ',' syyyy-mm-dd hh24:mi:ss'))) AND)

    (LNNVL ("J_OP_TEST_ANML". "Start_date" > = TO_DATE (' 2013-10-27 00:00:00 ',' syyyy-mm-dd hh24:mi:ss')) or LNNVL ("J_OP_TEST_ANML".) " Start_date"< = TO_DATE (' 2013-11-05)

    00:00:00 ', "syyyy-mm-dd hh24:mi:ss")))

    86 - access("J_OP_TEST_ANML".") TEST_ID "=" B_FP_TEST. " ("' TEST_ID")

    87 - filter("B_FP_TEST".") DATASOURCE_ID '= 9 AND 'B_FP_TEST'." ' IS_DELETED '= 0 AND 'B_FP_TEST'.' <>TEST_NUM ' 1 AND 'B_FP_TEST '. "" TEST_NUM "<>2 AND

    'B_FP_TEST '. ("' TEST_NUM" <>99)

    89 - filter("J_FP_INVESTIGATOR".") IS_PI "= 1)

    93 - filter("L_TEST_STATUS".") STATUS "="Finished"OR"L_TEST_STATUS"". "" STATUS '= 'In progress' OR 'L_TEST_STATUS'." STATUS "="Regular")"

    94 - access("B_FP_TEST".") TEST_TYPE_ID "=" L_ATMS_TEST_TYPE. " ("' ATMS_TEST_TYPE_ID")

    95 - filter("L_ATMS_TEST_TYPE".") IS_DELETED "= 0)

    aanto wrote:

    Thanks for the update... but if we perform also using Toad... showing the same error...

    Thanks for this update, but it does not change the reality.

    If it hurts when you push you in the eyes, the only way to stop the pain should stop poking you in the eye.

    Oracle is not related ORA-00060 just to make life more difficult.

    ORA-000600 is thrown when a deadlock between two session is detected. PERIOD!

    The order in which the DML is run needs to change.

  • Create table error

    Hello
    I get an error like this.

    create the table asgnd_agent_bak as (select * from ASGND_AGENT s, YVERT)
    where
    a.CNTCT_KEY = s.CNTCT_KEY and a.SCN_NUM = s.SCN_NUM
    and a.ACTVTY_DT = to_date (' 03/17/2013 ',' mm/dd/yyyy')
    and s.SCN_OPEN_DT = to_date (' 03/15/2013 ',' mm/dd/yyyy')
    "and a.SRC_SYS_DESC ="FACET");
    create the table asgnd_agent_bak as (select * from ASGND_AGENT s, YVERT)
    *
    ERROR on line 1:
    ORA-00957: duplicate column name

    Please notify

    Kind regards
    Narayan

    user7202581 wrote:

    create table asgnd_agent_bak as (Select * from ASGND_AGENT a, SCN s
    where
    a.CNTCT_KEY = s.CNTCT_KEY and a.SCN_NUM=s.SCN_NUM
    and a.ACTVTY_DT = to_date('03/17/2013','mm/dd/yyyy')
    and s.SCN_OPEN_DT = to_date('03/15/2013','mm/dd/yyyy')
    and a.SRC_SYS_DESC = 'FACET');
    create table asgnd_agent_bak as (Select * from ASGND_AGENT a, SCN s
    *
    ERROR at line 1:
    ORA-00957: duplicate column name
    

    This is because your definition includes duplicate column names: I can see them.
    Your selection includes a.CNTCT_KEY, s.CNTCT_KEY, a.SCN_NUM and s.SCN_NUM.
    You need to show the columns you want, specicfying one only one of each pair.

    Concerning
    Jonathan Lewis

  • FRM 40508: cannot insert records

    Hello

    I get this error FRM 40508 in inserting data in any table through form 11 g.
    for example:

    my test table with two columns: id and name

    I wrote a simple insert statement
    Insert test values (: id,: name);
    commit;

    When I run the application and insert values, it displays the error above.

    When I use the errors in the display, it shows that there is violation: ora - 00001 (duplicates)
    However, there is no such value in the database.

    The same scenario is repeated with each painting I have. Help, please!

    Hello

    I was thinking the same thing as Andreas

    Why do you insert yourself when shape does it automatically. You use manual Insertion when you can't do by using the automatic feature of forms.

    Concerning
    SANAE

  • The number of nodes of BPEL table + xpath

    Hello

    Try to get the size or the number of the group to the node, but get the error of selection, an idea?

    below variableentree date node < ns1:error > is table and I use the xpath query,
    County (bpws:getVariableData('outputVariable','payload','/ns1:transaction/ns1:exceptions[1]/ns1:error[1]')) to count the number of nodes of the error, but get selection error

    < status = taskId 'dia' = '1' txnPriority = '1' >
    < ns1:txnIdentification >
    DG of < ns1:txnId > < / ns1:txnId >
    DG of < ns1:instanceId > < / ns1:instanceId >
    DG of < ns1:processName > < / ns1:processName >
    DG of < ns1:branchCode > < / ns1:branchCode >
    Hg < ns1:moduleCode > < / ns1:moduleCode >
    godu < ns1:currentUser > < / ns1:currentUser >
    Hg < ns1:txnComment > < / ns1:txnComment >
    < ns1:stage >: < / ns1:stage >
    Lisette < ns1:taskOutcome > < / ns1:taskOutcome >
    Hg < ns1:operation > < / ns1:operation >
    < ns1:realm > gh < / ns1:realm >
    < / ns1:txnIdentification >
    < ns1:transactionData >
    Lisette < ns1:moduleData > < / ns1:moduleData >
    < / ns1:transactionData >
    < ns1:exceptions >
    < ns1:error >
    < ns1:ecode > 1 < / ns1:ecode >
    < ns1:etype > 1 < / ns1:etype >
    < ns1:edesc > 1 < / ns1:edesc >
    < / ns1:error >
    < ns1:error >
    < ns1:ecode > 1 < / ns1:ecode >
    < ns1:etype > 1 < / ns1:etype >
    < ns1:edesc > 1 < / ns1:edesc >
    < / ns1:error >
    < / ns1:exceptions >
    < ns1:txnAuditDetails >

    Thank you
    < ns1:prevRemarks > fg < / ns1:prevRemarks >
    < ns1:currRemarks > fg < / ns1:currRemarks >

    Ora:countNodes('outputVariable','payload','/ns1:transaction/ns1:exceptions/ns1:error)

    use the expression in the expression builder above and assign to the variable on the right side...

    Thank you
    N

  • Error Oracle while trying to download data

    Hello

    I am a newbie at Apex and I use Apex 3.2 on Oracle 11 g (Enterprise Edition).

    In an application that is imported, when I try to download a data, I get the following error:

    ORA-06550: line 1, column 62: PL/SQL: ORA-00957: name of column in double ORA-06550: line 1, column 7: PL/SQL: statement ignored
    Error failed to process row in the REPOS_SERVERS table.

    Can someone help me where I need to make changes, if necessary.
    Thanks in advance.

    Concerning
    Sharath

    It appears that two (or more) elements use the same database column name.

    For example:

    SQL> insert into dept (deptno, dname, dname)
      2    values
      3    (99, 'Little', 'Foot');
    insert into dept (deptno, dname, dname)
                              *
    ERROR at line 1:
    ORA-00957: duplicate column name
    
    SQL>
    

    As you can see, my insert statement contains two columsn DNAME and Oracle don't know who is who - if she is complaining about this.

    Check the properties of the elements.

  • How to access the variable JoinColumn directly in an entity.

    I have the below two entities with relationship @OneToMany between them,

    Employee
    @Entity
    @Table (name = "EMPLOYEE")
    public class employee {}
    @Id
    int employe_id;
    String employee_name;

    I can uncomment this?
    int emp_department_id;

    @ManyToOne
    @JoinColumn (name = "emp_department_id")
    Department;
    }

    Department
    @Entity
    @Table (name = "DEPARTMENT")
    public class {Department
    @Id
    department_id int;
    String department_name;
    @OneToMany (mappedBy = "department")
    The value < employee > employeesSet;
    }

    I only want to make persistent employee since I already have the data of the Ministry in Db,

    * 1.purpose, if I Uncomment emp_department_id and try to do that, *.

    Employee e1 = new Employee();
    E1.employee_id = 1;
    E1.Employee_Name = "Employee1";
    E1.emp_department_id = 1;

    I get,
    Inner exception: java.sql.SQLException: ORA-00957: duplicate column name
    Error code: 957
    Call: INSERT IN EMPLOYEE3 (EMPLOYEE_NAME, employe_id, EMP_DEPARTMENT_ID, emp_department_id) VALUES (?,?,?,?)
    link = > [bound 4 parameters]

    * 2. Instead, I have to do something like that, *.

    Department d = new Department();
    1 = d.department_id;
    d.department_name = "Engineering";

    Employee e1 = new Employee();
    E1.employee_id = 1;
    E1.Employee_Name = "Employee1";
    E1. Department = d;

    Is there a way to uncomment Employee.emp_department_id and insert data about employees using PT. 1 ???

    The correct method is to define the ManyToOne and set it to the appropriate Department. You can use find() or getReference() to get the service object with the ID.

    If you want to have a base for both Id mapping, then you must use the same column name.

    @JoinColumn (name = "emp_department_id")

    should be,

    @JoinColumn (name = "EMP_DEPARTMENT_ID")

    But since you have two mappings for the same column, you must set one of them write,

    @JoinColumn (name = "EMP_DEPARTMENT_ID", insertable = false, updatable = false)

    Or you could remove the ManyToOne and have just the base.

    ----
    James: http://www.eclipse.org/eclipselink/

    Published by: jsutherl on 7 Sep 2011 06:57

  • How to create Table View with even a column name but another Table?

    Hi all

    I have the problem to create a tableview with the same column name, but in the other table.

    Table I: -.

    Table - PAC051MPROFORMA

    Column - MNR, visitid

    Table - PAC051TPROFORMA
    Column - MNR, visitid

    Table - PAC052MTRANSBILL
    Column - MNR, visitid

    Then, I want to create a table for this table. It comes to my SQL

    Pacviewproforma CREATE VIEW (MNR, visitid, MNR, visitid, MNR, visitid)

    Like some PAC051MPROFORMA.mrn, PAC051MPROFORMA.visitid, PAC051TPROFORMA.mrn, PAC051TPROFORMA.visitid, PAC052MTRANSBILL.mrn, PAC052MTRANSBILL.visitid

    where

    * (a.PAC051MPROFORMA.mrn = PAC051TPROFORMA.mrn) *.
    and
    * (a.PAC051TPROFORMA.mrn = PAC052TRANSBILL.mrn) *.

    SQL return this error ORA-00957 =: duplicate column name

    Can I change this SQL for

    Pacviewproforma CREATE VIEW (MNR, visitid)

    Like some PAC051MPROFORMA.mrn, PAC051MPROFORMA.visitid, PAC051TPROFORMA.mrn, PAC051TPROFORMA.visitid, PAC052MTRANSBILL.mrn, PAC052MTRANSBILL.visitid

    where

    * (a.PAC051MPROFORMA.mrn = PAC051TPROFORMA.mrn) *.
    and
    * (a.PAC051TPROFORMA.mrn = PAC052TRANSBILL.mrn) *.
    This time this error return = ORA-01730: number of column names specified invalid

    What should I do?

    Thank you...

    Hello

    SQL> CREATE VIEW pacviewproforma (mrn,visitid,mrn,visitid,mrn,visitid)
      2  As Select
      3  PAC051MPROFORMA.mrn,
      4  PAC051MPROFORMA.visitid,
      5  PAC051TPROFORMA.mrn,
      6  PAC051TPROFORMA.visitid,
      7  PAC052MTRANSBILL.mrn,
      8  PAC052MTRANSBILL.visitid
      9  from PAC051MPROFORMA,PAC051TPROFORMA,PAC052MTRANSBILL
     10  where
     11  (PAC051MPROFORMA.mrn=PAC051TPROFORMA.mrn)
     12  and
     13  (PAC051TPROFORMA.mrn=PAC052MTRANSBILL.mrn);
    CREATE VIEW pacviewproforma (mrn,visitid,mrn,visitid,mrn,visitid)
                                             *
    ERROR at line 1:
    ORA-00957: duplicate column name
    

    Please give different names to each column.

    Something like that...

    SQL> CREATE OR REPLACE VIEW pacviewproforma (MPROFORMA_mrn,MPROFORMA_visitid,TPROFORMA_mrn,TPROFORMA
    _visitid,MTRANSBILL_mrn,MTRANSBILL_visitid)
      2  As Select
      3  PAC051MPROFORMA.mrn,
      4  PAC051MPROFORMA.visitid,
      5  PAC051TPROFORMA.mrn,
      6  PAC051TPROFORMA.visitid,
      7  PAC052MTRANSBILL.mrn,
      8  PAC052MTRANSBILL.visitid
      9  from PAC051MPROFORMA,PAC051TPROFORMA,PAC052MTRANSBILL
     10  where
     11  (PAC051MPROFORMA.mrn=PAC051TPROFORMA.mrn)
     12  and
     13  (PAC051TPROFORMA.mrn=PAC052MTRANSBILL.mrn);
    
    View created.
    
    SQL> DESC  pacviewproforma;
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     MPROFORMA_MRN                                      NUMBER
     MPROFORMA_VISITID                                  NUMBER
     TPROFORMA_MRN                                      NUMBER
     TPROFORMA_VISITID                                  NUMBER
     MTRANSBILL_MRN                                     NUMBER
     MTRANSBILL_VISITID                                 NUMBER
    

    ORA-01730: number of column names specified invalid

    The list of the nmae column you specified for the CREATE VIEW must correspond with the list of SELECTION in the view.

    Twinkle

Maybe you are looking for