strange behaviuor (bug?) with view (ora-918 column ambiguously defined)

Hello everyone,
the following code works as expected;

Select substr(fire_id,-4,2) ct, zone_id, (fire_id), sum (a_total) count of
(select *)
fire join fire_zone using (fire_id) right
where definition_id = 1
and checked = 1
and substr (fire_id, 2, -4) in (21.23)
and fire_id between 190400000000 and 200900000000)
Group zone_id substr (fire_id, 2, -4),
order of ct, zone_id


but when to define a vision for the subquery:

create or replace view tempfire as
Select *.
fire join fire_zone using (fire_id) right
where definition_id = 1
and checked = 1
and substr (fire_id, 2, -4) in (21.23)
and fire_id between 190400000000 and 200900000000


then run

Select substr(fire_id,-4,2) ct, zone_id, count of tempfire (fire_id), sum (a_total)
Group zone_id substr (fire_id, 2, -4),
order of ct, zone_id

I got the error ora-00918 ambiguous column defined for zone_id.

Is this a bug or is there a reason?

Thank you in advance,

See you soon,.
Boris

Published by: boris on November 19, 2009 06:49

Published by: boris on November 19, 2009 06:52

In fact, it's a bug. As a fix, the problem:

alter session set "_column_elimination_off"=true
/

before you run the query:

SQL> select  substr(fire_id,-4,2) as ct,zone_id,
  2          count(fire_id),sum(a_total)
  3    from  tempfire
  4    group by substr(fire_id,-4,2),
  5             zone_id
  6    order by ct,
  7             zone_id
  8  /
        count(fire_id),sum(a_total)
                           *
ERROR at line 2:
ORA-00918: column ambiguously defined

SQL> alter session set "_column_elimination_off"=true
  2  /

Session altered.

SQL> select  substr(fire_id,-4,2) as ct,zone_id,
  2          count(fire_id),sum(a_total)
  3    from  tempfire
  4    group by substr(fire_id,-4,2),
  5             zone_id
  6    order by ct,
  7             zone_id
  8  /

no rows selected

SQL> 

SY.

Tags: Database

