Problem in merge statement -ORA-27432 Step does not exist for chain

Hi
I m getting ORA-27432 Step does not exist for chain error in merge statement.Please explain the same.
MERGE INTO fos.pe_td_hdr_sd B
USING (
         SELECT ACTIVE, ADDUID, ADDUIDTIME,TDKEY         FROM pe.pe_td_hdr
          WHERE  (adduidtime like '20070104%' or edituidtime like '20070104%')
          AND NVL(legacy_td,'N')<>'Y'
          AND SUBSTR(adduidtime,1,4)='2007'
          AND AMENDMENT_NO=0)A ON ( B.TDKEY = A.TDKEY)
  WHEN MATCHED THEN
    UPDATE SET B.ACTIVE=A.ACTIVE,
B.ADDUID=A.ADDUID,
        B.ADDUIDTIME=A.ADDUIDTIME
  WHEN NOT MATCHED THEN
                  INSERT
                          B.ACTIVE,
                          B.ADDUID,
                          B.ADDUIDTIME)
                    VALUES(
                          A.ACTIVE,
                          A.ADDUID,
                          A.ADDUIDTIME)This query is a short version of the main query.It is same but having 180 columns in original table.

What version of Oracle are you using? This message does not appear in my 10.1 Error Messages document, but the other messages in that range seem to be about DBMS_SCHEDULER.
Are you using scheduler somewhere around where you are getting the error message?
John

