Creating Oracle constraints

Hi. I don't have much experience in working with Oracle database and so I’m hoping somebody could help me here. I need some directions in being able to create a constraint on a table to reject data in a column that does not have Capital/Uppercase letters. Thanks in advance for any suggestions.
AB

Hi,
  Another consideration if business rule state that particular column/s value MUST BE in
UPPER CASE, then can use trigger to enforce it rather than rejecting user's input
so there's no worry if user uses lower or upper case during input.
HTH
Zack                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Table does not exist when creating FK Constraint across schemas

    Hi all,
    This will probably boil down to a permissions issue since I'm sketchy on the various levels....
    I'm testing a conversion to Oracle from our legacy system. There are 4 schemas which I've created and each of those schema users have been granted DBA roles.
    After creating a number of tables I wrote the SQL to create the FK Constraints. Most of them went in, but the ones crossing schemas don't. Logged in as SYS, I can do a select from each table, I can even JOIN the two in the SELECT. However when I try creating the constraint it give me a: ORA-00942: table or view does not exist
    ALTER TABLE USERA.TABLEA ADD FOREIGN KEY (COLA) REFERENCES USERB.TABLEB (COLA) ON DELETE CASCADE
    Again, I have scads of commands that went in correctly so this must be a permissions type thing. I'm the only one logged into the database since it's my own test system. This is 10g BTW.
    If you have any suggestions as what to look into, please explain how to actually perform the checks since I'm still learning how to get around.
    Thanks very much!

    To bulk grant, you can use dynamic SQL; somthing like this:
    <BR><BR>
    SQL> declare
      2    l_grantor VARCHAR2(30) := 'USERA';
      3    l_grantee VARCHAR2(30) := 'USERB';
      4  begin
      5    for table_rec in (select owner,table_name from all_tables where OWNER=l_grantor) loop
      6      execute immediate 'GRANT REFERENCES ON '||table_rec.OWNER||'.'||table_rec.TABLE_NAME||' TO '||l_grantee;
      7    end loop;
      8  end;
      9  /

  • Cascade Update in Oracle Constraint ?

    How can I create a Constraint in Oracle 9i with Cascade Update Option like On Delete Cascade.
    It means, if I change the primary key of master table, the foreign key of all the relevant child tables should be updated automatically.
    Any idea please ?
    Best Regards,
    Luqman

    Oracle doesn't intrinsically have the concept of a CASCADE UPDATE.
    From a data modeling standpoint, primary keys should never, ever change under any circumstances. If a column can ever change, it should not be used as a primary key.
    Tom Kyte has a package and some code to generate triggers that would do this sort of thing
    http://asktom.oracle.com/~tkyte/update_cascade/index.html
    but I would strongly suggest you change the data model rather than going down that path.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Workbench hang's while are creating oracle model of informix BD

    Hi,
    we are testing to migrate informix 9.40 to Oracle 10g and when the migration workbench is Creating Oracle Model it is hang while it is treating one foreing key.
    The Foreing key in informix is:
    alter table "dtmpub00".we_docpalabras add constraint (foreign
    key (codi) references "dtmpub00".we_palabras constraint "dtmpub00".fk_ref_21_15211);
    The columns codi in the two tables are of type informix integer.
    In the BD are others seemed foreings keys that workbench seems that to migrated correctly.
    In the error.log file appears the following error message:
    ** Oracle Migration Workbench
    ** Production
    ** ( Build 20050629 )
    ** OMWB_HOME: C:\Documents and Settings\ut10603.DOMINI_TMB\Escritorio\Migración ORACLE\Migration Workbench 10.1.0\omwb
    ** user language: es
    ** user region: null
    ** user timezone:
    ** file encoding: Cp1252
    ** java version: 1.4.2_04
    ** java vendor: Sun Microsystems Inc.
    ** o.s. arch: x86
    ** o.s. name: Windows XP
    ** o.s. version: 5.1
    ** Classpath:
    ..\lib\boot.jar
    ** Started : Mon Jul 03 12:05:33 CEST 2006
    ** Workbench Repository : Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Repository Connection URL: jdbc:oracle:thin:@neptuno:1521:orcl
    ** The following plugins are installed:
    ** Informix Dynamic Server 9.x Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 2000 Plugin, Production Release 10.1.0.4.0
    ** Active Plugin : Informix9
    java.util.NoSuchElementException
         at java.util.Vector.firstElement(Unknown Source)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertForeignKey(OracleModelImpl.java:4645)
         at oracle.mtg.informix7.server.Informix7SourceModelMap._mapForeignKeys(Informix7SourceModelMap.java:3640)
         at oracle.mtg.informix7.server.Informix7SourceModelMap.mapSourceModel(Informix7SourceModelMap.java:326)
         at oracle.mtg.informix7.ui.Informix7CaptureWizard.map(Informix7CaptureWizard.java:390)
         at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:457)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:95)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    Any aid will be appreciated.
    Thanks
    José Manuel Rodríguez

    José,
    This looks like a bug. Can you raise a bug with Oracle support, so we can build an appropriate test case to reproduce and fix within development.
    Donal

  • How to exclude create oracle job when during oracle imp

    Hi Expert,
    I would like to know how to exclude create oracle job during oracle import . It is schema export. Tks
    Regard
    Liang

    Oracle attempts to reimport job definitions as well. However, if you have an existing job with the same JOB_ID, the job definition fails (as there is a Unique Constraint on it).
    So, one "workaround" is to precreate dummy jobs before the import (which also means that the database account must be created in advance). To ensure that the JOB_ID is the same, you may have to keep incrementing the JOB_ID sequence.
    Hemant K Chitale

  • How do I create "Oracle Application Express Adminstrator" in APEX 3.2.1?

    Hello,
    Quite the newbie so I appreciate any assistance with this.
    How do create "Oracle Application Express Adminstrator" in APEX 3.2.1? I am not talking about a workspace adminstrator but an Entire APEX instance administrator or "superuser"?
    I log into APEX_ADMIN as ADMIN and understand how to create a new user. But how do I grant the new user DBA or "super user" privlidges? It was easy to do when I first installed XE, I would just "check" the "DBA" when I created the user. But when I upgraded to APEX 3.2.1 the function does not seem to be there?
    Thank you for any help you can provide!

    Hi,
    I think you can not grant DBA role from Apex anymore.
    You need connect to database e.g. with SYS user and grant that role.
    http://www.oracle.com/technology/products/database/application_express/html/3.2_and_xe.html
    Br, Jari

  • Error in creating oracle 10g EE db manually in Win XP SP2 OS

    First of all. Sorry if I don't have a good English...
    My operating system is Windows XP SP2
    I'd created script files below for creating Oracle database manually:
    dbcamin.bat
    mkdir C:\oracle\product\10.2.0\admin\dbcamin\adump
    mkdir C:\oracle\product\10.2.0\admin\dbcamin\bdump
    mkdir C:\oracle\product\10.2.0\admin\dbcamin\cdump
    mkdir C:\oracle\product\10.2.0\admin\dbcamin\udump
    mkdir C:\oracle\product\10.2.0\admin\dbcamin\dpdump
    mkdir C:\oracle\product\10.2.0\flash_recovery_area\dbcam in
    mkdir C:\oracle\product\10.2.0\admin\dbcamin\pfile
    mkdir C:\oracle\product\10.2.0\cfgtoollogs\emca\dbcamin
    mkdir C:\oracle\product\10.2.0\flash_recovery_area
    mkdir C:\oracle\product\10.2.0\oradata\dbcamin
    set ORACLE_SID=dbcamin
    C:\oracle\product\10.2.0\db_1\bin\oradim.exe -new -sid DBCAMIN -startmode manual -spfile
    C:\oracle\product\10.2.0\db_1\bin\oradim.exe -edit -sid DBCAMIN -startmode auto -srvcstart system
    C:\oracle\product\10.2.0\db_1\bin\sqlplus /nolog @C:\oracle\product\10.2.0\admin\dbcamin\scripts\db camin.sql
    CreateDB.sql
    connect SYS/dbcamin as SYSDBA
    set echo on
    spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\Cre ateDB.log
    startup nomount pfile="C:\oracle\product\10.2.0\db_1\database\init dbcamin.ora";
    CREATE DATABASE dbcamin
    MAXINSTANCES 8
    MAXLOGHISTORY 1
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    DATAFILE 'C:\oracle\product\10.2.0\oradata\dbcamin\system01 .dbf' SIZE 300M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL
    SYSAUX DATAFILE 'C:\oracle\product\10.2.0\oradata\dbcamin\sysaux01 .dbf' SIZE 120M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE 'C:\oracle\product\10.2.0\oradata\dbcamin\temp01.d bf' SIZE 20M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE 'C:\oracle\product\10.2.0\oradata\dbcamin\undotbs0 1.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    CHARACTER SET AL32UTF8
    NATIONAL CHARACTER SET AL16UTF16
    LOGFILE GROUP 1 ('C:\oracle\product\10.2.0\oradata\dbcamin\redo01. log') SIZE 51200K,
    GROUP 2 ('C:\oracle\product\10.2.0\oradata\dbcamin\redo02. log') SIZE 51200K,
    GROUP 3 ('C:\oracle\product\10.2.0\oradata\dbcamin\redo03. log') SIZE 51200K
    USER SYS IDENTIFIED BY dbcamin USER SYSTEM IDENTIFIED BY dbcamin;
    spool off
    CreateDBCatalog.sql
    connect SYS/dbcamin as SYSDBA
    set echo on
    spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\Cre ateDBCatalog.log
    @C:\oracle\product\10.2.0\db_1\rdbms\admin\catalog .sql;
    @C:\oracle\product\10.2.0\db_1\rdbms\admin\catbloc k.sql;
    @C:\oracle\product\10.2.0\db_1\rdbms\admin\catproc .sql;
    @C:\oracle\product\10.2.0\db_1\rdbms\admin\catoctk .sql;
    @C:\oracle\product\10.2.0\db_1\rdbms\admin\owminst .plb;
    connect SYSTEM/dbcamin
    @C:\oracle\product\10.2.0\db_1\sqlplus\admin\pupbl d.sql;
    connect SYSTEM/dbcamin
    set echo on
    spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\sql PlusHelp.log
    @C:\oracle\product\10.2.0\db_1\sqlplus\admin\help\ hlpbld.sql helpus.sql;
    spool off
    spool off
    CreateDBFiles.sql
    connect SYS/dbcamin as SYSDBA
    set echo on
    spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\Cre ateDBFiles.log
    CREATE SMALLFILE TABLESPACE "USERS" LOGGING DATAFILE 'C:\oracle\product\10.2.0\oradata\dbcamin\users01. dbf' SIZE 5M REUSE AUTOEXTEND ON NEXT 1280K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
    ALTER DATABASE DEFAULT TABLESPACE "USERS";
    spool off
    dbcamin.sql
    set verify off
    PROMPT specify a password for sys as parameter 1;
    DEFINE sysPassword = dbcamin
    PROMPT specify a password for system as parameter 2;
    DEFINE systemPassword = dbcamin
    host C:\oracle\product\10.2.0\db_1\bin\orapwd.exe file=C:\oracle\product\10.2.0\db_1\database\PWDdbc amin.ora password=dbcamin force=y
    @C:\oracle\product\10.2.0\admin\dbcamin\scripts\Cr eateDB.sql
    @C:\oracle\product\10.2.0\admin\dbcamin\scripts\Cr eateDBFiles.sql
    @C:\oracle\product\10.2.0\admin\dbcamin\scripts\Cr eateDBCatalog.sql
    @C:\oracle\product\10.2.0\admin\dbcamin\scripts\lo ckAccount.sql
    @C:\oracle\product\10.2.0\admin\dbcamin\scripts\po stDBCreation.sql
    lockAccount.sql
    set echo on
    spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\loc kAccount.log
    BEGIN
    FOR item IN ( SELECT USERNAME FROM DBA_USERS WHERE USERNAME NOT IN ('SYS','SYSTEM') )
    LOOP
    dbms_output.put_line('Locking and Expiring: ' || item.USERNAME);
    execute immediate 'alter user ' || item.USERNAME || ' password expire account lock' ;
    END LOOP;
    END;
    spool off
    postDBCreation.sql
    connect SYS/dbcamin as SYSDBA
    set echo on
    spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\pos tDBCreation.log
    connect SYS/dbcamin as SYSDBA
    set echo on
    create spfile='C:\oracle\product\10.2.0\db_1\dbs\spfiledb camin.ora' FROM pfile='C:\oracle\product\10.2.0\db_1\database\init dbcamin.ora';
    shutdown immediate;
    connect SYS/dbcamin as SYSDBA
    startup ;
    select 'utl_recomp_begin: ' || to_char(sysdate, 'HH:MIS') from dual;
    execute utl_recomp.recomp_serial();
    select 'utl_recomp_end: ' || to_char(sysdate, 'HH:MIS') from dual;
    connect SYS/dbcamin as SYSDBA
    spool C:\oracle\product\10.2.0\admin\dbcamin\scripts\pos tDBCreation.log
    initdbcamin.ora
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # NLS
    nls_language="ENGLISH"
    nls_territory="AMERICA"
    # Miscellaneous
    compatible=10.2.0.1.0
    # Cursors and Library Cache
    cursor_sharing=similar
    open_cursors=300
    # Archive
    LOG_ARCHIVE_DEST_1='LOCATION=C:\oracle\product\10. 2.0\flash_recovery_area\dbcamin\ARCHIVELOG'
    LOG_ARCHIVE_DEST_STATE_1=ENABLE
    LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
    LOG_ARCHIVE_START=TRUE
    # Diagnostics and Statistics
    BACKGROUND_DUMP_DEST=C:\oracle\product\10.2.0\admi n\dbcamin\bdump
    CORE_DUMP_DEST=C:\oracle\product\10.2.0\admin\dbca min\cdump
    TIMED_STATISTICS=TRUE
    USER_DUMP_DEST=C:\oracle\product\10.2.0\admin\dbca min\udump
    # Cache and I/O
    db_block_size=4096
    db_cache_size=25165824
    db_file_multiblock_read_count=16
    # System Managed Undo and Rollback Segments
    undo_management=auto
    undo_retention=120
    undo_tablespace=UNDOTBS1
    # Security and Auditing
    audit_file_dest=C:\oracle\product\10.2.0\admin\dbc amin\adump
    audit_trail=db
    remote_login_passwordfile=EXCLUSIVE
    # Database Identification
    db_domain=""
    db_name=dbcamin
    instance_name=dbcamin
    # File Configuration
    control_files=("C:\oracle\product\10.2.0\oradata\d bcamin\control01.ctl", "C:\oracle\product\10.2.0\oradata\dbcamin\control0 2.ctl")
    db_recovery_file_dest=C:\oracle\product\10.2.0\fla sh_recovery_area
    db_recovery_file_dest_size=2147483648
    # Processes and Sessions
    processes=60
    sessions=71
    # Distributed, Replication and Snapshot
    DB_DOMAIN=us.oracle.com
    REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
    # Redo Log and Recovery
    FAST_START_MTTR_TARGET=300
    but I'd got some errors when I tried to start up or alter database open the database...
    This is the message..
    Oracle instance terminated. Disconnection forced.
    when I tried to check the process inside the command prompt I list some of the errors like written below...
    SQL> create or replace view v_$_lock as select * from v$_lock;
    create or replace view v_$_lock as select * from v$_lock;
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04031: unable to allocate 84 bytes of shared memory ("shared pool","select inst_id,addr,ksqlkadr...","Typecheck","opndef:qkex rAddMatching1")
    SQL> grant select on v_$_lock to select_catalog_role;
    grant select on v_$_lock to select_catalog_role;
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> grant select on v_$flashback_database_logfile to select_catalog_role;
    grant select on v_$flashback_database_logfile to select_catalog_role
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04031: unable to allocate 212 bytes of shared memory ("shared pool","select i.obj#,i.ts#,i.file#,...","sql area","KGHSC_ALLOC_BUF:buf")
    SQL> create or replace public synonim gv$dlm_all_locks;
    create or replace public synonim gv$dlm_all_locks
    ERROR at line 1:
    ORA-04031: unable to allocate 3904 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","kglsim object batch")
    SQL> grant select on gv$dlm_all_locks to select_catalog_role;
    grant select on gv$dlm_all_locks to select_catalog_role;
    ERROR at line 1:
    ORA-04031: unable to allocate 3904 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","kglsim object batch")
    CREATE OR REPLACE PACKAGE dbms_registry_server IS
    ERROR at line 1:
    ORA-06554: package DBMS_STANDARD must be created before using PL/SQL
    CREATE OR REPLACE PACKAGE BODY dbms_registry
    ERROR at line 1:
    ORA-06554: package DBMS_STANDARD must be created before using PL/SQL
    SQL> BEGIN
    2 dbms_registry.loading('CATALOG', 'Oracle Database Catalog Views',
    3 'dbms_registry_sys.validate_catalog');
    4 END;
    5 /
    BEGIN
    *ERROR at line 1:
    ORA-06553: PLS-213: package STANDARD not accessible
    at last... what's wrong???what should I do???
    TQ before and after.
    GBU

    Try to add
    SGA_TARGET=300mto your initdbcamin.ora file.
    Bartek

  • Error When Creating Oracle Text index using Lexer Keyword

    Hi All,
    I am getting following error when i creating oracle text index using lexer & stoplist keyword.
    Pls Help me if any body know.
    Thanks in Advance.
    Error starting at line 1 in command:
    CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
    Post INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
    PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
    PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
    Error at Command Line:1 Column:13
    Error report:
    SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-11000: invalid keyword LEXER
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 365
    29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
    *Cause:    Failed to successfully execute the ODCIIndexCreate routine.
    *Action:   Check to see if the routine has been coded correctly.
    Regards,
    Jack R.

    Hi,
    it works if you put an extra PARAMETERS clause at the end so the creation looks like:
    CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
    INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
    PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
    PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
    PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') <== Added
    Hope this helps
    Herald ten Dam

  • Problem Creating Oracle Schema in Active Directory

    Hi,
    I am trying to integrate oracle 9i in an Microsoft Active directory domain
    I tried to integrate the db in the domain using net configuration assistant on the Oracle Client but
    I get always the same error after inserting the fully name of domain controller and confirm to create the oracle schema. The error I get is:
    “The Assistant is unable to create or update
    the schema for the following reason:
    ConfigException: Could not create Oracle schema oracle.net.config.ConfigException
    You must update the schema from a computer which directly supports
    your type of directory."
    Also I checked every requirement to install:
    -Log on as an Administrative account in the domain
    -Enable active directory schema changes
    -ping the whole dns domain, the fqdn of my domain controller is dc.ecm.com, I can:
    ping dc.ecm.oracle
    At this point I don’t know anymore what I can do.
    Please help me
    Thank you in advance
    Fahim Ghauri

    Take a look at metalink Note:361192.1
    Bug 3975572 - "...Netca 10g can successfully create a schema and context in W2k but does not in W2003. This reproduces on both the domain server and a client..."

  • Creating Oracle service in Oracle 8i Client for Oracle 10g XE

    Hi all
    We tried Oracle 10g XE on one Machine X - OS Windows XP Professional SP2 , It had earlier Oracle 8i Client. It installed fine. It is wonderful and easy to install.
    Services started automatic for listner as well as OracleXE. We are able to create fresh Oracle Service in Oracle 8i client as well from the same machine X.
    Problem
    We are not able to create Oracle Service from another machine say Y which also has Oracle 8i client with the Oracle 10g XE service. We get TNS Problem error.
    Kindly guide as to how to make oracle service with OracleXE from some other machine. OracleXE does not install networking tools.
    Suresh Bansal

    Oracle XE doesn't install assistants such as dbca or netca, don't expect to find them, XE is a compact and limited oracle edition.
    >> We get TNS Problem error.
    Could you please further detail the tns error you got?
    ~ Madrid

  • Creating Oracle Obj Model hangs - SQLServer 2000 to Oracle9i

    Migration Workbench process appears to hang during "Mapping Priomary Keys" while creating Oracle Object Model. I am migrating SQLServer 2000 database to Oracle 9i. All on one single PC using Windows 2000 server. I downloaded latest SQLServer 2000 plugin and I have .NET Framework installed which inturn installs MDAC 2.7 (supposed have latest ODBC driver). ODBC driver for SQLServer 2000 version is : 2000.81.7713.00
    Following is the info in Error.log file I have under %ORACLE_HOME%\omwb\log directory.
    ERROR.LOG File Starts here
    =================================================================================
    ** Oracle Migration Workbench
    ** Release 2.0.2.0.0 Production
    ** ( Build 20011121 )
    ** ORACLE_HOME: D:\Oracle\Ora91
    ** user language: en
    ** user region: US
    ** user timezone: PST
    ** file encoding: Cp1252
    ** java version: 1.1.8.10
    ** java vendor: Oracle Corporation
    ** o.s. arch: x86
    ** o.s. name: Windows NT
    ** o.s. version: 5.0
    ** Classpath:
    D:\Oracle\Ora91\Omwb\olite\Oljdk11.jar;D:\Oracle\Ora91\Omwb\olite\Olite40.jar;D:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;D:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;D:\Oracle\Ora91\Omwb\jlib;D:\Oracle\Ora91\Omwb\jlib\Omwb.jar;D:\Oracle\Ora91\jlib\oembase-9_0_1.jar;D:\Oracle\Ora91\jlib\netcfg.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer6.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer7.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer2K.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase11.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase12.jar;D:\Oracle\Ora91\Omwb\plugins\MSAccess.jar;D:\Oracle\Ora91\Omwb\plugins\MySQL.jar;D:\Oracle\Ora91\Omwb\drivers\mm.mysql.jdbc-1.2a;D:\Oracle\Ora91\Omwb\plugins\Informix7.jar;D:\Oracle\Ora91\Omwb\drivers\ifxjdbc.jar;D:\Oracle\Ora91\lib\xmlparserv2.jar;D:\Oracle\Ora91\rdbms\jlib\xsu111.jar;D:\Oracle\Ora91\jdbc\lib\classes111.zip;D:\Oracle\Ora91\lib\vbjorb.jar;D:\Oracle\Ora91\jlib\ewt-swingaccess-3_3_18.jar;D:\Oracle\Ora91\jlib\ewt-3_3_18.jar;D:\Oracle\Ora91\jlib\ewtcompat-3_3_15.jar;D:\Oracle\Ora91\jlib\share-1_1_9.jar;D:\Oracle\Ora91\jlib\help-3_2_9.jar;D:\Oracle\Ora91\jlib\ice-5_06_3.jar;D:\Oracle\Ora91\jlib\kodiak-1_2_1.jar
    ** Started : Fri Apr 05 13:31:12 PST 2002
    ** The following plugins are installed:
    ** Microsoft SQLServer 2000 Release 2.0.2.0.0 Production
    java.sql.SQLException: ORA-01418: specified index does not exist
    java.util.NoSuchElementException
         at java.util.Vector.firstElement(Vector.java:433)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4055)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4022)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap._mapPrimaryKeys(SQLServer2KSourceModelMap.java:3092)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap.mapSourceModel(SQLServer2KSourceModelMap.java:271)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.doCapture(SQLServer2KCaptureWizard.java:948)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard._runDialog(SQLServer2KCaptureWizard.java:736)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.capture(SQLServer2KCaptureWizard.java:656)
         at oracle.mtg.migrationUI.ActionMenuHandler._capture(ActionMenuHandler.java:212)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:89)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    ** Shutdown : Fri Apr 05 13:34:39 PST 2002
    ===================================================================
    ERROR.LOG File ends here
    Any help is really appreciated
    Thanks,
    Brunda

    Migration Workbench process appears to hang during "Mapping Priomary Keys" while creating Oracle Object Model. I am migrating SQLServer 2000 database to Oracle 9i. All on one single PC using Windows 2000 server. I downloaded latest SQLServer 2000 plugin and I have .NET Framework installed which inturn installs MDAC 2.7 (supposed have latest ODBC driver). ODBC driver for SQLServer 2000 version is : 2000.81.7713.00
    Following is the info in Error.log file I have under %ORACLE_HOME%\omwb\log directory.
    ERROR.LOG File Starts here
    =================================================================================
    ** Oracle Migration Workbench
    ** Release 2.0.2.0.0 Production
    ** ( Build 20011121 )
    ** ORACLE_HOME: D:\Oracle\Ora91
    ** user language: en
    ** user region: US
    ** user timezone: PST
    ** file encoding: Cp1252
    ** java version: 1.1.8.10
    ** java vendor: Oracle Corporation
    ** o.s. arch: x86
    ** o.s. name: Windows NT
    ** o.s. version: 5.0
    ** Classpath:
    D:\Oracle\Ora91\Omwb\olite\Oljdk11.jar;D:\Oracle\Ora91\Omwb\olite\Olite40.jar;D:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;D:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;D:\Oracle\Ora91\Omwb\jlib;D:\Oracle\Ora91\Omwb\jlib\Omwb.jar;D:\Oracle\Ora91\jlib\oembase-9_0_1.jar;D:\Oracle\Ora91\jlib\netcfg.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer6.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer7.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer2K.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase11.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase12.jar;D:\Oracle\Ora91\Omwb\plugins\MSAccess.jar;D:\Oracle\Ora91\Omwb\plugins\MySQL.jar;D:\Oracle\Ora91\Omwb\drivers\mm.mysql.jdbc-1.2a;D:\Oracle\Ora91\Omwb\plugins\Informix7.jar;D:\Oracle\Ora91\Omwb\drivers\ifxjdbc.jar;D:\Oracle\Ora91\lib\xmlparserv2.jar;D:\Oracle\Ora91\rdbms\jlib\xsu111.jar;D:\Oracle\Ora91\jdbc\lib\classes111.zip;D:\Oracle\Ora91\lib\vbjorb.jar;D:\Oracle\Ora91\jlib\ewt-swingaccess-3_3_18.jar;D:\Oracle\Ora91\jlib\ewt-3_3_18.jar;D:\Oracle\Ora91\jlib\ewtcompat-3_3_15.jar;D:\Oracle\Ora91\jlib\share-1_1_9.jar;D:\Oracle\Ora91\jlib\help-3_2_9.jar;D:\Oracle\Ora91\jlib\ice-5_06_3.jar;D:\Oracle\Ora91\jlib\kodiak-1_2_1.jar
    ** Started : Fri Apr 05 13:31:12 PST 2002
    ** The following plugins are installed:
    ** Microsoft SQLServer 2000 Release 2.0.2.0.0 Production
    java.sql.SQLException: ORA-01418: specified index does not exist
    java.util.NoSuchElementException
         at java.util.Vector.firstElement(Vector.java:433)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4055)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4022)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap._mapPrimaryKeys(SQLServer2KSourceModelMap.java:3092)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap.mapSourceModel(SQLServer2KSourceModelMap.java:271)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.doCapture(SQLServer2KCaptureWizard.java:948)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard._runDialog(SQLServer2KCaptureWizard.java:736)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.capture(SQLServer2KCaptureWizard.java:656)
         at oracle.mtg.migrationUI.ActionMenuHandler._capture(ActionMenuHandler.java:212)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:89)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    ** Shutdown : Fri Apr 05 13:34:39 PST 2002
    ===================================================================
    ERROR.LOG File ends here
    Any help is really appreciated
    Thanks,
    Brunda

  • How to Create Oracle AQ in oracle XE 10.2.0.1.0

    i am try to create Advanced Queue in oracle xe 10.2.0.1.0 .
    for that i need one clarification.whatever i mensiond in the below packeges.
    is it required to create Queue?.
    if it is required. how we get this in our database.
    is this packeges automatically availble whenever instaled the oracle xe 10.2.0.1.0.
    1.DBMS_AQ
    2.DBMS_AQADM
    2. Question: i am try to create AQ in oracle XE 10.2.0.1.0
    Fallow the below steps:
    1.CREATE USER testq IDENTIFIED BY x;
    2.GRANT connect, resource, dba TO testq;
    3.GRANT aq_administrator_role, aq_user_role TO testq;
    4.GRANT create type TO testq;
    After 4 step i execute below sql command.getting the error .
    Error is : ORA-00942: table or view does not exist .why i am getting this error.
    CREATE OR REPLACE TYPE event_msg_type AS OBJECT (
    name VARCHAR2(10),
    current_status NUMBER(5),
    next_status NUMBER(5)
    pls help me on this ASAP.

    I am using the data base Oracle XE 10.2.0.1.0
    Reference Link: http://www.orafaq.com/wiki/Advanced_Queuing
    Based on the above link I try to create oracle AQ for the fallowing Steps:
    Prepare Data base:
    Step1:
    CREATE USER testq IDENTIFIED BY x;
    GRANT connect, resource, dba TO testq;
    GRANT aq_administrator_role, aq_user_role TO testq;
    GRANT create type TO testq;
    Step2:
    I try to excecute the below Sql command. But i am getting the error Like " ORA-00942: table or view does not exist"
    CREATE OR REPLACE TYPE event_msg_type AS OBJECT (
    name VARCHAR2(10),
    current_status NUMBER(5),
    next_status NUMBER(5)
    what is the issues for this ? please help me on this ASAP.

  • How to create Oracle Table in DWB from Oracle external table

    Dear all,
    I have create Oracle External Table by using DWB. Kindly tell me steps that how could i able to import this external oracle table into internal oracle table now.
    When I deploye this External table message arise "Name is using by an existing object.
    any help would be ppreciated.
    Thanks

    In your database is there a table already existing with the same name as your external table? If there is then you can try and rename your external table in OWB and then deploy it again.
    Then you can create a mapping with your source as the External Table Operator and the target as a Table Operator. When you run the mapping the data from the external table will be imported into the oracle table.
    I hope this helps.
    Regards
    GB

  • How to create unique constraint in ODI

    Hi
    I have view at source side, I want to store source data to target interface table.
    For that I need to create UNIQUE constraint at source side to identify the unique records.
    I have composite primary key example as follow
    desc Test_V;
    orderID NUMBER,
    itemNumber NUMBER,
    productId NUMBER,
    quantity NUMBER,
    lot_number varchar2(80)
    where
    PRIMARY KEY (orderID, itemNumber,lot_number);
    Some times, lot_number can be null, So, I can't use lot_number in composite key (as per requirement)
    Please any body can help me on it
    Thanks
    Phani

    Hi
    Hope this may help
    http://mhimu.wordpress.com/2009/05/04/odi-incremental-update-and-surrogate-key-using-database-sequence/
    but some cases it is not working
    Thanks
    Phani

  • Problem while creating Oracle Content Server Identity plug-in  in SES

    Hi,
    I am Integrating Oracle SES with UCM.Both UCM and Oracle SES are installed on the same machine.
    I have installed SESCrawlerExport compoent on UCM and also taken Snapshot of Repository.
    But when i am trying to create Oracle Content server Identity plug-in in SES it gives following exception.
    Inputs:-
    1) HTTP endpoint for authentication- http://localhost:100/idc_new/idc
    2) Admin User - sysadmin
    3) Password - idc
    09/10/15 15:06:33 INFO     HTTPThreadGroup-7               URIHandler initialized for the URI http://localhost:100/idcnew/idcplg
    09/10/15 15:06:33 INFO     HTTPThreadGroup-7               StellentIdentityPlugin.autheticate: username=sysadmin
    09/10/15 15:06:33 FATAL     HTTPThreadGroup-7               EQP-80309: Exception while opening a stream to the URI: http://localhost:100/idcnew/idcplg
    09/10/15 15:06:33 FATAL     HTTPThreadGroup-7     EQP-80317: HTTP connect attempt failed after 3 attempts. Aborting connection attempt oracle.search.sdk.common.PluginException oracle.search.plugin.rss.HTTPHandler:getInputStream:302 java.lang.Thread:run:534
    09/10/15 15:06:33 ERROR     HTTPThreadGroup-7               EQP-80354: Exception while authenticating user sysadmin: EQP-80317: HTTP connect attempt failed after 3 attempts. Aborting connection attempt
    09/10/15 15:06:33 ERROR     HTTPThreadGroup-7     EQP-80317: HTTP connect attempt failed after 3 attempts. Aborting connection attempt oracle.search.sdk.common.PluginException oracle.search.plugin.rss.HTTPHandler:getInputStream:302 java.lang.Thread:run:534
    09/10/15 15:06:33 EQP-80353: Exception while validating parameters: EQP-80317: HTTP connect attempt failed after 3 attempts. Aborting connection attempt
    Please help me on the same.
    Regards,
    Nitin

    If the error message is correct, it means that no listener is running on port 100.
    Where did you get the URL http://localhost:100/idc_new/idc ?
    Is UCM using port 100 as it's standard port?
    What happens if you try to open this in a browser (running on the localhost machine)?

Maybe you are looking for

  • Mini-DVI to Video Adapter No Longer Compatible

    This is an infuriating subject for me. I had a 2007 2.0Ghz Intel Core 2 Duo White Macbook. On a daily basis i used it with my widescreen TV. I am not made of money, so it is an old tube screen that requires a composite connection. When that macbook d

  • I keep getting a run time error when trying to update to the current software.

    It says that the connection has timed out? I have tried a renaming the file but that does not work either? any help?

  • Where is the "quick fix" for the "insuffient data" bug in 9.5.2?

    Adobe alludes to a quick fix for this acknowledged but says contact a support team to request it. Please consider this a request that the fix be PUBLISHED for all. Thank you.

  • Backdoor in Mail.app

    Please help me to find solution how to... There is one managed user account in my computer which has parental controls on. Problem is that even if Safari application is forbidden for this specific account, it is possible to start Safari without any r

  • Add filter to content finder

    I want to restrict the content finder to only show images for a specific website (that is related to the content page that has been added/viewed), is this possibe? I was looking to customise this "/apps/wcm/extensions/contentfinder" but copying this