Similar Questions

  • Failed to parse the SQL query: ORA-00918: column ambiguously defined

    I have an application that generates a report that says what indicator is connected to what size. For this, a package is created called and under this function is there that generates and returns a dynamic SQL strings that indicates which indicators depends on what size. In my report under the defination of region identification section, the type is mentioned the SQL (sql query return function body) and in the section source it returning



    Thanks in advance. Any suggestions on this will be useful for me to traceout the issue.

    Concerning
    ADI

    Published by: Adi on January 4, 2010 01:04
  • Create Materialized View ORA-01723: columns of length zero are not allowed

    I am trying to create a materialized view that derives from a column of a function and I get: ORA-01723: columns null are not allowed.

    I use 10 gr 2 with the following definition (simple version):

    CREATE MATERIALIZED VIEW ACES
    SELECT
    function_name (column_name) alias_de_colonne
    FROM table_name;

    I even tried to cast it as below:

    CREATE MATERIALIZED VIEW ACES
    SELECT
    Cast (function_name (column_name) AS VARCHAR2 (200)) alias_de_colonne
    FROM table_name;

    My function has an exception to return a value, even if no value are.

    I looked everywhere for the solution. Someone at - there a way around this problem? I really need my function to calculate the column because it has business rules that I can't join in my definition of the materialized view. My only hope around this is to insert values into a table and then create a materialized table view, I don't want to do that if someone has a solution around this.

    Any help would be greatly appreciated.

    Thank you

    Kyle

    Published by: Kyle Miller on April 19, 2011 08:28

    Have you tried to create a table with the correct structure and then by creating the view materialized, based on the predefined table as described here...

    http://www.oaktable.NET/content/ultra-fast-MV-alteration-using-prebuilt-table-option

    ?

    See you soon

    Ben

  • Defined column ambiguous error with the Merge statement

    Hi guys,.
    I get the ' Error (136,4): PL/SQL: ORA-00918: column ambiguously defined "error with the following query of fusion,
    MERGE INTO Inv_Stk_Trns_Tail a
       USING (SELECT b.*, c.*
       FROM OLR b ,Inv_Stk_Trns_Tail c 
       WHERE b.Trn_Type <> '0'
         AND b.VoucherType IS NOT NULL
         AND b.VoucherType = 'SF'
         AND b.Item_Code = c.Item_Code
         AND c.PROPERTY = 0) src
       ON (a.Sl_No = src.Sl_No and a.Ref_No = src.Ref_No )
       WHEN MATCHED THEN UPDATE SET Item_Avg_Ppr = src.Opn_Avg_Cost,
                                    Rate_Bc = src.Opn_Avg_Cost;
    I tried to solve the problem in a lot of ways, but no use. Please help me solve this problem. If you want more details, I'll give you.
    Thank you
    RAM

    SELECT B.*, c.

    Try all the (necessary) columns on the code and the name of each column a unique alias.

  • ORA - 00918:column defined ambiguosly

    select ha.kod_daerah,kb.nama bpm,kn.nama,pi.NAMA,pi.ALAMAT1,pi.ALAMAT2,pi.ALAMAT3,pi.ALAMAT4,pi.POSKOD,to_char(lp.trh_keluar,'DD') day,
            DECODE (TO_CHAR (lp.trh_keluar, 'MM'),
                   '01', 'JANUARI',
                      '02', 'FEBRUARI',
                      '03', 'MAC',
                      '04', 'APRIL',
                      '05', 'MEI',
                      '06', 'JUN',
                      '07', 'JULAI',
                      '08', 'OGOS',
                      '09', 'SEPTEMBER',
                      '10', 'OKTOBER',
                      '11', 'NOVEMBER',
                      '12', 'DISEMBER'
                     ) month , to_char(lp.trh_keluar,'YYYY') year ,mh.LOKASI,mh.LUAS,mh.NO_PAJAKAN,mh.ID_HAKMILIK
    ,lp.ID_BHN_BATU,lp.KUANTITI_MAX,lp.KOD_UOM_KNTT,lp.KADAR_BYRN,lp.KOD_UOM,lp.PERUNTUKAN_TMBHN,lp.NO_PERMIT,lp.NO_RESIT,lp.BYRN,lp.BYRN_PKATAAN,
    pi.NO_PENGENALAN
    from mohon mo,mohon_hakmilik mh,lupus_permit lp,pemohon pe,pihak pi join kod_negeri kn on (pi.kod_negeri=kn.kod),hakmilik ha join kod_bpm kb on
    (ha.kod_bpm=kb.bpm),hakmilik ha join kod_daerah kd on(ha.kod_daerah=kd.kod)
     where mo.ID_MOHON=mh.ID_MOHON and mo.ID_MOHON=lp.ID_MOHON 
    and  mo.id_mohon=:p_id_mohon and lp.ID_MOHON = pe.ID_MOHON and pe.id_pihak = pi.ID_PIHAK and ha.id_hakmilik=mh.ID_HAKMILIK
    and ha.kod_bpm=kb.bpm and ha.kod_daerah=kd.kod 
    
    error;ora-00918:column ambiguosly defined

    Try Thie below,

    Select ha.kod_daerah,
    KB. NAMA bpm,
    kN.Nama,
    PI. NAMA,
    PI. ALAMAT1,
    PI. ALAMAT2,
    PI. ALAMAT3,
    PI. ALAMAT4,
    PI. POSKOD,
    TO_CHAR (LP.trh_keluar, 'DD') day,
    DECODE (TO_CHAR (lp.trh_keluar, 'MM'),
    '01', 'JANUARY',
    '02', 'FEBRUARY',
    '03', 'MAC ',.
    '04', 'APRIL ',.
    '05', 'MEI ',.
    '06', 'JUNE ',.
    '07', 'JULAÏ ',.
    "08', 'OGOS."
    '09', 'SEPTEMBER',
    '10', 'OCTOBER',
    '11', 'NOVEMBER',
    '12', 'DISEMBER.
    ) months.
    TO_CHAR (LP.trh_keluar, 'YYYY') year,
    HD. MAP,
    HD. LUAS,
    mh.NO_PAJAKAN,
    mh.ID_HAKMILIK
    lp.ID_BHN_BATU,
    LP. KUANTITI_MAX,
    LP. KOD_UOM_KNTT,
    LP. KADAR_BYRN,
    LP. KOD_UOM,
    LP. PERUNTUKAN_TMBHN,
    lp.NO_PERMIT,
    lp.NO_RESIT,
    LP. BYRN,
    LP. BYRN_PKATAAN,
    pi.NO_PENGENALAN
    of please MB.
    mohon_hakmilik HD,
    lupus_permit lp,
    pemohon pe,
    pihak pi join kod_negeri kn on (pi.kod_negeri = kn.kod).
    hakmilik ha kod_bpm Ko on(ha.kod_bpm=kb.bpm) join
    Join kod_daerah kd on(ha.kod_daerah=kd.kod)
    where mo.ID_MOHON = mh.ID_MOHON and
    mo.ID_MOHON = lp.ID_MOHON and
    Mo.id_mohon =: p_id_mohon and
    lp.ID_MOHON = pe.ID_MOHON and
    PE.id_pihak = pi.ID_PIHAK and
    HA.id_hakmilik = MH.id_hakmilik and
    HA.kod_bpm = KB. BPM and
    HA.kod_daerah = KD.kod;

    P. S.) I didn't test this.

    Kind regards
    Florian...

  • ORA-02267: column type incompatible with the type of the referenced column

    create table employee)
    emp_id varchar (10) constraint Primary Key of PK_employee,.
    First name varchar2 (20).
    LastName varchar2 (20).
    Phone number (11));

    Table created.

    create the empinformation table
    (
    primary key pk_empinformation number (6) MobileNo constraint
    Address varchar (100),
    number (10) of salary.
    personalid number (10) constraints fk_employees_section references employee (emp_id));



    ERROR on line 6:
    ORA-02267: column type incompatible with the type of the referenced column

    This error comes because the data type of the columns of refernce incompatible with reference tables.
    Foreign key column data type is the same as the reference column.

    type database foreign key and primary key data type must myself.

    create the empinformation table
    (
    primary key pk_empinformation number (6) MobileNo constraint
    Address varchar (100),
    number (10) of salary.
    personalid varchar (10) constraints fk_employees_section references employee (emp_id));

    table created

  • Major bug with storage Var MX 7.0.2 Client?

    I think I found what looks to be a pretty big bug for client variable storage in CFMX. Strangely, the bug actually exists in CFMX 6.1 and CFMX 7.0.2 (the two versions, I test against), but only cultures upward in 7.0.2. In addition, you will notice that I say it's a matter of client variable (it is), but the bug seems to be with JSESSIONID, I thought only relate to session variables. My statement of the problem is that the variable customer 'disappear' after having been defined. In a Word, I log onto my site, which fixed a couple of variables customer, and then when I browse another page on the site, client variables are no longer in existence (it seems as if I've never connected before). I'm running CFMX 7.0.2 Enterpise (deployment of WAR) on Red Hat Enterprise Linux 4.0 (update 3) using the internal JRun web server and using J2EE session variables.

    After a bit of detective work, I noticed by looking at the HTTP headers on my first visit to the site (with no existing cookie set) which JSESSIONID is defined * double * when I first hit my site. However, a JSESSIONID is being stored in cglobal table while the other JSESSIONID is stored in the actual cookie, which causes subsequent research of incompatibility. Therefore, it seems that if I have never connected before.

    Here are the relevant header information when you first visit the site:

    HTTP/1.x 200 OK
    Set-Cookie: CFID = 102; expires = Thu, August 14, 2036 13:20:27 GMT; path = /.
    Set-Cookie: CFTOKEN=66021081eab5f673-3609FCE3-CF52-FC2B-25E974A728406FC5;expires=Thu,14-Aug-2036 13:20:27 GMT; path = /.
    Set-Cookie: JSESSIONID = 583033e973025152237c; path = /.
    Set-Cookie: JSESSIONID = 58306b4060d425456d5c; path = /.
    Date: Tuesday, August 22, 2006 13:20:27 GMT
    Content-Language: en-US
    Content-Type: text/html; Charset = UTF-8
    Connection: close
    Server: JRun Web server

    See how there are two directives Set-Cookie JSESSIONID? The interesting part is that CFMX 6.1 (on Solaris, at least) is exactly the same, as long as the Set-Cookie guidelines double go. However, here's where 6.1 MX and MX 7.0.2 differ...

    If you look at what's coming in the real cookie compared to what is stored in the column 'data' in the table cglobal MX 7.0.2 you will see (based on the header above information):

    urltoken = CFID #= 102 & CFTOKEN #= d 66021081eab5f673-3609FCE3-CF52-FC2B-25E974A728406FC5 & jsessioni #= 583033e973025152237c #lastvisit = {ts' 2006-08-22 09:20:27 ""} #timecreated = {ts ' 2006-08-2209:20:26'}#hitcount=2#cftoken=66021081eab5f673-3609FCE3-CF52-FC2B-25E974A72840 6 FC 5 #cfid = # 102}

    The key bit is the JSESSIONID value, that has the value 583033e973025152237c. However, the cookie JSESSIONID value is 58306b4060d425456d5c.

    The same comparison with CMFX 6.1, the HTTP header info:

    HTTP/1.x 200 OK
    Set-Cookie: CFID = 3499; expires = Thu, August 14, 2036 13:31:50 GMT; path = /.
    Set-Cookie: CFTOKEN=525ea9a5badb14f2-36146ADA-DCAC-CE63-1706ADD070C8F8E1;expires=Thu,14-Aug-2036 13:31:50 GMT; path = /.
    Set-Cookie: JSESSIONID = 86308f1257484a747d6c; path = /.
    Set-Cookie: JSESSIONID = 8630627b049162583e68; path = /.
    Date: Tuesday, August 22, 2006 13:31:50 GMT
    Content-Type: text/html; Charset = UTF-8
    Connection: close
    Server: JRun Web server

    And this is the value of cglobal.data column:

    urltoken = CFID # 3499 = & CFTOKEN #= 525ea9a5badb14f2-36146ADA-DCAC-CE63-1706ADD070C8F8E1 & jsession id #= 8630627b049162583e68 #lastvisit = {ts' 2006-08-22 09:32:03 '} #timecreated = {ts ' F8E1 2006-08-2209:31:50'}#hitcount=9#cftoken=525ea9a5badb14f2-36146ADA-DCAC-CE63-1706ADD070C8 #cfid = # 3499}

    And the cookie JSESSIONID value is 8630627b049162583e68.

    Note the key change in behavior between 6.1 MX and MX 7.0.2? 6.1, even if the two Set-Cookie instructions were updated, the logic of client variable storage at least systematically used second JSESSIONID value. In 7.0.2 it appears that the first JSESSIONID value is stored in the table cglobal while the second JSESSIONID value is stored in the table cglobal.

    This is where the plot gets complicated still further... Even if my client variables are not returned on the following clicks through my site (he tells me I'm not connected), values for CFID/CFTOKEN/JSESSIONID are * not * re - put on each page. In fact, if I query the cglobal table directly out of my CFID/CFTOKEN, hitcount and lvisit values are actually updated!

    It is a major obstacle in our migration process. Can someone dig a hole into my configuration/logic and point out something I am doing wrong? The craziest part about this, for me, is the client variables which disappear even if it looks like the culprit is the JSESSIONID value. I even tried to extinguish the J2EE session variables and exactly the same problem occurs.

    Kind regards
    Dave.

    AAAAAAAARRRRRRRGGGGGGGHHHHHHHH! I got it!!!

    I am frustrated with Adobe right now, but I finally got inside the client variable issue. You know how the accession of ColdFusion is believed to be cumulative? Yes, well, not so much. It turns out that the CFMX 7.0.2 release is available with 3.3 DataDirect JDBC drivers. In addition, it seems that something in the client variable code between MX 6.1 and 7.0.2 regressed so that updates of the client variable under the hood has broken with all pilot pre - 3.5. Once I updated to pilots of 3.5, everything worked, including the spy feature and the variable updates the customer.

    Adobe, this must be resolved as soon as POSSIBLE. It's a huge show-stopper for site using client variables. I don't know if it is limited to Oracle because I have other RDBMS platforms to test against, but is a big problem. The difficulty here is update installation programs that are downloadable from your site with 3.5 drivers * and * update 7.0.2 Release notes note that the game 3.5 driver isn't in any downloaded bits before every time that you update the installation programs.

    Jochem, thank you very much for your persistence in helping me through this issue.

    Kind regards
    Dave.

  • materialized view ora-00907, although sql query works well

    Hello

    It seems to be a bug with db oracle 10.2.0.1 and his prod. env, I can't apply the patch quickly, can anyone give me a tip

    CREATE THE MV_TEN MATERIALIZED VIEW
    BUILDING THE INDEX REFRESH IMMEDIATE TO COMPLETE ON DEMAND HELP
    AS
    SELECT ten.tcy_refno AS TENANCY_REF,
    Rev.rac_accno AS REV_ACC_NO,
    Rev.rac_last_aba_date AS LAST_ABA_DATE,
    Rev.rac_last_aba_balance AS LAST_ABA_BALANCE,
    AAA.aca_status AS ARREARS_STATUS,
    AAA.aca_ara_code AS ARREARS_ACTION_CODE,
    AAA.aca_effective_date AS EFFECTIVE_DATE,
    AAA.aca_balance AS ACCOUNT_BALANCE,
    ARA.ara_description AS ARREARS_DESCRIPTION,
    NPA.nop_text
    OF REVENUE@remotedb rev.
    Ten TENANCT@remotedb.
    ACCOUNT_ARREARS_ACTIONS@remotedb aaa
    LEFT OUTER JOIN ARREARS_ACTIONS@remotedb ara
    ON aaa.aca_ara_code = ara.ara_code
    LEFT OUTER JOIN NOTEPADS@remotedb IR
    ON aaa.aca_reusable_refno = npa.nop_reusable_refno
    WHERE ten.tcy_refno = rev.rac_tcy_refno
    AND rev.rac_end_date IS NULL
    AND rev.rac_accno = aaa.aca_rac_accno
    AND aaa.aca_status! = "DEL".
    AND npa.nop_current_ind = 'Y ';

    ORA-00907: missing just paraenthesis


    Thank you

    See

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:4226402560732847:P11_QUESTION_ID:6585774577187

  • Bug with the embedded font.

    Hello


    I have a strange bug with the font Cooper (Std Black Italic)...

    Here's what looks like a multiline text in the Flash Editor:

    mlVXh7W.png

    Now, here's how it looks when I embed the fonts in a SWF file, and then load and use from the AS3 code:

    hXbpJ3S.png

    [this] is happening?

    Here are the parameters of line values I get from getLineMetrics (0):

    Ascent: 51.2

    descent: 51.2

    height: 102.4

    head: 0


    I tried to reexporting the police, the same problem. I also have the same problem when I export the scene editor and read it with Ctrl + Enter.

    It seems THAT the good in the editor... I don't know what to do. I reinstalled even the police. :/

    Also, I have this problem with all fonts... or at least every 5 different fonts, I tried.


    [moderate]

    I finally fixed it by recreating the Mac fla file.

    Looks like it is a problem with Windows.

  • Windows XP SP3 with view Client 5.1: unable to connect: discovers the connection connection to the server has failed

    Hi guys,.

    I need help.  I have a problem with my opinion of Client on a Windows XP SP3 computer.  When I click on connect, I get the following message immediately:

    "Failed to connect to the view connection server. Verify that the server connection mode address and network settings are correct. »

    A few details:

    My client's IP address is on the same subnet as the view connection server

    There is no firewall and DNS solves the login server see very well.  Here is the output of my customer's orders

    C:\ > nslookup X.X.X.172

    < resolves very well >

    C:\ > nslookup dd - view.viewdomain.com

    < resolves very well >

    C:\ > nslookup dd-notice

    < resolves very well >

    C:\ > tracert X.X.X.172

    < works great >

    If I open a browser on the XP workstation which is a failure, I can go to https://dd-view.viewdomain.com.  It displays the page that I need to connect with View Client. What do I think, so this should check the connectivity between the two.

    I've seen customer 5.1.0 build-704644 installed on my Windows XP SP3 client computer

    My connection to the server is running 5.1.1 build-799444 and is configured with a pool of offices 25 clone related with SSL active

    LAST IMPORTANT NOTE: I have the same version of the Client view (5.1.0 build-704644) installed on another Windows 7 workstation on the same subnet and it connects to my view connection server office pool very well.

    I tried to install the three versions of the customer view of this system of XP SP3 including the latest version, when the connection after installation, they all fail the same way. My body needs to function. The client machines can not move to something more recent to Windows XP SP3 because I am not the administrator for them.

    Any ideas?  Is this a bug or is Windows XP SP3 just not supported with view 5.1?

    VR,

    Brian Whyte

    Political of McAffee HBSS blocked 443 attempts out of the customer to view.

    The difference is that the Windows 7 machine that worked was becoming another policy HBSS applied to what was not blocking attempts.

  • Database trigger - PL/SQL: ORA-00984: column not allowed here

    I am trying to create a trigger that will update a table of audit used when a row is changed. Using a sequence number to assign an identifier unique to each line as it is created. Need to capture the user ID, date modified and action (update), the image of the front line.
    CREATE SEQUENCE emp_audit_seq START WITH 10;                
    Create table emp (
       empno       NUMBER(4)      Primary Key,
       ename       VARCHAR2(10),
       job            VARCHAR2(9),
       mgr           NUMBER(4),
       hiredate     DATE,
       sal             NUMBER(7,2),
       comm        NUMBER(7,2),
       deptno       NUMBER(2));
    CREATE TABLE emp_audit   (
         audit_uid          NUMBER(15)      Primary Key,
         change_date          DATE,
         change_user          VARCHAR2(30),
         action                  CHAR(1),
         empno                  NUMBER(4),
         ename                  VARCHAR2(10),          
         job               VARCHAR2(9),
         mgr               NUMBER(4),
         hiredate          DATE,
         sal               NUMBER(7,2),
         comm                  NUMBER(7,2),
         deptno                  NUMBER(2));
    CREATE OR REPLACE TRIGGER trig_emp_audit
      BEFORE UPDATE ON emp
      FOR EACH ROW
    BEGIN
      INSERT INTO emp_audit
        VALUES(emp_audit_seq.nextval, change_date, change_user, action, :old.empno, :old.ename, :old.job, :old.mgr, :old.hiredate, :old.sal, :old.comm, deptno);
    END;
    /
    
    Warning: Trigger created with compilation errors.
    
    SQL> show errors
    Errors for TRIGGER TRIG_EMP_AUDIT:
    
    LINE/COL ERROR
    -------- -----------------------------------------------
    2/3      PL/SQL: SQL Statement ignored
    3/149    PL/SQL: ORA-00984: column not allowed here
    Can someone help to help me find what I'm doing wrong with the trigger?

    Published by: LostNoob on August 25, 2012 14:24

    First of all, when you write an INSERT statement, it is always good for the columns that you insert in the list. Which makes the code easier to follow - you do not have separately pull toward the top of the table definition to know what order of columns is inserted. And it makes the code easier to manage because the declaration become invalid if you add a new column to the table in the future.

    Second, CHANGE_DATE, CHANGE_USER and ACTION are not (probably) functions and are not local variables so it is not supposed to use them in an INSERT statement. You need to write code or to take advantage of the existing functions to fill in these columns. I suppose, for example, that you want to use SYSDATE to fill the CHANGE_DATE and the USER to fill the column CHANGE_USER. My guess is that ACTION must always be a 'U' for UPDATE.

    Thirdly, it seems that you left the: old man on the DEPTNO column.

    Put them all together, you would have something like

    CREATE OR REPLACE TRIGGER trig_emp_audit
      BEFORE UPDATE ON emp
      FOR EACH ROW
    BEGIN
      INSERT INTO emp_audit(
          audit_uid,
          change_date,
          change_user,
          action,
          enpno,
          ename,
          job,
          mgr,
          hiredate,
          sal,
          comm,
          deptno )
        VALUES(
          emp_audit_seq.nextval,
          sysdate,
          user,
          'U',
         :old.empno,
         :old.ename,
         :old.job,
         :old.mgr,
         :old.hiredate,
         :old.sal,
         :old.comm,
         :old.deptno);
    END;
    / 
    

    Justin

  • ORA-00984: column not allowed here

    Hi all

    Kindly someone please shed some light on this called error "ORA-00984: column not allowed here?

    I created a table:

    CREATE TABLE JB (ENAME VARCHAR (20));

    Table created.

    Now, if I INSERT:

    INSERT INTO VALUES JB (sintes);

    ORA-00984: column not allowed here

    Why this error, if I insert a number instead of "Sinti", implementation is also possible. No character is not allowed.

    What is the column name in this area, its totally strange to me.

    Please someone help me.

    Thank you and best regards,
    SINTES

    Hello
    Use quotes around Zack:

    INSERT INTO JB VALUES ('Sathik');
    
  • ORA-39083: Object type TRIGGER could not create with error: ORA-04072:

    OS: windows Server 2003 STD 64 Bit
    DB version: 11g Enterprise Edition Release 11.2.0.1.0 - 64 bit

    I use impdp to a certain pattern and you get the following error:

    ORA-39083: Type WHAT TRIGGER could not create object error:
    ORA-04072: invalid trigger type
    Because sql is:
    DBMS_DDL BEGIN. SET_TRIGGER_FIRING_PROPERTY ('"AGILETEST" "," "SWAPOPTIMIZER" ', ALF)
    SE); END;

    Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
    Object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMA of treatment
    P/INDEX_STATISTICS
    Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX

    ----------
    I check in Metalink and found it to be a bug with no construction nearby.
    Bug 9858539 : DATA PUMP IMPORT FAILED TO TRIGGER LOGON ORA-04072: INVALID TYPE of TRIGGER

    ---------
    Any ideas?

    Well Yes, the patch is available for this bug 9858539 for 11.2.0.1 and 11.2.0.3.

    Salman

  • Procedure returns ORA-00984: column not allowed here

    Get an error returned by my procedure and can't understand it. Someone has an idea?
    Thanks in advance,
    Carpet

    14/2 PL/SQL: statement ignored
    15/80 PL/SQL: ORA-00984: column not allowed here



    CREATE OR REPLACE PROCEDURE basket_add_sp
    (p_idproduct in NUMBER,
    p_price in NUMBERS
    p_quantity in NUMBERS
    p_idbasket in NUMBERS
    p_option1 in NUMBERS
    p_option in NUMBERS)
    IS
    lv_seq_num bb_basketitem.idbasketitem%TYPE;
    BEGIN
    SELECT bb_idbasketitem_seq. NEXTVAL
    IN lv_seq_num
    FROM DUAL;
    INSERT INTO bb_basketitem (idbasketitem, idproduct, price, quantity, idbasket, option 1, option 2)
    VALUES (lv_seq_num, p_idproduct, p_price, p_quantity, p_idbasket, p_option1, p_option2);
    COMMIT;
    END;
    /

    What is p_option2 in the INSERT statement? In the settings, you have only p_option1 and p_option.

    I agree with Walter, you can save an e/s by losing the select double.

  • Bug with the donation page today

    You have a bug with your fundraising page. I have selected $10 and transferred to Paypal to $3. I tried again and made sure to click twice on a $10. I got the same results. I thought you should know.

    Hi el_nik,
    I filed a bug to prosecute for the page to donate. However can you please confirm that this always happens after that you remove the cookies from the page?

