ORA-02298: cannot validate .......

Hi,
I exported user cmsadmin with constraints=y and consistent=y as DBA user from 9i then Imported it using fromuser/touser =cmsadmin into oracle 10g..
i got the follwing error while importing:
IMP-00017: following statement failed with ORACLE error 2298:
"ALTER TABLE "RESPONSES" ENABLE CONSTRAINT "FK_RESPONSE_FK_CTF_RE_CERTIFIC""
IMP-00003: ORACLE error 2298 encountered
ORA-02298: cannot validate (CMSADMIN.FK_RESPONSE_FK_CTF_RE_CERTIFIC) - parent keys not found
The
ALTER TABLE "CMSADMIN"."RESPONSES" ADD CONSTRAINT
"FK_RESPONSE_FK_CTF_RE_CERTIFIC" FOREIGN KEY ("REP_CERTIFICATION_ID")
REFERENCES "CERTIFICATION" ("CTF_CERTIFICATION_ID") ENABLE NOVALIDATE ;
But when i checked number of rows of for CERTICATION table in 9i DB and target 10g DB they are same....
But when i run the following query:
select distinct REP_CERTIFICATION_ID from RESPONSES a where not exists (select CTF_CERTIFICATION_ID from CERTIFICATION where CTF_CERTIFICATION_ID = a.REP_CERTIFICATION_ID);The above query returns 288 rows meaning they are not in CERTIFICATION table.. but the count of number of rows are same in source and target DB..
What can be the reason..
can you pls help...
Thx

Hi,
here is my EXP and IMP commands:
exp cmsadmin/frora04_adm file=cmsdbt01_cmsadmin_29Mar07.dmp log=cmsdbt01_cmsadmin_29Mar07.log owner=cmsadmin consistent=y grants=y constraints=y rows=n
imp cmsadmin/orad1_adm file=cmsdbt01_cmsadmin_29Mar07.dmp log=cmsadmin_imp.log fromuser=cmsadmin touser=cmsadmin ignore=y
moreover, when i run the following query in source database on 9i from where i took the export it does not return any rows meaning that data is fine in both parent and child tables:
select distinct REP_CERTIFICATION_ID from RESPONSES a where not exists (select CTF_CERTIFICATION_ID from CERTIFICATION where CTF_CERTIFICATION_ID = a.REP_CERTIFICATION_ID);
But, when i run the same above query in target table after importing the schema (usng above imp command) i get 14 distinct CTF_CERTIFICATION_ID meaning that they are not in parent table..
Master Table --> CERTIFICATION
PK column --> CTF_CERTIFICATION_ID
Child Table --> RESPONSES
FK column to above PK --> REP_CERTIFICATION_ID
Hence issue still persists reg. parent key not found after importing..
Thx

