Help! ORA-00922

Hi,
I use Oracle Data Miner10.1.0.1(Build179),
Database Version:10.1.0.2.0 Enterprise Edition with Companion Products installed(Installation Type is Data Warehouse).
At first I finished the ODM tutorial successfully. But now, when I tried to build a classification model of any type, I got error:ORA-00922. Anybody know how to fix it? Thanks

Hi Mark,
The full error is: ORA-00922: missing or invalid option. No more message available.
Yes I'm also surprised by such error. I'm sure that the error message is thrown by the db server. But the original cause is at the client side. Maybe it has something to do with the Character Set, Language or other settings.
All settings of dataminers are identical(they are copied from the same place). But maybe the registries, pathes, and some other system variables are different. I don't know which caused the error. My Linux OS is English Version. All Windows OS is Chinese Version. What's more strange is that I has used ODMiner on my computer successfully previously, but now I get error. Before I got error, I installed serveral other Oracle software, including OracleBI10g Realease2.
What tuturoial table are you using to build your model?I was using Mining_Data_Build to build my model.
Thanks

Similar Messages

  • Anyone to help with this problem: ora-00922 : missing or invalid option

    I am trying to call a function that i wrote.
    PS: i am new to oracle functions.
    The purpose of this function is to display each item with its suppliers displayed in a record. I hope what i wrote in my function is close to what i am trying to get as a result.
    Here what i run:
    CREATE TYPE ind_tab_supplier0 AS OBJECT
    (ITP_SUPPLIER_CODE VARCHAR2(50),
    ITP_SUPPLIER_NAME VARCHAR2(50));
    CREATE TYPE ind_tab_supplier1 IS VARRAY(6) OF VARCHAR2(30);
    CREATE TYPE ind_tab_supplier_table AS TABLE OF ind_tab_supplier1;
    than i tried to execute the following function but it gave me the error
    "ora-00922 : missing or invalid option". If anyone could tell me what is wrong with it:
    CREATE OR REPLACE CSRDBA."GET_SUPPLIERS" (itemCode IN
    ref_item.itm_id%TYPE) RETURN ind_tab_supplier_table PIPELINED
    IS
    TYPE ref0 IS REF CURSOR;
    cur0 ref0;
    TYPE ref1 IS REF CURSOR;
    cur1 ref1;
    out_rec0 ind_tab_supplier0
    := ind_tab_supplier0(NULL,NULL);
    out_rec1 ind_tab_supplier1
    := ind_tab_supplier1(NULL);
    BEGIN
    v_itemCode := itemCode;
    OPEN cur0 FOR
    ' select t.ven_id , (select s.ven_name from ref_ven_vendor s '||
    'where s.ven_id = t.ven_id)
    "supplier_name" '||
    ' from ref_item_vendor t where t.itm_id = :1 '
    USING v_itemCode;
    LOOP
    FETCH cur0 INTO out_rec0.itp_supplier_code,
    out_rec0.itp_supplier_name;
    IF cur0%NOTFOUND THEN
    RETURN;
    END IF;
    out_rec1.ind_tab_supplier1.extend;
    out_rec1.ind_tab_supplier1(out_rec1.ind_tab_supplier1.count) :=
    out_rec0.itp_supplier_code;
    out_rec1.ITP_SUPPLIER.extend;
    out_rec1.ITP_SUPPLIER(out_rec1.ITP_SUPPLIER.count) :=
    out_rec0.itp_supplier_name;
    END LOOP;
    PIPE ROW(out_rec1);
    CLOSE cur0;
    RETURN;
    END GET_SUPPLIERS;
    At the end what i want to do is to run the following query if possible:
    select item_code, item_name, GET_SUPPLIERS( item_code )
    from item_table
    Thank you in advance for your help.

    Hi,
    Try this :
    While creating TYPE remove semi colon from end of the statement and also dont use extra / as / means execute last statement so you may encounter error..
    CREATE TYPE ind_tab_supplier1 IS VARRAY(6) OF VARCHAR2(30)
    /

  • IFS Install (Config) Fails with "ORA-00922: missing or invalid option"

    Greetings:
    Thanks for your help in advance...
    Towards the end of IFS installation, I get the following error in my
    IfsConfigOut.log file (This happens towards the end of the installation). I
    am Installing IFS on Oracle 9i (9.0.1.1 version) instance on Win 2K (P-III,
    800Mhz, 512Mb) . After this installation error, all the 9iFS directories
    and nodes are detected under OEM but when I start the domain I get no
    response for the same.
    ConfigOut File pasted below
    CONFIGURATION: SCHEMA CREATION TYPE
    Configuring Oracle Internet File System 9.0.1.1.0 configuration started on:
    Mon May 20 09:45:28 GMT+05:30 2002
    saving user configuration settings to file:
    saving:E:\oracle\ora90\9ifs\settings\oracle\ifs\installer\properties\IfsConf
    ig.properties
    saving:
    E:\oracle\ora90\9ifs\settings\oracle\ifs\server\properties\IfsDefault.proper
    ties
    Old schema name in IfsDefault.properties file = ifssys
    New schema name pointing to now = IFSSYS
    Create Schema = true
    Upgrading Schema = false
    Pointing to same schema as the old entry in IfsDefault.properties file =
    true
    Checking DC entries
    RUN DC = true
    Adding section for DC as there does not exist a section already
    Checking Node entries
    RUN NODE = true
    Adding Node section = Node
    saving: E:\oracle\ora90\9ifs\settings\Node.def
    saving: E:\oracle\ora90\9ifs\settings\HttpNode.def
    saving: E:\oracle\ora90\9ifs\settings\DomainController.def
    executing command:
    Empty command. Not executing
    executing command:
    Empty command. Not executing
    executing command:
    Empty command. Not executing
    creating database user (schema): IFSSYS
    java.sql.SQLException: ORA-00922: missing or invalid option
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
         at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled
    Code)
         at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java, Compiled
    Code)
         at oracle.jdbc.oci8.OCIDBAccess.parseExecuteFetch(OCIDBAccess.java,
    Compiled Code)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java,
    Compiled Code)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java,
    Compiled Code)
         at
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
    , Compiled Code)
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java,
    Compiled Code)
         at oracle.ifs.utils.sql.SQLCommands.createUser(SQLCommands.java:352)
         at
    oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.createIfsSchema(Ifs
    Configuration.java:546)
         at
    oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.perform(IfsConfigur
    ation.java:476)
         at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java,
    Compiled Code)
         at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:230)
         at java.lang.Thread.run(Thread.java:479)
    recording that configuration failed
    saving:E:\oracle\ora90\9ifs\settings\oracle\ifs\installer\properties\IfsConf
    ig.properties
    iFS configuration failed; the following error occurred:
    oracle.ifs.utils.action.ActionFailedException: java.sql.SQLException:
    ORA-00922: missing or invalid option
         at
    oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.perform(IfsConfigur
    ation.java:526)
         at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java,
    Compiled Code)
         at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:230)
         at java.lang.Thread.run(Thread.java:479)
    configuration failed on Mon May 20 09:45:35 GMT+05:30 2002

    Problem is Fixed !!!
    We were having this problem because IFS installation was not recognising a separate tablespace which we created for IFS, so we started using default USERS tablespace after which the installation was successful.
    Thanks.

  • ORA-00922: missing or invalid option

    I am using oracle 10g datbase.
    and trying to create a list of tables of 300 tables - a sampel is given below
    CREATE TABLE "SCHM1"."HOLIDAYS"
    ( "DATE" DATE NOT NULL ENABLE,
    "DESCR" VARCHAR2(40),
    "EXTRA_HOURS" NUMBER(2,0),
    "HOLIDAY_GROUP" VARCHAR2(5) NOT NULL ENABLE,
    "CREATED_BY" VARCHAR2(12),
    "CREATED_ON" DATE,
    "AMENDED_BY" VARCHAR2(12),
    "AMENDED_ON" DATE,
    CONSTRAINT "BANK_HOLIDAYSP1" PRIMARY KEY ("DATE", "HOLIDAY_GROUP")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_REF_INDEXES1" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_REF_DATA1"
    CREATE TABLE "SCHM1"."LODGEMENT"
    ( "BANK_LODGEMENT" NUMBER(10,0) NOT NULL ENABLE,
    "LODGEMENT_SLIP" NUMBER(12,0),
    "BRANCH" NUMBER(4,0),
    "EMPLOYEE" VARCHAR2(12),
    "LODGEMENT_DATIM" DATE,
    "SYS_DATIM" DATE,
    "TILL_DAT" DATE,
    "POSTED_FLG" VARCHAR2(1),
    "EMERGENCY_FLG" VARCHAR2(1),
    "CREATED_BY" VARCHAR2(12),
    "CREATED_ON" DATE,
    "AMENDED_BY" VARCHAR2(12),
    "AMENDED_ON" DATE,
    "LODGEMENT_GRP" NUMBER,
    CONSTRAINT "BANK_LODGEMENTP1" PRIMARY KEY ("BANK_LODGEMENT")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_INDEXES10" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_DATA10"
    when I executed this in sql window i get the error:
    ORA-00922: missing or invalid option
    when I run it from command prompt ,
    i get error like
    SP2-0734: unknown command beginning "USING INDE..." - rest of line ignored.
    SP2-0734: unknown command beginning "STORAGE(IN..." - rest of line ignored.
    SP2-0734: unknown command beginning "PCTINCREAS..." - rest of line ignored.
    SP2-0734: unknown command beginning "TABLESPACE..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    and it doesn't create the table. CAn someone let em know how I to create log of errors on execution so taht the session can be resumed and also
    help me in finding the error in this.
    Cheers
    Edited by: user1000979 on 02-Sep-2009 06:50

    Hi!
    there is just missing a sql terminator between the statements ...
    it is not a internal sql language ...
    i have no problems when execute it in sql*plus.
    tested with oracle 8i and XE
    CREATE TABLE "SCHM1"."HOLIDAYS"
    ( "DATE" DATE NOT NULL ENABLE,
    "DESCR" VARCHAR2(40),
    "EXTRA_HOURS" NUMBER(2,0),
    "HOLIDAY_GROUP" VARCHAR2(5) NOT NULL ENABLE,
    "CREATED_BY" VARCHAR2(12),
    "CREATED_ON" DATE,
    "AMENDED_BY" VARCHAR2(12),
    "AMENDED_ON" DATE,
    CONSTRAINT "BANK_HOLIDAYSP1" PRIMARY KEY ("DATE", "HOLIDAY_GROUP")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_REF_INDEXES1" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_REF_DATA1"
    CREATE TABLE "SCHM1"."LODGEMENT"
    ( "BANK_LODGEMENT" NUMBER(10,0) NOT NULL ENABLE,
    "LODGEMENT_SLIP" NUMBER(12,0),
    "BRANCH" NUMBER(4,0),
    "EMPLOYEE" VARCHAR2(12),
    "LODGEMENT_DATIM" DATE,
    "SYS_DATIM" DATE,
    "TILL_DAT" DATE,
    "POSTED_FLG" VARCHAR2(1),
    "EMERGENCY_FLG" VARCHAR2(1),
    "CREATED_BY" VARCHAR2(12),
    "CREATED_ON" DATE,
    "AMENDED_BY" VARCHAR2(12),
    "AMENDED_ON" DATE,
    "LODGEMENT_GRP" NUMBER,
    CONSTRAINT "BANK_LODGEMENTP1" PRIMARY KEY ("BANK_LODGEMENT")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_INDEXES10" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_DATA10"
    /Regards

  • ORA-00922  error when user calls sys.verify_function from forms

    Hi there,
    I have a form to change the user's current password.
    After user provides new password and clicks on OK button, it calls a database procedure called "change_pwd" which calls the Alter command.
    I modified the SYS.verify_function, which has the code
    -- rule Passwords can only contain A-Z, 0-9, _
       violate_rule_five := FALSE;
       FOR v_char IN 1 .. lv_pwd_len
       LOOP
          v_this_char := UPPER (SUBSTR (PASSWORD, v_char, 1));
          IF (   ((v_this_char >= 'A') AND (v_this_char <= 'Z'))
              OR ((v_this_char >= '0') AND (v_this_char <= '9'))
              OR (v_this_char = '_')
          THEN
             violate_rule_five := FALSE;
          ELSE
             violate_rule_five := TRUE;
             GOTO violrule5;
          END IF;
       END LOOP;
       <<violrule5>>
       IF violate_rule_five = TRUE
       THEN
                raise_application_error (-20600, lv_error_msg);
       END IF;When i try to change the password to 'blah-blah1' i expect it to show be error 20600. But instead shows ORA-00922.
    Why is this happening?
    All other rules in the verify_function are working correctly.
    Please help.
    I added the [ code ] tags to make the code easier to read.
    Message was edited by:
    Jan Carlin

    I have noticed just now that a dump file having a name like ifrun60_dump_299, is generated by FORMS every time I issue the aborted call to the foreign function.
    Inside the form dump file, apart from useless info like Registers and so on, the message:
    "Could not find Module32First"
    By a FILE/FIND/CONTAINING TEXT I searched all the DLLs, and I noticed that Module32First is a routine that can be found within each of the following DLLs:
    Cl32
    d2kwut32
    d2kwut60
    I tried to load those DLLs along with SECURSIGN.DLL by modifying the PROCEDURE LoadLibrary into the FFI-generated PLL code, and I have apparently no problem in loading all the DLLs that I wish, but the error persists, and that dump file is constantly generated, always looking for the "Module32First" routine.
    How can I avoid all that mess and the FRM-40734 error??

  • Generate Create Script creates scripts that won't run: ORA-00922: missing..

    I'm having trouble running a script that I created by using the Generate Create Script tool in Oracle Explorer. I created the following script by running the Generate Create Script on a table called, "ASPNET_APPLICATIONS":
    CREATE TABLE "DEV"."ASPNET_APPLICATIONS" ("APPLICATIONID" NUMBER,"APPLICATIONNAME" VARCHAR2(256 BYTE),"DESCRIPTION" VARCHAR2(256 BYTE)) TABLESPACE "USERS" PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 65536 MAXEXTENTS 2147483645 MINEXTENTS 1 )
    CREATE UNIQUE INDEX "DEV"."PK_APPS" ON "DEV"."ASPNET_APPLICATIONS" ("APPLICATIONID" ) TABLESPACE "USERS"
    CREATE UNIQUE INDEX "DEV"."IDX_APPS_APPNAME" ON "DEV"."ASPNET_APPLICATIONS" (LOWER(TRIM("APPLICATIONNAME")) ) TABLESPACE "USERS"
    ALTER TABLE "DEV"."ASPNET_APPLICATIONS" ADD ( CONSTRAINT "SYS_C004598" CHECK ("APPLICATIONNAME" IS NOT NULL) ENABLE VALIDATE )
    ALTER TABLE "DEV"."ASPNET_APPLICATIONS" ADD ( CONSTRAINT "SYS_C004597" CHECK ("APPLICATIONID" IS NOT NULL) ENABLE VALIDATE )
    I then deleted the table in my Oracle 10g database and ran the above script to recreate the table. The result is that I get an error the following error, ORA-00922: missing or invalid option. Does anyone know how to resolve this?
    Is anyone aware of any bugs in the Generate Create Script option of Oracle Explorer?

    Okay, I think I found my problem.
    I was trying to run the script created by Oracle Explorer directly from a Database project I added to my Solution in Visual Studio. Visual Studio is probably using some SQL Server specific tool when I select the Run or Run On option on the script.
    When running the same script directly in the Oracle 10g Home Page (Home > SQL > SQL Scripts), I had no problem. Everything executes correctly.
    Is anyone aware of another way to run Oracle scripts directly from Visual Studio? Do I have my project setup incorrectly? This is the first project I've used .NET and Oracle together, so if anyone has any suggestions, I'd really appreciate the help.
    Thanks,
    Mycole

  • ORA - 00922 Missing or Invalid option error while creating table

    I am tryin to create a table with the following syntax
    1 CREATE TABLE TEST_FOR_SCRIPT (
    2 TEST_A NUMBER NOT NULL
    3 ,TEST_B VARCHAR2(30) DEFAULT 'UNDEFINED' NOT NULL
    4 )
    5* @storage_parms_table_cmn
    6 /
    @storage_parms_table_cmn
    ERROR at line 5:
    ORA-00922: missing or invalid option
    Here, storage_parms_table_cmn.sql reads like this
    tablespace DBK_CMN_DATA
    Can anyone please guide me how to overcome this error.

    What is your Oracle Version?
    i can do it exactly what you did without error
    sql> CREATE TABLE vd.TEST_FOR_SCRIPT (
    2 TEST_A NUMBER NOT NULL
    3 ,TEST_B VARCHAR2(30) DEFAULT 'UNDEFINED' NOT NULL
    4 )
    5 @test1.sql
    6 /
    Table created.
    Cheers
    http://fiedizheng.blogspot.com/

  • ORA-00922: missing or invalid option in create seq, trigger

    Hi All,
    I am trying to create a table, sequence, and trigger with the following SQL and am getting the error:
    ORA-00922: missing or invalid option
    CREATE TABLE "DATA_INVENTORY"
    (     "ID" INTEGER NOT NULL ENABLE,
         "COE_CONTRACT_NUM" VARCHAR2(30),
         "PROJ_AREA" VARCHAR2(30),
         "STATE" VARCHAR2(30),
         "DATA_DATE" VARCHAR2(30) NOT NULL ENABLE,
         "NUM_OF_MEDIA" NUMBER,
         "DATA_TYPE" VARCHAR2(30)NOT NULL ENABLE,
         "MEDIA_TYPE" VARCHAR2(30)NOT NULL ENABLE,
         "EXTERNAL_DRIVE_DESCR" VARCHAR2(200),
         "ROOM_NUM" VARCHAR2(10)NOT NULL ENABLE,
         "DRAWER_NUM" VARCHAR2(30),
         "PROJ_CODE" VARCHAR2(30),
         "COMPANY" VARCHAR2(30),
         "DESCRIPTION" VARCHAR2(200),
         "NOTES" VARCHAR2(500),
         "INDEX" VARCHAR2(30),
         "INDEX_LINK" VARCHAR2(75),
         "DATA_LINK" VARCHAR2(75),
         "METADATA" VARCHAR2(75),
         "METADATA_LINK" VARCHAR2(75),
         "DISTRIBUTE" VARCHAR2(30)NOT NULL ENABLE,
         "CORPORATE" VARCHAR2(1)NOT NULL ENABLE,
         CONSTRAINT "DATA_INVENTORY_PK" PRIMARY KEY ("ID") ENABLE,
         CONSTRAINT "DATA_INVENTORY_UK1" UNIQUE ("COE_CONTRACT_NUM", "PROJ_AREA") ENABLE
    CREATE SEQUENCE "DATA_INVENTORY_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 324 CACHE 20 NOORDER NOCYCLE
    CREATE OR REPLACE TRIGGER "BI_DATA_INVENTORY"
    before insert on "DATA_INVENTORY"
    for each row
    begin
    select "DATA_INVENTORY_SEQ".nextval into :NEW.ID from dual;
    end;
    ALTER TRIGGER "BI_DATA_INVENTORY" ENABLE
    Does anyone see anything wrong with this?
    The create table part is alright but when I add the create sequence etc it causes the error
    Thanks,
    Kirk

    Hello Kirk,
    Your code work likes a charm. Check your privileges for creating sequences and triggers.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

  • Ora-00922 when building a model with Oracle Data Miner

    Hi,
    i'm using Oracle Data Miner 10.1.0.2 with Database 10.1.0.3.0 under Linux x86.
    The specific patch 10.1.0.3.1 for Data Mining was applied because i didn't manage to execute the models in the tutorial.
    So all were fine, and i succeded creating my own models and i executed them.
    But few months later, i.e now, i'm trying to build som other models but when building i have again the ora - 00922 : missing or invalid option
    I tried applying once again the patch but no effect !
    Is anyone ever faced this problem !?
    Eric

    Hi Xiafang,
    the database were not upgraded but used to build some ETL mappings.
    Here are the results of the SQL statements u gave me
    SQL> connect / as sysdba
    Connected.
    SQL> select value from v$option where parameter like '%Data Minin%';
    VALUE
    TRUE
    FALSE
    SQL> select comp_id, version, status from dba_registry;
    COMP_ID VERSION STATUS
    WK 10.1.0.3.0 VALID
    EM 10.1.0.3.0 VALID
    XDB 10.1.0.3.0 VALID
    AMD 10.1.0.3.0 VALID
    CONTEXT 10.1.0.3.0 VALID
    SDO 10.1.0.3.0 VALID
    ORDIM 10.1.0.3.0 VALID
    EXF 10.1.0.3.0 VALID
    OWM 10.1.0.2.0 VALID
    ODM 10.1.0.3.1 VALID
    CATALOG 10.1.0.3.0 VALID
    COMP_ID VERSION STATUS
    CATPROC 10.1.0.3.0 VALID
    JAVAVM 10.1.0.3.0 VALID
    XML 10.1.0.3.0 VALID
    CATJAVA 10.1.0.3.0 VALID
    APS 10.1.0.3.0 VALID
    XOQ 10.1.0.3.0 VALID
    Is the DM option enabled, i think yes but the SQL answer TRUE and FALSE.
    So, should i enable DM with the commands u gave me ?
    Eric

  • ORA-00922

    I am getting the following error ORA-00922 when create table with following
    CREATE TABLE XX1(
    A1 NUMBER ,
    A2 VARCHAR2(10)
    partition by list (a2)
    SUBPARTITION BY HASH(a1)
    SUBPARTITIONS 3
    partition P1 values ('1-10CSM' ),
    partition P2 values ('1-10DML' ),
    partition P3 values ('1-10HSH' ))
    Thanks,
    MR

    From oracle docs:--
    SUBPARTITIONS quantity Specify the default number of subpartitions in each partition of table, and optionally one or more tablespaces in which they are to be stored.The default value is 1. If you omit both this clause and subpartition_template, then the database will create each partition with one hash subpartition unless you subsequently specify the partition_level_subpartition clause.
    Restriction on Hash Subpartitioning
    * In addition to the restrictions for composite partitioning in general (see composite_partitioning ), for hash subpartitioning in subpartition_template, you cannot specify the list_values_clause.* >
    for hash subpartitioning in subpartition_template, you cannot specify the list_values_clause
    Refer to [http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1069995400346377652]
    Anand
    Edited by: Anand... on Apr 7, 2009 6:28 PM
    Added Asktom link

  • Please help: ORA-04030: Out of Process memory error when starting 9.0.1 iFS

    When starting the 9.0.1 iFS running on a 9.0.1.4 Database and Tru64 5.1 O/S, the following errors are displayed:
    IFS-35205: Failed to get prepared statement
    java.sql.SQLException:ORA-04030: Out of process memory when trying to allocate 1048 bytes (callheap,kghsstk).
    Database has the following parameters:
    shared pool 150M
    java pool 100M
    large pool 5M
    DB Cache 60M
    DB Block Size 8K
    Sort area size 1M
    Server has 1GB ram, 12GB swap.
    Please can anyone help?

    Hi Alan,
    your help with this is most appreciated!
    I ran your suggested generated SQL script, but at first the same problem was occuring with the first ALTER statement that happened to be generated.
    However, your explanation mentioned the view 'odm_publicobject' and although this view wasn't in the resulting SQL, I found that compiling the similarly named views in this order worked...
    ODMV_PUBLICOBJECT
    ODBV_PUBLICOBJECT
    ODMBS_PUBLICOBJECT
    ODMS_PUBLICOBJECT
    ODUS_PUBLICOBJECT
    ODUV_PUBLICOBJECT
    (Perhaps other combinations would have worked, but in anycase certainly some orders didn't work...)
    At this point, running the complete original generated SQL script then worked successfully and low and behold as you predicted, IFS started successfully.
    (I didn't actually bother removing these 6 already re-compiled views from the original script, so they got re-compiled twice...)
    So this means that we can now actually stop and start IFS as required without re-installing IFS everytime - which is obviously great!
    I will certainly be watching out for 9.0.3, but my understanding for the reason we were going with 9.0.1 in the first place was that this was included in the RDBMS CD-pack, whereas I believe from 9.0.2 onwards it was seperately licensed. I will check with our Oracle dba's.
    But at least we can prove in principle now whether it will suit our requirements....
    Once again, many thanks for looking into this at such a deep level - very much appreciated.
    Graham.

  • [HELP] ORA-01990 Error opening password file '/home/oracle/OraHome1/dbs/ora

    Dear All,
    I have changed the PWD file on oracle 9.2.04 under linux redhat advance server 2.1. but when i start to open database by issuing dbstart, i get
    ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2 : no such file or directory
    additional information: 3
    How to solve the problems?
    thanks and regard
    ER

    Hai all...
    I did it all..
    but still I got
    ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2 : no such file or directory
    additional information: 3
    Help me...
    Thanks
    regard
    ER

  • (HELP) ORA-27101: shared memory realm does not exist

    Contributors,
    I am a newbie in Oracle and have oracle database installed and working as expected until few days ago. One day i was getting these ugly messages when connecting via SQLplus
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Process ID: 0
    Session ID: 0 Serial number: 0I did some searches on this topic but haven't found solutions.
    * Some suggested to check[b] environment variables ORACLE_HOME and ORACLE_SID : my ORACLE_HOME is fine, and i DO NOT have ORACLE_SID on the day i realize the problem.
    I am not sure if ORACLE_SID variable is usually exist when my database was up and running. So i set ORACLE_SID yet did not help.
    * Some said check if the required services are running :
    - OracleOraDb11g_home1TNSListener : RUNNING
    - OracleServiceORCL : RUNNING
    * Other said that they have the same problem, but everything back to normal after several hours without anything configured / changed (miraculous)
    * I tried to restart or shut down, but no luck
    * In the same thread few days ago, Vlado helped me with suggestion to acces ADRCI and type SHOW PROBLEM also SHOW INCIDENT
    but the reply is DIA-48494: ADR home is not set, the corresponding operation cannot be done* Other implied to check the .ora files in NETWORK\ADMIN. I will post it (TNSNAMES.ORA, LISTENER.ORA, SQLNET.ORA) after this.
    My platform and some info :
    * OS : MS Windows Vista Ultimate
    * Oracle Database 11g Release 1 (11.1.0.6.0) Enterprise/ Standard Edition for Microsoft Windows 32-bit
    Mostly i used SQLplus and SQLdeveloper, for developing procedures/ functions/ packages in Oracle Spatial.
    Also, am running it in one laptop (server and client altogether).
    There is only one database in the Laptop (no other oracle database).
    How to fix this ? Please kindly help me.
    Many thanks in advance,
    Damon

    Here are the ORA files :
    ( Btw the service name / SID is "orcl")
    =====================================
    TNSNAMES.ORA
    # tnsnames.ora Network Configuration File: C:\ORACLE\product\11.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = geoltmatt)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
      )=====================================
    LISTENER.ORA
    # listener.ora Network Configuration File: C:\ORACLE\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = geoltmatt)(PORT = 1521))
      )=====================================
    SQLNET.ORA
    # sqlnet.ora Network Configuration File: C:\ORACLE\product\11.1.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)=====================================
    also other said that we need to issue commands like
    LSNRCTL STATUS
    TNSPING [host]
    Here they are :
    LSNRCTL STATUS
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 22-MAY-2008 18:12
    :46
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
    ction
    Start Date                22-MAY-2008 12:03:17
    Uptime                    0 days 6 hr. 9 min. 29 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\ORACLE\product\11.1.0\db_1\network\admin\listener.o
    ra
    Listener Log File         c:\oracle\product\11.1.0\db_1\log\diag\tnslsnr\geoltma
    tt\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=geoltmatt)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    TNSPING [host]
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 22-MAY-2
    008 18:14:15
    Copyright (c) 1997, 2007, Oracle.  All rights reserved.
    Used parameter files:
    C:\ORACLE\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTO
    COL=TCP)(HOST=128.250.171.197)(PORT=1521)))
    OK (0 msec)Please kindly help me... (also thanks for vlado)
    TIA.
    =Damon

  • Urgent Please help: ORA-00940: invalid ALTER command

    I am not able to start my oracle db that is running Solaris 10, Oracle 10g.
    I made the following changes to Oracle Parameter and now I am not able to start.
    alter system set "_fix_control"='5705630:ON' scope=spfile;
    I get this error: ORA-00940: invalid ALTER command
    I am not even able to reset that parameter back, since oracle db won't start?
    I get this error when i run "startsap: on command
    Please help
    Thanks
    Kuamr
    Message was edited by:
            Kumar Subramaniam
    Message was edited by:
            Kumar Subramaniam

    I have renameed the spfile and try to start sap using initPR2.ora file and it worked fine and then I did this to re-create teh spfile.
    sqlplus / assysdba
    create spfile from pfile;
    shutdown immediate;
    startup;
    Everything works fine.
    Thanks for the quick response.

  • Ora-00922 error in Runtime assistant

    OWB : OWB10g,
    Oracle : Oracle10g,
    OS : Windows XP
    I have installed OWB10g on the same machine as Oracle10g but in separate oracle homes. I have successfully run OWB Repository assistant. In Runtime Assistant after giving inputs in all the pages ie after coming to summary page when I press finish it gives ORA-0922 { You must enter a valid user name ).
    All the usernames are valid. I tried giving all the usernames and password in upper case, even that doesnt help. I created users for runtime and access user in oracle and in owb chose the option for using existing user but still I get this error.
    Any idea, what am I missing ??

    Hi,
    I too am experiencing this error when trying to configure a repository. I enter all the SYS details and for the OWB a/c. There was mention of invalid characters in the password , we use '-' , would this cause a problem.
    Also, I am using an Oracle XE database for the repository, is there any limitation on this? Or do I need a full 10g instance?
    Many thanks
    Gary Revell.

Maybe you are looking for

  • Have I made a mistake buying an Core Duo?

    Hi Am I doomed, Have I commited a crime, Am I going to be dissapointed? I am getting worried here, as I sit glaring onto the screen of my new Intel Core Duo 20", and staring even harder at the lovely black box of my Motion 2 Software which I can't do

  • Admin console crashes when creating a new program

    Recently, .NET 4.5 and Windows 8.1 ADK was installed to update the KMS Host on our server that is shared with the ConfigMgr Primary Site server.  Since then, the Admin Console has been crashing every time I try to create a new program on any package

  • Report Painter,help!!

    Dear All, When i create a report in Report Painter and execute, it requires insert report in report group, i chose once of report group --> ok, but an error occurs: "Objects with leading zero may not be changed". So, what can i do? pls help me. Thank

  • How to connect to a Monitor?

    Hello all! I have a Macbook and I want to connect it to a Monitor so that I can work on a big screen for some of works. Is it possible to do so? Are there any cables or adapters which can be used to connect the Macbook to the monitor? Thanks for your

  • How to - user profile migration 6.0 -- 6.0

    How to - user profile migration 6.0 --> 6.0 We have an existing 6.0 portal deployed to a fairly large number of users internal to our company. We have been activly developing for our next release which includes tabs and a few new custom providers and