Maybe you are looking for

  • Satellite A500 - display driver has stopped and recovered

    Hello!I have a portable Satellite A500-1EE causing me trouble lately. Several times a day, the screen goes black and after a few seconds, it retrieves, with the message:"Display driver has stopped and recovered. Display NVIDIA Windows Kernel Mode Dri

  • My mac disconnects constantly when you watch online stream video

    Hello My mac is a Macbook Pro (mid2014), OSX 10.11.3 (15 d 21). It disconnects literally every minute a when I play stream on douyutv.com (Chinese version of contraction). My other devices (pc, smartphone, pad) works well. I had an experience this fl

  • HELP function - new VI doesn't seem to work in built Application

    My Application is designed to coordinate several separate test (16) of control stations. Test stations can operate independently. I have a Test Manager application that starts the execution independently Test Runner live when the user has selected a

  • Dv5-1020ed freezes, tried EVERYTHING

    Hello everyone, I have a problem with my laptop sound of 2008 so not guaranteed. It freezes randomly, sometimes at startup (once the operating system is loaded, so no problems in bios) When I am lucky, like now, I can use it, but it can freeze every

  • Call Facebook with base64 image + text

    Hello I'm trying to share an image (from the extension of the screenshot) to Facebook without saving it to disk. I would also like to be able to include the text and a photo in the invoke call. Unfortunately, while I have an image valid base64 (rende