Similar Messages

  • How to resolve ORA-02298: cannot validate (%s.%s) - parent keys not found

    Hi, During the exp/imp process,i have tried to enable the constraints once the import done,but for some of the constraints am getting ORA-02298: cannot validate (%s.%s) - parent keys not found error,can anyone assist me what are all the possible ways to fix this issue. database -ORACLE 11g,o/s -LINUX

    Hi. Put the missing values into the parent table or Remove the rows in the child table which contain values that are not in the parent table
    http://www.shutdownabort.com/errors/ORA-02298.php
    Regards
    Javid Hasanov
    Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Edited by: Javid Hesenov on Jul 6, 2012 2:03 AM

  • ORA-02298 : cannot validate - parent keys not

    Hi,
    I am trying to create a FK-PK constraints.
    In the alter table command i am using the caluse:
    exceptions INTO ... in order to catch all the exception rows .
    Can you please explain why i am getting this error message ?
    I am using the following command:
    SQL> ALTER TABLE STARQ.CALL_FACT ADD (
    2 CONSTRAINT CALL_FACT_FK_cmcustdim1
    3 FOREIGN KEY (CUST_ID)
    4 REFERENCES STARQ.CM_CUST_DIM_1 (DWH_CUST_ID)
    5 exceptions INTO starq.exceptions );
    CONSTRAINT CALL_FACT_FK_cmcustdim1
    ERROR at line 2:
    ORA-02298: cannot validate (STARQ.CALL_FACT_FK_CMCUSTDIM1) - parent keys not found

    Hi,
    >>Can you please explain why i am getting this error message ?
    This is a normal behavior. After issued the "alter table add constraint ..." command, you need to query on EXCEPTIONS table.
    LEGATTI@XE> create table a (id number constraint pk_a primary key);
    Table created.
    LEGATTI@XE> create table b (id number);
    Table created.
    LEGATTI@XE> insert into b values (1);
    1 row created.
    LEGATTI@XE> create table exceptions(row_id rowid,
      2                     owner varchar2(30),
      3                     table_name varchar2(30),
      4                     constraint varchar2(30));
    Table created.
    LEGATTI@XE> alter table b add constraint fk_b_a foreign key (id) references a exceptions into exceptions;
    alter table b add constraint fk_b_a foreign key (id) references a exceptions into exceptions
    ERROR at line 1:
    ORA-02298: cannot validate (LEGATTI.FK_B_A) - parent keys not found
    LEGATTI@XE> select * from exceptions;
    ROW_ID             OWNER                          TABLE_NAME                     CONSTRAINT
    AAAD3mAAEAAAABoAAA LEGATTI                        B                              FK_B_ACheers
    Legatti

  • ORA-02298: cannot validate (PL_REM_FK_ES_EMP) - parent keys not found

    hi
    I disabled some constraints. But now, when I try to enable them then I get the error:
    ORA-02298: cannot validate (PL_REM_FK_ES_EMP) - parent keys not found.
    Plz guide me to resolve this problem.

    Hi,
    there is most likely some orphaned records in the child table. what command did you use to delete the record? what the output of
    select xxxxx from child_table a where not exists (select 'x' from
    parent_table where primary_key = a.key_values);
    dan

  • ORA-02298: cannot enable name - parent keys not found

    Hi All,
    I got this problem while creating Foreign Key constraints ORA-02298: cannot enable name - parent keys not found. How to rectify this problem

    alter table WORK_APPROVAL_DETAILS
    add constraint FK_WRKAPPR_AUTH_APPR foreign key (APPROVER_CODE, PCC_INFO_CODE)
    references AUTHORIZED_APPROVERS (APPROVER_CODE, PCC_INFO_CODE);
    WORK_APPROVAL_DETAILS:
    inspection_id     number(16)               
    work_code      varchar2(18)               
    approver_code     varchar2(12)               
    approver_remarks     varchar2(200)               
    approval_date     date               
    role_code     char(2)               
    reference_no     varchar2(50)               
    pcc_info_code     varchar2(9)               
    status_code     number(4)
    AUTHORIZED_APPROVERS
    approver_code     varchar2(12)               
    approver_name     varchar2(30)               
    dept_code     varchar2(3)               
    desg_code      char(2)               
    is_active     char(1)               
    address     varchar2(250)               
    role_code     char(2)               
    created_by     varchar2(20)               
    created_date     date               
    pcc_info_code     varchar2(9)               
    qualification     varchar2(50)               
    experience      varchar2(25)

  • Error: ORA-02298 while creating a new app at DRM 11.1.2.3.300

    Hi All,
            There's something weird happening when I try to create a new DRM app at DRM Management Console. After provide all information about database connection and admin long on i am getting the following error during the repository creation :
    Creating Repository ...  Done.
    Creating Tables ...  Done.
    Creating Views ...  Done.
    Creating Stored Procedures ...  Done.
    Creating Indexes ...  Done.
    Creating Primary Keys ...  Done.
    Initializing schema with predefined data ...
    Database creation failed with this error: ORA-02298: cannot validate (EPM_DRM_DB.FK_CATUSER02) - parent keys not found
         It is a fresh install and I don't know why I am having this error.  Did someone had this issue too ? How to solve that ?
    Thanks in advance

    ...To whom it may concern.....
    This issue was related to privileges in database. I've generated the scripts and ran with system user and it worked.
    Case closed.

  • Ora-02298 in migrating MS-SQLServer to Oracle 8i

    Greetings,
    I am in the process of migrating a MS-SQLServer db to Oracle 8i.
    I have encountered an error (ora-02298). The following was inserted into the mwb error log:
    REM
    REM Message : Failed to create foreign key: FK_M_REQUEST_M_WORK_ORDER: ORA-02298: cannot validate (BCBIZ.FK_M_REQUEST_M_WORK_ORDER) - parent keys not found
    REM User : bcbiz
    ALTER TABLE bcbiz.M_REQUEST ADD ( CONSTRAINT FK_M_REQUEST_M_WORK_ORDER FOREIGN KEY ( work_id ) REFERENCES bcbiz.M_WORK_ORDER ( work_id ) ON DELETE CASCADE );
    I have read the FAQ section of the mwb site and from my understanding this error indicates that work_id should be primary key or unique key for the table m_work_order. I have checked the table m_work_order and have verified that the work_id field is the primary key for the m_work_order table.
    I have tried dropping and creating the table from scratch and have received the same error.
    Does anyone have any suggestions that I might try?
    Thank you in advance,
    -Ken
    null

    hello,
    am interested in migrating from mssql server 7 to oracle 8i.
    how excatly do i do that should i download some gateway software or should i download migration workbench software if i download how do i move files from MSSQL to oracle.
    Some one please help me out.
    thankyou
    Ramesh
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Kenneth Eisner ([email protected]):
    Greetings,
    I am in the process of migrating a MS-SQLServer db to Oracle 8i.
    I have encountered an error (ora-02298). The following was inserted into the mwb error log:
    REM
    REM Message : Failed to create foreign key: FK_M_REQUEST_M_WORK_ORDER: ORA-02298: cannot validate (BCBIZ.FK_M_REQUEST_M_WORK_ORDER) - parent keys not found
    REM User : bcbiz
    ALTER TABLE bcbiz.M_REQUEST ADD ( CONSTRAINT FK_M_REQUEST_M_WORK_ORDER FOREIGN KEY ( work_id ) REFERENCES bcbiz.M_WORK_ORDER ( work_id ) ON DELETE CASCADE );
    I have read the FAQ section of the mwb site and from my understanding this error indicates that work_id should be primary key or unique key for the table m_work_order. I have checked the table m_work_order and have verified that the work_id field is the primary key for the m_work_order table.
    I have tried dropping and creating the table from scratch and have received the same error.
    Does anyone have any suggestions that I might try?
    Thank you in advance,
    -Ken
    <HR></BLOCKQUOTE>
    null

  • ORA-02298

    SQL> alter table jti.DIS_ROOM_REQUESTS
    2 add constraint DIS_FK2_ROOM_REQUESTS_ST_ID foreign key (STUDENT_ID)
    3 references jtisp.sis_students (STUDENT_ID);
    add constraint DIS_FK2_ROOM_REQUESTS_ST_ID foreign key (STUDENT_ID)
    ERROR at line 2:
    ORA-02298: cannot validate (JTI.DIS_FK2_ROOM_REQUESTS_ST_ID) - parent keys not
    found
    plz help me...to come out this error...

    Hi:
    From techonthenet.com
    Cause:
    You tried to execute an ALTER TABLE ENABLE CONSTRAINT command, but it failed because your table has orphaned child records in it.
    Action:
    The options to resolve this Oracle error are:
    1- Remove the orphaned child records from the child table (foreign key relationship), and then re-execute the ALTER TABLE ENABLE CONSTRAINT command.
    2- Create the missing parent records in the parent table (foreign key relationship), and then re-execute the ALTER TABLE ENABLE CONSTRAINT command.Saad,
    http://saadnayef.blogspot.com

  • ORA-02298 - A suggestion

    hello all
    for the error
    ORA-02298 - cannot validate <child_table> - parent keys not found
    means that ther are some orphaned child records in the child table for which there is no parent key . i.e. no parennt record exist in parent table.
    so we have to remove the orphaned child records
    try query like this
    delete from child where(foreign_key) in
    (select ce.foreign_key from child ce,parent c
    where (ce.foreign_key)<>(c.parent_key))
    shalini

    ORA-02298: cannot validate (string.string) - parent keys not found
    Cause: an alter table validating constraint failed because the table has orphaned child records.
    Action: Obvious
    Go Through Below links
    >>>ORA-02298 Cannot validate - parent keys not found
    HTH
    M.S.Taj

  • RMAN-03009: failure of delete command on ... ORA-19606: Cannot copy or rest

    one server using 11.2.0.1.0 under Suse Linux
    configured catalog db, main db & jobs & ... almost everything with enterprise manager
    keep backups 14 days
    To make 14 full online dumps I had to aktive the archive mode and try to get rid of thoose unwanted additional files.
    Additional I make every night (less til no db activity) a dump and compress it myself.
    After some days the backupjob complain that it can not delete old files.
    EM / manage all backups / crosscheck all(
    CROSSCHECK BACKUPSET;
    CROSSCHECK COPY;
    sucessful
    EM / manage all backups / delete old backups
    DELETE NOPROMPT OBSOLETE;
    failed.
    script result
    Recovery Manager: Release 11.2.0.1.0 - Production on Tue Sep 7 17:20:55 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN>
    connected to target database: <SID> (DBID=773091283)
    RMAN>
    connected to recovery catalog database
    RMAN>
    echo set on
    RMAN> DELETE NOPROMPT OBSOLETE;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 14 days
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=196 device type=DISK
    Deleting the following obsolete backups and copies:
    Type Key Completion Time Filename/Handle
    Control File Copy 3831 03-AUG-10 /opt/oracle/base/product/11gR1/db/dbs/snapcf_<SID>.f
    Backup Set 18750 23-AUG-10
    Backup Piece 18754 23-AUG-10 /srv/ora/data/flash_recovery_area/<SID>/backupset/2010_08_23/o1_mf_nnndf_BACKUP_<SID>CH0_673c0hbp_.bkp
    Backup Set 18751 23-AUG-10
    Backup Piece 18755 23-AUG-10 /srv/ora/data/flash_recovery_area/<SID>/backupset/2010_08_23/o1_mf_nnndf_BACKUP_<SID>CH0_673c0hbo_.bkp
    Backup Set 19479 24-AUG-10
    Backup Piece 19482 24-AUG-10 /tmp/o0lm3qh9_1_1
    Backup Set 19490 24-AUG-10
    Backup Set 20087 24-AUG-10
    Backup Piece 20089 24-AUG-10 /srv/ora/data/flash_recovery_area/<SID>/autobackup/2010_08_24/o1_mf_s_727891232_677n40r3_.bkp
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of delete command on ORA_DISK_1 channel at 09/07/2010 17:20:57
    ORA-19606: Cannot copy or restore to snapshot control file
    exit;
    Recovery Manager complete.
    google found some questions, but not fittung answers.
    So far:
    - I checked the folder & users rights.
    - I found some /tmp/ files - yes I "backup" the backuped archivelogs to-delete files in /tmp - I only active archivelogmode so I can onlinebackup
    - I managed to login via rman and execute DELETE OBSOLETE manual - result above.
    - Actual I delete the set one by one to find the problem set. (delete backupset 12345 ) from the list manually.
    Some a good idea what went wrong?
    additional: Is there a way to let oracle delete the empy archvielog-directories after deleting the logs within?
    18:00- the command "RMAN> BACKUP CURRENT CONTROLFILE" also fails.
    Edited by: 793286 on 07.09.2010 09:00

    Meanwhile I managed to delete all backupsets one by one.
    The problem with $ORACLE_HOME/dbs/snapcf_<SID>.f persists.
    cd $ORACLE_HOME/dbs
    mv snapcf_<SID>.f snapcf_<SID>.f.bak
    # replaced actual dbsidname with <SID>
    RMAN> delete obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 14 days
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type Key Completion Time Filename/Handle
    Control File Copy 3831 03-AUG-10 /opt/oracle/base/product/11gR1/db/dbs/snapcf_TARMED1P.f
    Do you really want to delete the above objects (enter YES or NO)? y
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of delete command on ORA_DISK_1 channel at 09/08/2010 09:44:07
    ORA-19606: Cannot copy or restore to snapshot control file
    mv snapcf_<SID>.f.bak snapcf_<SID>.fRMAN> backup current controlfile;
    Starting backup at 08-SEP-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting compressed full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    channel ORA_DISK_1: starting piece 1 at 08-SEP-10
    channel ORA_DISK_1: finished piece 1 at 08-SEP-10
    piece handle=/srv/ora/data/flash_recovery_area/TARMED1P/backupset/2010_09_08/o1_mf_ncnnf_TAG20100908T095000_68gj1b2m_.bkp tag=TAG20100908T095000 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 08-SEP-10
    Starting Control File and SPFILE Autobackup at 08-SEP-10
    piece handle=/srv/ora/data/flash_recovery_area/TARMED1P/autobackup/2010_09_08/o1_mf_s_729165003_68gj1d1b_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 08-SEP-10
    RMAN> delete obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 14 days
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type Key Completion Time Filename/Handle
    Control File Copy 3831 03-AUG-10 /opt/oracle/base/product/11gR1/db/dbs/snapcf_<SID>.f
    Do you really want to delete the above objects (enter YES or NO)? y
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of delete command on ORA_DISK_1 channel at 09/08/2010 09:52:37
    ORA-19606: Cannot copy or restore to snapshot control file
    No different effect, if I changed the filename via 2nd terminal to .bak or not.
    RMAN> delete controlfilecopy 3831;
    will fail, if the file exists or not.
    Any chance to reset/kill that file?
    Is there a need to restart the dbms after rename the file?

  • Error ORA-20003: Cannot read file/...  in Cash Management?

    Dear All.
    I am having this Error in the Cash Management Module on the bank statement load process
    Error ORA-20003: Cannot read file /software/d01/oracle/interface/finance/inbound/email.9Nemail.13111507.3445704.cnv.
    How do I resolve this error.
    Thank you.

    Hi Lucy,
    The error is probably due to one of the reasons:
    1. There is no file in the location: /software/d01/oracle/interface/finance/inbound/email.9Nemail.13111507.3445704.cnv.
    2. No permission on the file respective file.
    Please get the assistance from the DBA to check on this.
    Thanks &
    Best Regards,

  • ORA-00604: error occured at recursive SQL level 1 ORA-12705: Cannot access

    Oracle Database 10g Express Edition Release 10.2.0.1.0 on
    OS Linux Debian 3.1_r4_stable
    SQL> select userenv('LANGUAGE') from dual;
    USERENV('LANGUAGE')
    RUSSIAN_RUSSIA.AL32UTF8
    Client OS MS Vista Ultimate EN , region=RUSSIAN.RUSSIA
    Oracle Developer suite 10
    SQL-Developer
    Version 1.1.0.23.
    NLS_LANG=RUSSIAN_RUSSIA.CL8MSWIN1251
    Oracle Developer suite 10 is working properly but when
    i am attempting a connection between Oracle 10g XE and SQL-Developer.
    Need some help to resolve this error message....
    ORA-00604: error occured at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid enviroment specified

    Hi,
    You have to set NLS_LANG before connect to Oracle Database.
    $export NLS_LANG=.AL32UTF8

  • ORA-12032: cannot use rowid column

    Hi,
    on 8.1.7 I have the following error :
    ORA-12032: cannot use rowid column from materialized view log on "string"."string"
    The solution is :
    Action: A complete refresh is required before the next fast refresh. Add ROWID columns to the materialized view log, if required.
    How can I do a complete refresh before the next fast refresh or Add ROWID columns ? How to know if Add ROWID columns is required ?
    Thank you.
    PS :
    my script is :
    START WITH TO_DATE('06-jul-2010 17:57:48','dd-mon-yyyy hh24:mi:ss')
    NEXT SYSDATE+1/24

    user522961 wrote:
    Hi,
    on 8.1.7 I have the following error :
    ORA-12032: cannot use rowid column from materialized view log on "string"."string"
    The solution is :
    Action: A complete refresh is required before the next fast refresh. Add ROWID columns to the materialized view log, if required.
    How can I do a complete refresh before the next fast refresh or Add ROWID columns ? How to know if Add ROWID columns is required ?
    Thank you.run above
    EXECUTE DBMS_MVIEW.REFRESH('MV_NAME','C');

  • ORA -18808;Cannot find OUTLN schema using Database Link

    Hi,
    I have to access a database using a database link. When I try to do so I get the message:
    ORA -18808:cannot find OUTLN schema
    The OUTLN schema really does'nt exist at the target database, but I don't get the message when connecting with the same user outside the database link.
    I am trying to avoid to ask them to recreate the schema, since I am the only one that needs the database link working.
    Is there any way I can access the database with the database link without messing with the target database?
    Thanks in advance for any help.

    The error number returned by that error does not seem to be correct. Below is the correct error number:
    ORA-18008 cannot find OUTLN schema
    Cause: The database creation script that creates this schema must not have been executed.
    Action: Review the log files to see what happened when the database was created.
    How is the DB link defined to connect as?

  • Tabular form on a view :ORA-01446: cannot select ROWID from, or sample...

    Hi,
    I have two tables
    CUSTOMERS
    ===========
    Name Null Type
    ======================
    CUST_UID NOT NULL NUMBER(4)
    CUST_NAME VARCHAR2(50)
    ITEM_PRICES
    ===========
    Name Null Type
    ======================
    IP_UID NOT NULL NUMBER(4)
    IP_ITEM_DESC VARCHAR2(50
    IP_COST_PRICE NUMBER(6,2)
    IP_SELL_PRICE NUMBER(6,2)
    I have a view IPS_VW which is the cartician product of CUSTOMERS and ITEM_PRICES, and an instead of trigger for UPDATE on this view which either inserts or updates data in the following third table
    ITEM_PRICES_SPECIAL
    ===========
    Name Null Type
    ======================
    IPS_UID NOT NULL NUMBER(4)
    CUST_UID NUMBER(4)
    IP_UID NUMBER(4)
    IPS_SELL_PRICE NUMBER(6,2)
    The following is my view
    SELECT 'A'||ROWNUM AS "IPSVW_UID",
    0 AS "IPSVW_IPS_UID",
    "CUSTOMERS"."CUST_UID" AS "IPSVW_CUST_UID",
    "ITEM_PRICES"."IP_UID" AS "IPSVW_IP_UID",
    "ITEM_PRICES"."IP_SELL_PRICE" AS "IPSVW_IPS_SELL_PRICE"
    FROM "CUSTOMERS" "CUSTOMERS",
    "ITEM_PRICES" "ITEM_PRICES"
    WHERE NOT EXISTS
    (SELECT 1
    FROM "ITEM_PRICES_SPECIAL" "ITEM_PRICES_SPECIAL"
    WHERE "ITEM_PRICES_SPECIAL"."IP_UID" ="ITEM_PRICES"."IP_UID"
    AND "ITEM_PRICES_SPECIAL"."CUST_UID" ="CUSTOMERS"."CUST_UID"
    UNION
    SELECT 'B' ||ROWNUM AS "IPSVW_UID",
    "ITEM_PRICES_SPECIAL"."IPS_UID" AS "IPSVW_IPS_UID",
    "ITEM_PRICES_SPECIAL"."CUST_UID" AS "IPSVW_CUST_UID",
    "ITEM_PRICES_SPECIAL"."IP_UID" AS "IPSVW_IP_UID",
    "ITEM_PRICES_SPECIAL"."IPS_SELL_PRICE" AS "IPSVW_IPS_SELL_PRICE"
    FROM "ITEM_PRICES_SPECIAL" "ITEM_PRICES_SPECIAL";
    And this is the instead of trigger
    CREATE OR REPLACE TRIGGER "TRG_IPSVW_UPDATE" INSTEAD OF
    UPDATE ON IPS_VW REFERENCING NEW AS N FOR EACH ROW
    BEGIN
    IF :N.IPSVW_IPS_UID = 0 THEN
    INSERT INTO ITEM_PRICES_SPECIAL
    ( CUST_UID, IP_UID,IPS_SELL_PRICE )
    VALUES
    ( :N.IPSVW_CUST_UID,:N.IPSVW_IP_UID, :N.IPSVW_IPS_SELL_PRICE );
    ELSE
    UPDATE ITEM_PRICES_SPECIAL
    SET IPS_SELL_PRICE = :N.IPSVW_IPS_SELL_PRICE
    WHERE IPS_UID = :N.IPSVW_IPS_UID;
    END IF;
    END;
    Everything works fine in SQLPLUS, if i update a rate in this view, a record is either inserted or updated in the third table.
    But when i try to create a tabular form based on this view, i get the error
    ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc.
    Could someone help me please?
    Thanks,
    Allen

    I think The tabular form needs to be able to identify some primary key and using a rownum concatenation cannot provide that.
    Cheers
    Kofi

Maybe you are looking for