Similar Messages

  • Shows 'ORA-01435: user does not exist' for the existing user

    Hi All,
    when I am trying to import this dump into oracle 10g, I am getting following error.
    I have created a talespace 'EXIM' for this already
    this is my user creation command
    CREATE USER EXIM PROFILE DEFAULT IDENTIFIED BY pass DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
    ACCOUNT UNLOCK;
    GRANT dba to EXIM;
    the user exists in the dba_users too.
    E:\Eximbills>imp exim/pass file=e:\eximbills\exim.dmp fromuser=exim touser=ex
    im;
    Import: Release 10.1.0.2.0 - Production on Tue Jan 8 13:00:44 2008
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    export client uses ZHS16GBK character set (possible charset conversion)
    export server uses UTF8 NCHAR character set (possible ncharset conversion)
    IMP-00008: unrecognized statement in the export file:
    . importing EXIM's objects into EXIM;
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    Import terminated successfully with warnings.
    thanks in advance
    soorya

    This is the error I'm getting whenever I am trying to import 'imp eximsys/h4rdw0rk file=e:eximbills\eximsys.dmp full=y'
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '424F435043303031202"
    "02020'; SREC.MAXVAL := '424F43504330303120202020'; SREC.EAVS := 0; SREC.CHV"
    "ALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(344299236148902000000000000"
    "000000000,344299236148902000000000000000000000); SREC.BKVALS := DBMS_STATS."
    "NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHE"
    "R_HEADER"','"C_LAST_MODI_BU"', NULL ,NULL,NULL,1,1,0,srec,13,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B0109010101'; SR"
    "EC.MAXVAL := '786C0804010101'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454110,2454683); SREC.BKVALS := DBMS_STATS.NUM"
    "ARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_H"
    "EADER"','"C_LAST_MODI_DATE"', NULL ,NULL,NULL,29,.0344827586206897,0,srec,8"
    ",6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '50433030314F5031202"
    "020202020202020202020202020202020202020202020'; SREC.MAXVAL := '765F70636F7"
    "03031202020202020202020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(4167464879929240000000"
    "00000000000000,614626762547395000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_LAST_MODI_OP"', NULL ,NULL,NULL,3,.333333333333333,0,sr"
    "ec,33,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B01010A1D18'; SR"
    "EC.MAXVAL := '786B0801140C01'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454102.39471065,2454314.79930556); SREC.BKVALS"
    " := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NU"
    "LL,'"TRX_VOUCHER_HEADER"','"C_LAST_MODI_TIME"', NULL ,NULL,NULL,7308,.00013"
    "6836343732895,0,srec,8,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '72756C655F746573744"
    "32E786D6C202020202020202020202020202020202020'; SREC.MAXVAL := '72756C655F7"
    "46573744D2E786D6C202020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(5943034718115330000000"
    "00000000000000,594303471811533000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_MAIL_RULE"', NULL ,NULL,NULL,2,.5,47698,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '4144343030303430373"
    "030303530342020202020202020202020202020202020'; SREC.MAXVAL := '51413430303"
    "03530373038393134342020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(3388826344357990000000"
    "00000000000000,421898536943546000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_MAIN_REF"', NULL ,NULL,NULL,3294,.000303582270795386,0,"
    "srec,41,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '44495343'; SREC.MAX"
    "VAL := '64736120'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS"
    "_STATS.NUMARRAY(354563398993257000000000000000000000,5215698580320240000000"
    "00000000000000); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DB"
    "MS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_MODULE"', NULL ,N"
    "ULL,NULL,14,.0714285714285714,0,srec,5,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '2020202020202020202"
    "020202020202020202020202020202020202020202020'; SREC.MAXVAL := '63696E64797"
    "46573742020202020202020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(1668050818239890000000"
    "00000000000000,516175788196539000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_MSEND_NAME"', NULL ,NULL,NULL,4,.25,1198,srec,33,6); EN"
    "D;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '424F435043303031202"
    "02020'; SREC.MAXVAL := '424F43504330303120202020'; SREC.EAVS := 0; SREC.CHV"
    "ALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(344299236148902000000000000"
    "000000000,344299236148902000000000000000000000); SREC.BKVALS := DBMS_STATS."
    "NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHE"
    "R_HEADER"','"C_ORG_UNIT_CODE"', NULL ,NULL,NULL,1,1,16,srec,13,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '20'; SREC.MAXVAL :="
    " '562D46696E616C3A31'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := "
    "DBMS_STATS.NUMARRAY(166153499473115000000000000000000000,447455816866904000"
    "000000000000000000); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2"
    "; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_PEPRTING_INFO"
    ""', NULL ,NULL,NULL,2,.5,977,srec,3,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '20'; SREC.MAXVAL :="
    " '562D46696E616C3A31'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := "
    "DBMS_STATS.NUMARRAY(166153499473115000000000000000000000,447455816866904000"
    "000000000000000000); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2"
    "; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_PRINTER_NAME""
    "', NULL ,NULL,NULL,3,.333333333333333,960,srec,3,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '5B30303130303130303"
    "13A4E505D5B3030313030313030313A4E525D'; SREC.MAXVAL := '5B424F4350433030313"
    "A4E525D'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NU"
    "MARRAY(473476387962467000000000000000000000,4738439330178760000000000000000"
    "00000); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS."
    "SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_PRINT_TO_BU"', NULL ,NULL,"
    "NULL,4,.25,47203,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_PRTING_INFO"', NULL ,NUL"
    "L,NULL,0,0,47720,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '41'; SREC.MAXVAL :="
    " '59'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(338150878155639000000000000000000000,4627660027604750000000000000000000"
    "00); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET"
    "_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_PRT_MODE"', NULL ,NULL,NULL,3"
    ",.333333333333333,46148,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '20'; SREC.MAXVAL :="
    " '59'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(166805081823989000000000000000000000,4627660027604750000000000000000000"
    "00); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET"
    "_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_PRT_STATE"', NULL ,NULL,NULL,"
    "4,.25,0,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '424F435043303031202"
    "02020'; SREC.MAXVAL := '424F43504330303120202020'; SREC.EAVS := 0; SREC.CHV"
    "ALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(344299236148902000000000000"
    "000000000,344299236148902000000000000000000000); SREC.BKVALS := DBMS_STATS."
    "NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHE"
    "R_HEADER"','"C_RELEASE_BU"', NULL ,NULL,NULL,1,1,558,srec,13,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B0109010101'; SR"
    "EC.MAXVAL := '786B0808010101'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454110,2454321); SREC.BKVALS := DBMS_STATS.NUM"
    "ARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_H"
    "EADER"','"C_RELEASE_DATE"', NULL ,NULL,NULL,22,.0454545454545455,558,srec,8"
    ",6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '50433030314F5031202"
    "020202020202020202020202020202020202020202020'; SREC.MAXVAL := '765F70636F7"
    "03031202020202020202020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(4167464879929240000000"
    "00000000000000,614626762547395000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_RELEASE_OP"', NULL ,NULL,NULL,3,.333333333333333,558,sr"
    "ec,33,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '20'; SREC.MAXVAL :="
    " '46'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(166805081823989000000000000000000000,3641123624483130000000000000000000"
    "00); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET"
    "_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_SETTL_AC_PS"', NULL ,NULL,NUL"
    "L,2,.5,0,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '654C4F414E202020202"
    "020202020202020202020202020202020202020202020'; SREC.MAXVAL := '654C4F414E2"
    "02020202020202020202020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(5259697250777070000000"
    "00000000000000,525969725077707000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_STP_CODE"', NULL ,NULL,NULL,1,1,1330,srec,33,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '51415F4D41494C5F544"
    "54D50310251415F4D41494C5F54454D5032'; SREC.MAXVAL := '63696E647974657374'; "
    "SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(421"
    "901952750269000000000000000000000,516175788196539000000000000000000000); SR"
    "EC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN"
    "_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_TEMPLATES_NAME"', NULL ,NULL,NULL,5,"
    ".2,47641,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '3230303730313039313"
    "032333032393435323630303631343731393039343137'; SREC.MAXVAL := '32303037303"
    "83237313035333437353331303631313535363432363135373736'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(2605922186194540000000"
    "00000000000000,260592218619487000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_TRX_INDX"', NULL ,NULL,NULL,47720,.0000209555741827326,"
    "0,srec,33,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '3132333133313233202"
    "020202020202020202020202020202020202020202020'; SREC.MAXVAL := '77657277722"
    "02020202020202020202020202020202020202020202020202020'; SREC.EAVS := 0; SRE"
    "C.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(2554407224113300000000"
    "00000000000000,619940918512825000000000000000000000); SREC.BKVALS := DBMS_S"
    "TATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_V"
    "OUCHER_HEADER"','"C_TRX_REF"', NULL ,NULL,NULL,3294,.000303582270795386,0,s"
    "rec,41,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '424F435043303031202"
    "02020'; SREC.MAXVAL := '424F43504330303120202020'; SREC.EAVS := 0; SREC.CHV"
    "ALS := NULL; SREC.NOVALS := DBMS_STATS.NUMARRAY(344299236148902000000000000"
    "000000000,344299236148902000000000000000000000); SREC.BKVALS := DBMS_STATS."
    "NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHE"
    "R_HEADER"','"C_UNIT_CODE"', NULL ,NULL,NULL,1,1,0,srec,13,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '4D'; SREC.MAXVAL :="
    " '4D'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(399806858107182000000000000000000000,3998068581071820000000000000000000"
    "00); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET"
    "_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_VCH_STATUS"', NULL ,NULL,NULL"
    ",1,1,1330,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '4D'; SREC.MAXVAL :="
    " '58'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(400458440458057000000000000000000000,4575737059019400000000000000000000"
    "00); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET"
    "_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"C_VOUCHER_STATE"', NULL ,NULL,N"
    "ULL,3,.333333333333333,0,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B0109010101'; SR"
    "EC.MAXVAL := '786B081B010101'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454110,2454340); SREC.BKVALS := DBMS_STATS.NUM"
    "ARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_H"
    "EADER"','"D_SYS_OP_DATE"', NULL ,NULL,NULL,47,.0212765957446809,0,srec,8,6)"
    "; END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B0109010101'; SR"
    "EC.MAXVAL := '786B0809010101'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454110,2454322); SREC.BKVALS := DBMS_STATS.NUM"
    "ARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_H"
    "EADER"','"D_SYS_REL_DATE"', NULL ,NULL,NULL,33,.0303030303030303,558,srec,8"
    ",6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '80'; SREC.MAXVAL :="
    " '80'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"I_CPY_NUMS"', NULL ,NULL,N"
    "ULL,1,1,1330,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '3A5B6365654766'; SR"
    "EC.MAXVAL := 'C10D'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DB"
    "MS_STATS.NUMARRAY(-1002000030,12); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1);"
    " SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"I"
    "_EVENT_TIMES"', NULL ,NULL,NULL,88,.0113636363636364,0,srec,8,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '80'; SREC.MAXVAL :="
    " '80'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"I_PECPY_NUMS"', NULL ,NULL"
    ",NULL,1,1,1330,srec,2,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B01010A1D08'; SR"
    "EC.MAXVAL := '786B0801140C01'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454102.39452546,2454314.79930556); SREC.BKVALS"
    " := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NU"
    "LL,'"TRX_VOUCHER_HEADER"','"T_SYS_OP_TIME"', NULL ,NULL,NULL,7319,.00013663"
    "0687252357,0,srec,8,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '786B01010A1D18'; SR"
    "EC.MAXVAL := '786B0801102B16'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NO"
    "VALS := DBMS_STATS.NUMARRAY(2454102.39471065,2454314.65440972); SREC.BKVALS"
    " := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET_COLUMN_STATS(NU"
    "LL,'"TRX_VOUCHER_HEADER"','"T_SYS_REL_TIME"', NULL ,NULL,NULL,7139,.0001400"
    "75640846057,558,srec,8,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"TRX_VOUCHER_HEADER"','"T_SYS_TRX_TIME"', NULL ,NU"
    "LL,NULL,0,0,47720,srec,1,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00041: Warning: object created with compilation warnings
    "CREATE FORCE VIEW "EXIMSYS"."TET_TEST" ("CUST_ID",""
    "CUST_NM","CUST_NM_ADD","C_CP_UNIT_CODE") AS "
    "SELECT CUST_MASTER.CUST_ID, CUST_MASTER.CUST_NM, CUST_MASTER.CUST_NM_ADD, C"
    "UST_MASTER.C_CP_UNIT_CODE "
    " FROM EXIMTRX.CUST_MASTER CUST_MASTER "
    " WHERE CUST_MASTER.CUST_ID='10245'"
    About to enable constraints...
    Import terminated successfully with warnings.
    Thanks,

  • ORA-01435: user does not exist when using imp utility

    I installed Oracle 8.1.7.0.0 successfully on WINDOWS 2000 and created a database TEST using DBCA. Then I used a script to creat a tablespace and a user in TEST databse. I could use the imp utility to import the data (a dmp file) to the TEST database without any problem. But after I applied a patch to bring up the version to Oracle 8.1.7.4.1, I got the following error when I tried to use the imp utility again to import the data (a dmp file) to the TEST database.
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    IMP-00000: Import terminated unsuccessfully
    I checked that I created the same user test (as it is in dmp file I wanted to import) on TEST, and I could login to TEST using:
    sqlplus test/test@TEST
    The command I used is:
    imp system/password@TEST file=test.dmp full=y log=importTEST.TEST.tmp
    I also tried to use the following command:
    imp system/password@TEST file=test.dmp fromuser=test touser=test log=importTEST.TEST.tmp
    and got the same error as before.
    Anyone has any clues what could go wrong? The only difference for me to import the data on TEST is that the
    previous successful import was done in Oracle 8.1.7.0.0.
    Is it possible that I missed something during the applying of the patch 8.1.7.4.1?
    Thanks, and your help is greatly appreciated.
    Jane

    Ther is a set of instruction to be followed after installing the patch set 8.1.7.4.1 after running it thru OUI.They are as follows. Please complete these steps and u should not have problems any more.
    When applying this patchset on Windows NT and Windows 2000, you must log onto the system as a user with Administrative privileges (e.g., as a user which is a member of the local Administrators group).
    1.Disabling system triggers.
    Before performing the next step, you must first set SYSTEMTRIG_ENABLED = FALSE in the initialization parameter file. To do this add the following line to your init<sid>.ora file and restart the database (see Note 149948.1 in Metalink for more information on this issue).
    systemtrig_enabled=false
    2.Invoke SQL*Plus (sqlplus), connect as internal and run the following:
    select * from duc$ where PACK='JIS$INTERCEPTOR$' ;
    If no rows were returned go to the next step. If a row was returned delete it using the following:
    delete from duc$ where PACK='JIS$INTERCEPTOR$' ;
    commit;
    3.Invoke SQL*Plus (sqlplus), connect as internal and run the following SQL scripts with event 10520 set. NOTE: This event is not intended for regular database operation and when turned on below by the 'ALTER SESSION' command will automatically be turned off by the subsequent 'CONNECT' command.
    ALTER SESSION SET EVENTS '10520 TRACE NAME CONTEXT FOREVER, LEVEL 10';
    ?/rdbms/admin/catalog.sql
    ?/rdbms/admin/catproc.sql
    ?/rdbms/admin/catrep.sql (This only needs to be run if you are using symmetric/advanced replication. This is not necessary for sites using dblinks and read-only snapshots if symmetric/advanced replication is not installed)
    CONNECT / AS SYSDBA;
    update obj$ set status=5 where type#=29 and owner#!=0;
    commit;
    4.You can ignore this step if you have already executed it as part of a previous 8.1.7 patch set install.
    If Java has previously been loaded into the database, invoke SQL*Plus (sqlplus), connect as internal and run the following SQL DDL command(* Note:If Java has not previously been loaded into the database, skip this step).:
    SQL> create or replace java system
    2 /
    (Note that the / (slash) is important to ensure the execution of the command).
    To ensure the correct installation of the XDK in the database run the following 2 scripts (Bug 2115227):
    $ORACLE_HOME/oracore/admin/initxml.sql
    $ORACLE_HOME/rdbms/admin/catxsu.sql
    * To determine whether Java has previously been loaded into the database:
    invoke SQL*Plus (sqlplus), connect as internal and run the following:
    SQL> select count(*) from all_objects where object_type like 'JAVA%';
    Java is installed if you get a non zero result returned from the query.
    5.You can ignore this step if you have already executed it as part of a previous 8.1.7 patch set install:
    If Java has previously been loaded into the database, invoke SQL*Plus (sqlplus), connect as internal and run the following scripts which are located in $ORACLE_HOME/javavm/install ( Note: If Java has not previously been loaded into the database, you can skip this step):
    load_jis.sql
    jisja.sql
    initjsp.sql
    jspja.sql
    Notes:
    When running the $ORACLE_HOME/javavm/install/jisja.sql script the following error may be reported and can be ignored:
    call jis_exit_java_session(0)
    ERROR at line 1:
    ORA-29515: exit called from Java code with status 0
    Bug 1459233 was filed against this problem which is fixed in 9i.
    6.If you deleted a row from duc$ in step 8 then reinsert it again. Invoke SQL*Plus (sqlplus), connect as internal and run the following SQL:
    insert into duc$ (OWNER, PACK, PROC, FIELD1, OPERATION#, SEQ) values ('SYS', 'JIS$INTERCEPTOR$', 'USER_DROPPED', 0, 1, 1);
    commit;
    7.Enabling system triggers.
    You must either remove SYSTEMTRIG_ENABLED from the initialization parameter file or explicitly set it to TRUE before attempting any other patch set post-install steps. Restart the database.
    8.This step is optional - it will recompile all invalid PL/SQL packages now rather than when accessed for the first time - you can also use utlrcmp.sql to parallelize this. Invoke SQL*Plus (sqlplus), connect as internal and run the following SQL script:
    ?/rdbms/admin/utlrp.sql
    9.Execute the following steps only if you have installed Oracle interMedia Text in the database you are attempting to modify:
    If you have not previously unlocked the ctxsys account and supplied a password for that account, you need to do so. (If you have needed to use Oracle Text in any way prior to applying the patchset, you will have already performed this step, and you can skip this.) Do so by issuing the following statement:
    ALTER USER ctxsys IDENTIFIED BY <passwd> ACCOUNT UNLOCK;
    If you have already installed 8.1.7.2 or 8.1.7.3, go directly to step 7 below.
    If you have already installed 8.1.7.1, go directly to step 5 below.
    CONNECT ctxsys/<passwd>;
    @?/ctx/admin/upgrade/u0801071.sql
    CONNECT ctxsys/<passwd>;
    @?/ctx/admin/upgrade/u0801072.sql
    CONNECT / AS SYSDBA;
    @?/ctx/admin/upgrade/s0801074.sql
    CONNECT ctxsys/<passwd>
    @?/ctx/admin/dr0pkh.sql
    @?/ctx/admin/dr0plb.sql
    @?/ctx/admin/dr0type.plb
    @?/ctx/admin/dr0typec.plb
    9.You can ignore this step if you have already executed it as part of a previous 8.1.7 patch set install:
    The installation of this patch set fixes a potential security hole in the XSQL Servlet - see here for more detail. The patchset installation does not, however, modify any of the Oracle HTTP Server configuration files to reflect changes to the XSQL Servlet installation. If you have previously installed the Oracle HTTP Server, you will need to update one of the configuration files manually after the patchset installation is complete. If you do not do so, the XSQL Servlet may not work in the context of the Oracle HTTP Server after the patchset is installed. To update your Oracle HTTP Server configuration, perform the following steps:
    1) Edit the file: $ORACLE_HOME/Apache/Jserv/conf/jserv.properties
    2) Search for the string: "XSQLConfig.xml File location"
    3) Modify the parameter wrapper.classpath on the line immediately following the above string to read: $ORACLE_HOME/oracore/admin
    4) Save the file.
    10.You can ignore this step if you have already executed it as part of a previous 8.1.7 patch set install:
    The installation of this patch set fixes a potential security hole in the PL/SQL XML parser - see here for more detail. To load the new XML parser in to the database, run the following script as user SYS:
    ? /xdk/plsql/parser/bin/load.sql
    11.If you are using the RMAN catalog then upgrade it as follows:
    rman catalog <user/passwd@alias>
    upgrade catalog;
    upgrade catalog;
    The post install actions are now complete and the database is now ready for use.

  • Error creating sdo_pc point cloud: "ORA-02289: sequence does not exist"

    Oracle Database 12c Enterprise Edition Release 12.1.0.1.0
    I've come across a problem when creating point clouds - every so often I'll get an error about a sequence not existing.
    ERROR at line 1:
    ORA-13199: Invalid Parameters for Partition_Table
    ORA-13199: Invalid Parameters for Partition_Table
    ORA-13249: Stmt-Execute Failure: DROP SEQUENCE "MDPCS_a_17745$$$"
    ORA-29400: data cartridge error
    ORA-02289: sequence does not exist
    ORA-06512: at "MDSYS.PRVT_PC", line 3
    ORA-06512: at "MDSYS.PRVT_PC", line 171
    ORA-06512: at "MDSYS.SDO_PC_PKG", line 179
    ORA-06512: at line 17
    I've got a test case which creates a table where we'll put a sdo_pc, a block table and then a loading XYZ table.  We then loop a bunch of times and create a PC for each.
    Test case setup:
    create table pc_test (
        id integer primary key,
        pc sdo_pc);
    create sequence pc_test_id;
    create table pc_test_blocks as select * from mdsys.sdo_pc_blk_table;
    create table xyz (
        rid number,
        val_d1 number,
        val_d2 number,
        val_d3 number);
    insert /*+ append */ into xyz (
        select
            rownum,
            round(dbms_random.value(1,10000),2),
            round(dbms_random.value(1,10000),2),
            round(dbms_random.value(20,50),2)
        from dual
        connect by level <= 1000);
    commit;
    Run test case:
    declare
      l_pc sdo_pc;
        l_id pls_integer;  
    begin
        for i in 1..50 loop
            l_pc := sdo_pc_pkg.init(
                'PC_TEST', 'PC', 'PC_TEST_BLOCKS', 'blk_capacity=500',
                sdo_geometry(2003, 2157, NULL, sdo_elem_info_array(1,1003,3), sdo_ordinate_array(400000, 500000, 800000, 1000000)),
                0.005, 3, null);
            l_id := pc_test_id.nextval;
            dbms_output.put_line('PC_TEST id=' || l_id);
            insert into pc_test (id, pc) values (l_id, l_pc);
            sdo_pc_pkg.create_pc(l_pc, 'XYZ');
        end loop;
    end;
    Some of the PCs will create, but eventually it'll blow up with
    ORA-02289: sequence does not exist
    In so far as I can tell, once I call sdo_pc_pkg.create_pc(), Oracle is creating a sequence with a name such as MDPCS_a_1751F$$$.  When it is done creating the blocks, it then tries to drop the sequence.  However the statement to drop the sequence is wrapped in double quotes - so if the sequence name contained any lowercase letters then it will error out when trying to drop it.  The values used between the underscores seem to be hexadecimal - sometimes they're numbers only, sometimes numbers and uppercase letters, sometimes numbers and lowercase letters.
    Has anybody else come across this issue?
    The issue isn't critical as the PC blocks do seem to be created correctly, so the issues are: (a) my pl/sql block errors out and (b) I'm left with sequences lying around.
    For the former I'll catch the exception and ignore it, for the latter I'll just drop the sequences myself afterwards.

    I tried the test on 11.2.0.4.  On that release I get an error during a rename:
    ERROR at line 1:
    ORA-13199: Invalid Parameters for Partition_Table
    ORA-13199: Invalid Parameters for Partition_Table
    ORA-13249: Stmt-Execute Failure: RENAME "MDPCI_a_26062$$$" TO "M3_A_26062$$"
    ORA-29400: data cartridge error
    ORA-04043: object MDPCI_a_26062$$$ does not exist
    ORA-06512: at "MDSYS.PRVT_PC", line 3
    ORA-06512: at "MDSYS.PRVT_PC", line 157
    ORA-06512: at "MDSYS.SDO_PC_PKG", line 74
    ORA-06512: at line 17

  • "ORA-21700: object does not exist or is marked for delete" select from ADT

    Posted this in OLAP section as well, but since this is Object technology, I thought I would repeat it here. Sorry about the duplication.
    BTW, I'm using Oracle9i 9.2.0.4.1.
    I'm trying to create a script that can automate the process of generating abstract data types for use in an OLAP_TABLE function. I'm following the examples in the documentation. Everything runs great the FIRST time I run my script, but when I drop my types and re-create them, when I run the next SELECT statement against the OLAP_TABLE function, I get:
    ERROR at line 1:
    ORA-21700: object does not exist or is marked for delete
    My script drops the ADTs before creating, but somehow they are not REALLY being dropped.
    SET ECHO ON
    SET SERVEROUT ON
    DROP TYPE ts_table_6;
    DROP TYPE ts_row6;
    CREATE TYPE ts_row6 AS OBJECT(
    CONJ2002 VARCHAR2(400),
    CONJ2002_DATA number(16),
    PERIOD VARCHAR2(10),
    PERIOD_NAME VARCHAR2(20));
    CREATE TYPE ts_table_6 AS TABLE OF ts_row6;
    SELECT CONJ2002, period, period_name, conj2002_data FROM TABLE(OLAP_TABLE(
    'REFVLMTA DURATION QUERY',
    'ts_table_6',
    'limit CONJ2002 to first 3',
    'MEASURE CONJ2002_DATA from CONJ2002.DATA
    DIMENSION CONJ2002 from CONJ2002
    DIMENSION PERIOD from PERIOD WITH
    ATTRIBUTE PERIOD_NAME from period.name'));
    Again, it works the first time, but not the second time. I need to bump up the ADT names to ts_row7 and ts_table_7. SQL Plus says the types are being dropped.
    Any ideas?
    Dan Vlamis [email protected]

    Hi Dan
    What append if you do a connect between the DROP and the CREATE statements?
    Chris

  • Import Error: ORA-01435 : User does not exist

    Hi all,
    I am importing a dump into 11g Database, the dump taken from Old Financial release 6 [EBIZ]
    i given this command:
    IMP FILE=EXPDUMP.DMP BUFFER=524288000 FULL=Y IGNORE=Y
    Import user system and password given...
    Once its started and getting error
    +"ALTER USER "PERFUSER" QUOTA UNLIMITED ON "OTHERD""+
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'PERFUSER' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    +"ALTER USER "DUB_QUERY" QUOTA UNLIMITED ON "OTHERD""+
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'DUB_QUERY' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    +"ALTER USER "OEMV22" QUOTA UNLIMITED ON "OEM_REPOSITORY""+
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'OEMV22' does not exist
    IMP-00017: following statement failed with ORACLE error 1918:
    +"ALTER USER "W03063_ITD" QUOTA UNLIMITED ON "TEMP" QUOTA UNLIMITED ON "OEM_R"+
    +"EPOSITORY""+
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'W03063_ITD' does not exist
    +. importing APPS's objects into APPS+
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    +. importing DUB_QUERY's objects into DUB_QUERY+
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    +. importing SYSTEM's objects into SYSTEM+
    +. importing APPLSYS's objects into APPLSYS+
    +"ALTER SESSION SET CURRENT_SCHEMA= "APPLSYS""+
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    IMP-00000: Import terminated unsuccessfully
    Kindly advice me what is the wrong,,
    I have created all the data files same like Old Database. so while importing All the USERs will created, if its correct then why this "*ORA-01435 : User does not exist*" coming...
    Regards
    Paja
    Edited by: Hameed on Jul 2, 2012 4:50 AM

    Create tablespace :
    select 'CREATE TABLESPACE '||TABLESPACE_NAME||' DATAFILE '||FILE_NAME||' SIZE '||BYTES||' autoextend on '||';'
    from dba_data_files
    order by tablespace_name;
    Create User :
    select ' CREATE USER '||USERNAME||' IDENTIFIED BY '||USERNAME||' DEFAULT TABLESPACE '||DEFAULT_TABLESPACE||' temporary tablespace ' ||' TEMP quota unlimited on '|| DEFAULT_TABLESPACE||';'
    from dba_users
    order by USERNAME;
    Create Role
    select 'CREATE ROLE ' || ROLE || ' ;'
    from DBA_ROLES
    order by ROLE
    Grant Role :
    select ' GRANT '|| GRANTED_ROLE || ' to ' || GRANTEE || ' ;'
    from DBA_ROLE_PRIVS
    order by GRANTED_ROLE
    Br
    osama
    Edited by: Osama-mustafa on Jul 2, 2012 5:47 PM

  • ORA-13754: "SQL Tuning Set" "" does not exist for user "SYS"

    While calling dbms_stats.seed_col_usage I got the following error. Can someone help me on how to resolve it
    sqlplus
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Apr 14 14:37:38 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Enter user-name: / as sysdba
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> show user
    USER is "SYS"
    SQL> begin
    2 dbms_stats.seed_col_usage(null,null,400);
    3 end;
    4 /
    begin
    ERROR at line 1:
    ORA-13754: "SQL Tuning Set" "" does not exist for user "SYS".
    ORA-06512: at "SYS.DBMS_SQLTUNE_INTERNAL", line 17379
    ORA-06512: at "SYS.DBMS_STATS", line 28451
    ORA-06512: at line 2
    Thank You
    Sarayu

    According to the documentation:
    SEED_COL_USAGE ProcedureThis procedure iterates over the SQL statements in the specified SQL tuning set, compiles them and seeds column usage information for the columns that appear in these statements.
    Syntax
    DBMS_STATS.SEED_COL_USAGE (
    sqlset_name IN VARCHAR2,
    owner_name IN VARCHAR2,
    time_limit IN POSITIVE DEFAULT NULL);>
    It looks like you need to provide a SQLSET_NAME and OWNER_NAME to use this procedure correctly, to which you've provided NULLs. I don't see any exceptions in the documentation that indicate special processing when NULLs are provided.

  • ORA-29833: indextype does not exist

    I created a table named myqueries
    CREATE TABLE myqueries (
    queryid NUMBER PRIMARY KEY,
    category VARCHAR2(30),
    query VARCHAR2(2000)
    insertes some records
    INSERT INTO myqueries VALUES(1, 'US Politics', 'democrat or republican');
    and then commit:
    when i am trying to create an index i am gtting the following error....Please help me out fromm this situation...
    CREATE INDEX queries_idx ON myqueries(query) INDEXTYPE IS CTXSYS.CTXRULE
    The following error has occurred:
    "ORA-29833: indextype does not exist"
    Thanks in advance,
    Sreedhar.

    Hi,
    Even I am facing similar kind of problem. We have Oracle 9.2.0.2 on Win2K SP2. This problem has not occured when we had set up the entire schema on default db created during installation of ORACLE. But started giving on DB which we created manually using scripts. Is there any parameter or script (sql, other than catalog.sql, catproc.sql and few scripts from oracle_home\ctx_admin) need to be run. We have CTXAPP role. But still it's not working. Plz let me know any pre-requiste for this scenario.
    Thanx,
    KC

  • Context is installed, but ORA-29833: indextype does not exist appears

    My Oracle 8.1.7.0.1 did not contain CTXSYS user and all needed roles and i
    did this thing: http://www.orafaq.org/faqctx.htm#ENABLE and now it does
    contain!
    It's cool, but also i have a problem:
    I grant CTXAPP role to some user, and try to create index on CLOB filed:
    create index forumindex on forummess(mess) indextype is ctxsys.context
    And i get error:
    ORA-29833: indextype does not exist
    Why?? I cannot understand...
    Can you say - what can be the reason?

    Please ask this question in the Oracle Text forum (formerly interMedia text). You will get a quicker, more expert answer there.

  • Workflow error [WF_ERROR] ERROR_MESSAGE=ORA-02289: sequence does not exist

    Dears,
    I created simple custom workflow (Start -> Notification -> End).
    I got the following error when I run the workflow.
    [WF_ERROR] ERROR_MESSAGE=ORA-02289: sequence does not exist ERROR_STACK= FND_SEARCH_EVENTS.On_Object_Change(oracle.apps.wf.notification.send, 5C84790B967158FFE04400144F23BF3C)
    The notification activity returned this error but the notification has been sent to performer.
    I searched for solution to fix this problem and I found one result for the same problem without any solution.
    http://www.itpub.net/thread-1558559-1-1.html
    Thank you

    It looks as if DB sequence FND_SEARCH_EVENTS_SEQ does not exist. Please try to reload it as follows:
    java oracle.apps.fnd.odf2.FndXdfCmp applsys <pwd> apps <pwd> thin "<db server>:<db port>:<SID>" all $FND_TOP/patch/115/xdf/fnd_search_events_seq.xdf $FND_TOP/patch/115/xdf/xsl
    Regards,
    Alejandro

  • Hierarchy INT does not exist for Financial Statement item 0glaccext

    Hi,
          I am facing a problem while executing the Standard Business content "Cash Flow statement" query. I am getting the message "Hierarchy INT does not exist for Financial Statement item 0glaccext".
    I am not able to find this Hierarchy in the "avaialble Hierarchies from OLTP". I think this is a standard SAP Hierarchy.
    Any thoughts on how to resolve this issue

    John,
    You can define FSVs for a specific chart of accounts, for a group chart of accounts, or without any specific assignment.
    In your case, double-check whether you are running the report for the same CoA assignment that you have defined your FSV for in the first place.
    As somebody's mentioned earlier, these reports are made using Report Painter (GRR1 / 2 / 3, etc.). Seems FSV = INT has been fixed in these reports for your system. You'll have to edit these reports (using GRR2) and the correct FSV.
    Regards
    Gulshan

  • Error ORA-02289: sequence does not exist

    While I was practicing chapter 6 a book on "hands-on oracle database 10 g express edition for windows" by Mr. Bobrowski forwarded by tom kyte, I like to be one those as well, lol, the living legend of oracle technology <page 225-226> , I got the following error while trying to insert the data manually
    error ORA-02289: sequence does not exist
    I also checked the sequence, it does exist ,
    host-ids, db-ids, ap-ids all do exists
    I am wondering my OS windows xp and however, I have entered AIX in host OS field and 5.2.0.0 in the hostos_version field and cpu=4
    I kind do not understand this too since my pc running windows xp
    any help would be appreciated since i couldn't go forward in my practice.
    I e-mailed the author of the book (oracle Press) but no-reply so far, well I can understand that there is no money.

    Basically, I copied everything from the cd-rom provided in the book of this author steve, oracle press. I logged on using my account <system> and password. The user is here only one which is <system>.
    Everything was working well, until then as per the direction in the chapters upto 1- to mid 6, this is the first time I am stuck in following this book's simple excercises. It also asks me to look at the object if the sequence host_ids does exists in the drop down combo, as a matter of fact it does exist.
    I am still wondering my question "my OS windows xp and however, I have entered AIX in host _OS field and 5.2.0.0 in the host_os_version field and cpu=4
    I kind do not understand this too since my pc running windows xp "

  • ORA-02289 (10: 10): PL/SQL: ORA-02289: sequence does not exist

    Hi,
    I want to run a trigger on SCOTT account.But wheni try to run it.I am getting ' ORA-02289 (10: 10): PL/SQL: ORA-02289: sequence does not exist'.PLease help out

    Sequence FUNCTION_SEQ does not exist...
    Pease run
    Select * from user_objects
    where object_type='SEQUENCE'
    and object_name='FUNCTION_SEQ'In order to see that this object doesnt exist on your schema...
    Maybe you are trying to use sequence in different schema... Check it out too
    Select * from all_objects
    where object_type='SEQUENCE'
    and object_name='FUNCTION_SEQ'And if you has access to DBA_ views check this too...
    Select * from dba_objects
    where object_type='SEQUENCE'
    and object_name='FUNCTION_SEQ'If you need such sequence please give us an example of values you need and will provide a sequence creation script for you..

  • ORA-02289: sequence does not exist Error

    When add Entity Attribute Value : adf.object.nextVal('DenialCommentId')
    Value Type: Expression
    Iam getting ORA-02289: sequence does not exist Error in 11g 1.1.3.0 version .How to Solve it .Any solutions please suggest me .Thanx in advance
    Ravi

    try using adf.object.nextValue('DenialCommentId') to find out whether the compiler is looking for a sequence named object in schema adf or not.
    Regards
    Etbin

  • DBMS DataPump - Export - ORA-31626: job does not exist - Appreciate ur help

    I'm getting the following error while executing the following two stored procedures. I googled and tried some solution out there but, couldn't fix it yet. I think I have all granted permissions. Sometime back when I ran the schema_export procedure it worked in the first attempt and not after that.
    ORA-31626: job does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 902
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 4758
    ORA-06512: at "KUMAR.PARTIAL_EXPORT", line 14
    ORA-06512: at line 2
    Partial Table Export:
    create or replace PROCEDURE partial_export
    AS
    l_dp_handle NUMBER;
    l_last_job_state VARCHAR2 (30) := 'UNDEFINED';
    l_job_state VARCHAR2 (30) := 'UNDEFINED';
    l_sts ku$_status;
    l_job_name VARCHAR2 (100);
    l_dirname VARCHAR2 (100);
    l_filename VARCHAR2 (100);
    BEGIN
    l_filename := 'myexpfile.dmp';
    -- sets the job name
    l_job_name := 'BZ' || SYSDATE;
    l_dp_handle :=
    DBMS_DATAPUMP.OPEN (operation => 'EXPORT',
    job_mode => 'TABLE',
    remote_link => NULL,
    job_name => l_job_name,
    VERSION => 'LATEST'
    --specify the database directory  and the filename for the export file  
    DBMS_DATAPUMP.add_file (handle => l_dp_handle,
    filename => l_filename,
    DIRECTORY => 'TEST_DIR'
    DBMS_DATAPUMP.add_file (handle => l_dp_handle,
    filename => l_filename || '.LOG',
    DIRECTORY => 'TEST_DIR',
    filetype => DBMS_DATAPUMP.ku$_file_type_log_file
    --specify the tables that I want to export. (EMP,DEPT)  
    DBMS_DATAPUMP.metadata_filter (handle => l_dp_handle,
    NAME => 'NAME_EXPR',
    VALUE => 'IN (''EMP'', ''DEPT'')'
    -- set subset data export. exports only rows that eno > 400
    DBMS_DATAPUMP.data_filter (handle => l_dp_handle,
    NAME => 'SUBQUERY',
    VALUE => 'WHERE eno > 400',
    table_name => 'EMP'
    -- set subset data export. exports only rows that dno > 500
    DBMS_DATAPUMP.data_filter (handle => l_dp_handle,
    NAME => 'SUBQUERY',
    VALUE => 'WHERE dno > 500',
    table_name => 'DEPT'
    DBMS_DATAPUMP.start_job (l_dp_handle);
    DBMS_DATAPUMP.detach (l_dp_handle);
    END;
    Schema Export:
    create or replace procedure schema_export
    as
    l_dp_handle NUMBER;
    l_last_job_state VARCHAR2(30) := 'UNDEFINED';
    l_job_state VARCHAR2(30) := 'UNDEFINED';
    l_sts KU$_STATUS;
    BEGIN
    l_dp_handle := DBMS_DATAPUMP.open(
    operation => 'EXPORT',
    job_mode => 'SCHEMA',
    remote_link => NULL,
    job_name => 'DB_EXPORT',
    version => 'LATEST');
    DBMS_DATAPUMP.add_file(
    handle => l_dp_handle,
    filename => 'dbexport.dmp',
    directory => 'TEST_DIR');
    DBMS_DATAPUMP.metadata_filter(
    handle => l_dp_handle,
    name => 'SCHEMA_EXPR',
    value => '= ''KUMAR''');
    DBMS_DATAPUMP.start_job(l_dp_handle);
    DBMS_DATAPUMP.detach(l_dp_handle);
    END;
    Appreciate your hlep.
    Thanks
    Kumar

    Thanks Satish.
    I don't have access to Oracle Metalink (I'm using Oracle personal edition). Can someone please post Oracle Metalink note 549781 here?
    I couldn't find any useful link when I googled this metalink note number.
    Appreciate your help.
    Thanks
    Kumar

Maybe you are looking for

  • Reservations creation with customer fields in ECC from SRM does not work?

    Hi, I have to create reservations into backend system (ECC) from shopping cart creation in SRM 7.0. Reservation items contiain two customer fields. RESB is extended by adding an append structure that contains an include with the data structure of the

  • Need help with margins & footer, and browser display issues....

    Hello, I am working on a splash page in Dreamweaver, but am having trouble with the margins and the footer. 1. Margins: I basically want/need the center contents of the page never to extend past the contents of the header and footer. If you look at t

  • Mass storage

    I am trying to transfer media files to my blackberry, when loading the software it comes with an error msg "music services failed to load, an unexpected error as occurred" any ideas also how do I get me phone to be in mass storage mode. Many thanks

  • Blackberry7290 Is there any way to hard reset this device?

    My phone started turning off, then coming back on with the hourglass flipping.  Now all it does is let the red led light blink and sometimes gives different error codes.  The most recent error code is Error 365.  Is my phone completely dead?  I never

  • Save for Web vs Save As

    Is there any difference in taking a 1.6 meg JPEG picture and saving with "save for web" and adjusting options to get a 200k jpeg image, and taking same image and using "save as" and adjusting the quality so you get a 200k jpeg image?  Do they use the