Error ORA-01779 while updating view

I am using oracle 9i version is 9.2.0.1.0, While updating i am getting error,which i mention below.
ORA-01779:cannot modify a column which maps to a non key-preserved table
In this view there is no any group function.
Help me please.

ORA-01779:
     cannot modify a column which maps to a non key-preserved table
Cause:      An attempt was made to insert or update columns of a join view which map to a non-key-preserved table.
Action:      Modify the underlying base tables directly.

Similar Messages

  • Getting Error ORA-00604 While Creating View from front Ent

    Hello All,
    I am getting ORA-00604 while creating view from the front end. And some time I get Maximum cursor open, It is ok amy be I am opening cursors in while loop. While ORA-00604 is giving lots of truble to me. In help it said to contact Oracle service, I dont know how to do that. Help me.

    Please post your view definition including the complete error_message and also the relevant parts of your code with the while loop.

  • Error ORA-02070:  while creating view - Help Needed.

    ISSUE:
    ~~~~~
    When i am creating the view for the below SQL script I am getting the error as
    ==>ORA-02070:DATABASE DOES NOT SUPPORT OPERATOR NLS_CHARSET_DECL_LEN in this context <==
    Sql script
    ~~~~~~~
    create or replace view test11 as
    WITH x AS
    (SELECT column_name,
    DECODE (column_id, 7,to_char(eff_to_dt,'MMDDRRRR'),
                                       8,active_flg,
                                       9,nm_long,
                                       10,nm_short,
                                       11,rplcmnt_bu_id,
                                       12,pc_cc_cd,
                                       13,tax_cd,
                                       14,bu_type_cd,
                                       15,ledger_cd) COL_VAL_NEW,
    '' COL_VAL_OLD,
                                       fre_id,
                                       bu_id,
    eff_from_dt,
    rec_eff_from_dt,
                                       rec_type
    FROM BUSINESS m, all_tab_columns u
    WHERE table_name = 'BUSINESS'
    AND column_name in ('EFF_TO_DT'
    ,'ACTIVE_FLG'
    ,'NM_LONG'
    ,'NM_SHORT'
    ,'RPLCMNT_BU_ID'
    ,'PC_CC_CD'
    ,'TAX_CD'
    ,'BU_TYPE_CD'
    ,'LEDGER_CD')
    AND rec_type ='A'
    ORDER BY rec_eff_from_dt
    y as
    (SELECT column_name,
    DECODE (column_id, 7,to_char(eff_to_dt,'MMDDRRRR'),
                                       8,active_flg,
                                       9,nm_long,
                                       10,nm_short,
                                       11,rplcmnt_bu_id,
                                       12,pc_cc_cd,
                                       13,tax_cd,
                                       14,bu_type_cd,
                                       15,ledger_cd) COL_VAL_NEW,
    '' COL_VAL_OLD,
                                       fre_id,
                                       bu_id,
    eff_from_dt,
    rec_eff_from_dt,
                                       rec_type
    FROM BUSINESS m, all_tab_columns u
    WHERE table_name = 'BUSINESS'
    AND column_name in ('EFF_TO_DT'
    ,'ACTIVE_FLG'
    ,'NM_LONG'
    ,'NM_SHORT'
    ,'RPLCMNT_BU_ID'
    ,'PC_CC_CD'
    ,'TAX_CD'
    ,'BU_TYPE_CD'
    ,'LEDGER_CD')
    AND rec_type <> 'A'
    ORDER BY rec_eff_from_dt
    a as (select y.column_name,
    y.col_val_new,
    x.col_val_new col_val_old,
    y.fre_id,
    y.bu_id,
    y.eff_from_dt,
    min(y.rec_eff_from_dt),
    y.rec_type
    from y, x
    where (y.fre_id = x.fre_id and y.bu_id = x.bu_id and y.eff_from_dt = x.eff_from_dt and y.column_name = x.column_name
    and nvl(y.col_val_new,'^') <> nvl(x.col_val_new,'~') and y.rec_type ='C')
    group by y.column_name,
    y.col_val_new,
    x.col_val_new,
    y.fre_id,
    y.bu_id,
    y.eff_from_dt,
    y.rec_type)
    select * from a
    union all
    select y.column_name,
    y.col_val_new,
    x.col_val_new,
    y.fre_id,
    y.bu_id,
    y.eff_from_dt,
    min(y.rec_eff_from_dt),
    y.rec_type
    from y, x
    where (y.fre_id = x.fre_id and y.bu_id = x.bu_id and y.eff_from_dt = x.eff_from_dt and y.column_name = x.column_name
    and y.col_val_new = x.col_val_new and y.rec_type ='D')
    group by y.column_name,
    y.col_val_new,
    x.col_val_new,
    y.fre_id,
    y.bu_id,
    y.eff_from_dt,
    y.rec_type
    union all
    SELECT column_name,
    DECODE (column_id, 7,to_char(eff_to_dt,'MMDDRRRR'),
                                       8,active_flg,
                                       9,nm_long,
                                       10,nm_short,
                                       11,rplcmnt_bu_id,
                                       12,pc_cc_cd,
                                       13,tax_cd,
                                       14,bu_type_cd,
                                       15,ledger_cd) COL_VAL_NEW,
    '' COL_VAL_OLD,
                                       fre_id,
                                       bu_id,
    eff_from_dt,
    rec_eff_from_dt,
                                       rec_type
    FROM BUSINESS m, all_tab_columns u
    WHERE table_name = 'BUSINESS'
    AND column_name in ('EFF_TO_DT'
    ,'ACTIVE_FLG'
    ,'NM_LONG'
    ,'NM_SHORT'
    ,'RPLCMNT_BU_ID'
    ,'PC_CC_CD'
    ,'TAX_CD'
    ,'BU_TYPE_CD'
    ,'LEDGER_CD')
    AND rec_type ='A'
    The sql script is nothing but to compare the record to get the attribute level changes.
    Please help me out why the error is being caused.
    Thanks in advance.

    Is one of the used table/view referencing a non-Oracle database with a database link ?
    ORA-02070: database [i]stringstring does not support string in this context
    Cause: The remote database does not support the named capability in the context in which it is used.
    Action: Simplify the SQL statement.

  • ERROR ORA-00942: table or view does not exist

    Hi:
    I created a .sql file and a loader file. Running the .sql file with sql * plus Worksheet:
    declare
    gr sdo_georaster;
    begin
    select image into gr from gis.RasterImages where geoid=1 for update;
    sdo_geor.generatePyramid(gr,'resampling=NN');
    update gis.RasterImages set image=gr where geoid=1;
    commit;
    end;
    I trying to create a pyramid,but the error appeared:
    ERROR at line 1:
    ORA-29400: DATA CONTROL ERROR ORA-00942: table or view does not exist
    ORA-06512: &#22312; "MDSYS.SDO_GEOR_INT", line 162
    ORA-06512: &#22312; "MDSYS.SDO_GEOR", line 826
    ORA-06512: &#22312; line 5
    I don't know why?
    Anyone can help me?
    Thanks.

    Hi,
    I think you are executing the select statement for schema X and the table is in the schema srnr.
    And schema X is not having select privilege on the table 'students' present in schema srnr.
    Goto schema srnr.
    Execute the following statement:
    grant select on students to X;
    This will give schema X the privilege to query the table students present in srnr.
    Regards,
    Anupama

  • SQL Error: ORA-00942: table or view does not exist + CX_RS_SQL_ERROR

    HI ,
    we are facing below issue while activating info object xxxxxxxx
    " SQL Error: ORA-00942: table or view does not exist "  and   " CX_RS_SQL_ERROR  "
    can any one help us out to resolve this issue.
    Thanks,
    EDK......

    Hi,
    Check the corrections given in the note 990764:
    Reason and Prerequisites
    Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
    ORA-00942: table or view does not exist
    Fehler in CL_SQL_RESULT_SET  Include NEXT_PACKAGE
    RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
    Solution
    SAP NetWeaver 2004s BI
               Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
    In urgent cases you can implement the correction instructions.
    The correction instructions contain the tightened inspection for characteristics.
    Regards,
    Anil Kumar Sharma .P

  • Error handling function: ORA-20001: get_dbms_sql_cursor error:ORA-00942: table or view does not exist  is not trapped. Why?

    Why APEX 4.1 Error handling function does not trap  the error of missing table?
    Say, I create simple application with single IR report page and I also assign standard simple error handling function.
    Function works perfectly, except but this case:
    If I just drop a table used by report page and then refresh the page I am getting usual APEX error message:
    ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
    and error handling function is not invoked at all.
    Is this a feature or a bug?

    Hi,
    Check the corrections given in the note 990764:
    Reason and Prerequisites
    Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
    ORA-00942: table or view does not exist
    Fehler in CL_SQL_RESULT_SET  Include NEXT_PACKAGE
    RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
    Solution
    SAP NetWeaver 2004s BI
               Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
    In urgent cases you can implement the correction instructions.
    The correction instructions contain the tightened inspection for characteristics.
    Regards,
    Anil Kumar Sharma .P

  • Error ORA-02375 while trying to export/import JTF.JTF_PF_REPOSITORY table

    We have already created an SR, In the mean time, trying to see whether anyone else has come across this issue.  Thanks.
    On : 11.2.0.3 version, Data Pump Import
    Error ORA-02375 while trying to import JTF.JTF_PF_REPOSITORY table
    We are getting the below error while performing the full db
    import.
    ORA-02375: conversion error loading table
    "JTF"."JTF_PF_REPOSITORY" partition "EBIZ"
    ORA-22337: the type of accessed
    object has been evolved
    ORA-02372: data for row: SYS_NC00040$ :
    0X'8801FE000004AD0313FFFF0009198401190A434F4E4E454354'
    This issue is
    stopping our upgrade of database from 10.2.0.4 to 11.2.0.3. This is very
    critical for us to be resolved.

    Hi,
    seems this is Character set issue fo source and Target DB check this doc:Unable to Export Table WF_ITEM_ATTRIBUTE_VALUES due to errors ORA-02374, ORA-22337, and ORA-02372 (Doc ID 1522761.1)
    HTH

  • Does anybody know the error code 11 while updating to ios 4.3.3.? thx

    does anybody know the error code 11 while updating to ios 4.3.3. on an ipad1? thx

    but my hard drive is still lot of spaces...still keep on trying to update...

  • Itunes had error and shutdown while updating. when restoring iphone do you lose pics, texts emails etc?

    Itunes had an error and shutdown while updating my iphone 4.  Itune tells me my phone is in recovery mode and I must use restore before im able to use itunes.  I cannot do anything on my phone now.  It shows icons telling me to connect to itunes.  I want to know if I restore my phone do I lose any photos and that were not backed up yet? or What happens to my contacts and phone numbers?

    Itunes had an error and shutdown while updating my iphone 4.  Itune tells me my phone is in recovery mode and I must use restore before im able to use itunes.  I cannot do anything on my phone now.  It shows icons telling me to connect to itunes.  I want to know if I restore my phone do I lose any photos and that were not backed up yet? or What happens to my contacts and phone numbers?

  • HT201263 An error has occured while updating software. Connecting to the server is slow and games etc only run for 60 seconds

    An error has occured while updating software. Connecting to the server is slow and games etc only run for 60 seconds

    Have you tried resetting your iPad? You may have to restore again if there was a problem.
    Try the reset first.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • An error has occurred while updating article layouts. The InDesign file for the layout cannot be...

    When trying to complete the tutorial for indesign I get the following error when trying to add an article to my folio:
    "An error has occurred while updating article layouts. The InDesign file for the layout cannot be found."
    I am able to create the folio then I click into articles. My document "WiFi_v.indd" is open when clicking add article, but I keep getting this error message.
    I am using the following versions of the software (Should be the latest).
    - Folio Builder (Downloaded version Version 1.1.8.0)
    reported version:
    11.4.3.20111129_m672305 7.5.5.17
    Adobe In Design 7.5.2 CS 5.5
    Also tried reinstalling the plugins (uninstall + install)

    If you're on Mac OS with the OS in another language than english the "User" folder might contain a non english character and causing problems.
    I e in Sweden the Mac OS user-folder is called "Användare". When attempting uploading articles from a file locaded anywere this "Användare" is in the file path the Folio producer says Error finding InDesign layout, due to -what i think is-the "ä" in Användare. If you still want to work local you can place the InDesign files directly into the Macintosh HD. In this case the User folder is not used.
    BR
    Henrik

  • Error ORA-01422 while compressing a cube

    Hello,
    I am trying to compress the initial balnce of the European Inventory KPI  (KPINVMOEU) cube after reloading it and I encountered the oracle error-01422 which says:
    system error:error-01422:exact fetch returns more than requested
    system error:CONDENSE_FACTTABLE-5-ERROR-01422
    Has anyone dealt with this error before? Any input is appreciated.
    Thanks in advance,
    madhu

    Madhu,
        can you please look into these notes: 485766 and 385660.
    at the same time look into these links which is for similar problem.
    ERROR: System error: CONDENSE_FACTTABLE-5- ERROR:12805
    Error during compress 0IC_C03
    error ORA-01422 while compressing a cube
    Re: Cube compression failing
    All the best.
    Regards,
    Nagesh Ganisetti.

  • JAEHYLEE , Error FRM 40654 While Updating Few Supplier Sites 시 공백 제거 방법

    PURPOSE
    Error FRM 40654 While Updating Few Supplier Sites , 공백 제거 방법
    Workaround
    N/A
    Solution Description
    trailspace.sql:
    CREATE OR REPLACE PROCEDURE CHK_TRAIL_SPACE (p_table_name in varchar)
    IS
    v_table_name varchar(30);
    v_column_name varchar(30);
    v_column_name_c char(30);
    v_space_count number;
    v_ret number; -- temp holder for above
    v_initial_space_counter number;
    dyn_cursor number;
    CURSOR TABLE1 IS
    SELECT table_name
    FROM DBA_TABLES
    WHERE table_name = p_table_name;
    CURSOR COLUMN1 IS
    SELECT column_name
    FROM DBA_TAB_COLUMNS
    WHERE table_name = v_table_name;
    BEGIN
    OPEN TABLE1;
    LOOP
    -- FOR crec1 in TABLE1 LOOP
    fetch TABLE1 into v_table_name;
    IF (TABLE1%NOTFOUND) THEN
    exit;
    END IF;
    dbms_output.put_line(v_table_name);
    dbms_output.put_line
    v_initial_space_counter := 0;
    OPEN COLUMN1;
    LOOP
    -- FOR crec2 in COLUMN1 LOOP
    fetch COLUMN1 into v_column_name;
    IF (COLUMN1%NOTFOUND) THEN
    exit;
    END IF;
    dyn_cursor := DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE
    (dyn_cursor,
    'SELECT COUNT(*) ' ||
    'FROM ' || p_table_name ||
    ' WHERE ' || v_column_name || ' LIKE ''% ''',
    DBMS_SQL.NATIVE);
    DBMS_SQL.define_column (dyn_cursor, 1, v_space_count);
    v_ret := DBMS_SQL.EXECUTE(dyn_cursor);
    if DBMS_SQL.fetch_rows(dyn_cursor) > 0 then
    DBMS_SQL.column_value (dyn_cursor, 1, v_space_count);
    end if;
    DBMS_SQL.CLOSE_CURSOR(dyn_cursor);
    IF v_space_count > 0 THEN
    v_initial_space_counter := v_initial_space_counter + 1;
    END IF;
    v_column_name_c := v_column_name;
    IF v_space_count > 0 THEN
    dbms_output.put_line(' ' || v_column_name_c || to_char(v_space_count));
    END IF;
    end loop;
    close column1;
    end loop;
    close table1;
    END CHK_TRAIL_SPACE;
    cause: Trailing Spaces.
    fix:
    Please run trailspace.sql.
    This creates a procedure that will check all VARCHAR2 columns
    in a specified table for trailing spaces .
    Run the file in SQL*PLUS .
    It will return 'Procedure Created'
    Then run it using the following:
    set serveroutput on
    execute chk_trail_space(<table_name to check>);
    i.e. (execute chk_trail_space('PO_VENDORS');)
    Please can you run this on the following two tables:
    PO_VENDORS and PO_VENDOR_SITES_ALL.
    Then if there are any trailing spaces as per output,
    Then run the following command in TEST:
    update <tablename>
    set <column_name> = rtrim(<column_name>);
    i.e.
    update po_vendors
    set vendor_name = rtrim(vendor_name);
    Reference Documents
    234048.1

  • Error has occurred while updating iphoto

    error has occurred while updating iphoto

    Thanks for sharing. DId you have a question?
    There are 9 different versions of iPhoto and they run on 9 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • Error code 0x80240031 while updating to 8.1

    From last 20 days I am facing this error code 0x80240031 while updating to 8.1 sharp at 50%  ...tried almost 50-60times on my ... G500s ... pre-installed os .... I contacted both Microsoft and Lenovo for this issue ... both of them tried to solve it ... Microsoft suggested me to reinstall the whole os. So I contacted Lenovo for the same ...they reinstalled it  ... BUT STILL THE PROBLEM EXISTS....   I don’t know what to do m very frustrated ... should I sue Microsoft for not solving or Lenovo..... Because if this issue won’t get solve... I might have to take some legal source to solve my case ...I tired every option available on the web .....as i cant even get an new windows key or DVD...

    I tried everything on that link... but still facing the error...
    command prompt and type/run: "sfc /scannow" ...no problem
    Dism /Online /Cleanup-Image /RestoreHealth.... no problem
    Antivirus ..uninstalled .....
    i tired the every possible thing on this webiste also
    1.  http://answers.microsoft.com/en-us/windows/forum/w​indows8_1-windows_install/windows-81-update-error-​...
    2.  http://www.thewindowsclub.com/error-code-0x8024003​1-updating-to-windows-8-1

Maybe you are looking for

  • Column count doesn't match value count at row 1, unknown number of columns

    Hi, I am making a program to read data from excel files as the above and store them in tables. I have managed to read all the data from excel files as a string and store them in a table. ID Name Salary 50 christine 2349000 43 paulina 1245874 54 laura

  • LV 2009 Source Distribution with Broken VIs

      It looks like LV 2009 has made another "improvement" to an edge case that has caught us off-guard.  This is admittedly not a huge issue for us to deal with, but I thought it might be worth getting some more feedback and seeing if anyone else has co

  • Fan Turns on when in sleep mode

    Hi - we have a iMac G5 20" that we recently purchased used. Everything seems to be good, except occasionally when it is in sleep mode the fan turns on at high-speed for a few minutes. Nothing else seems to be wrong, but it is worrying. Is this normal

  • P31 neo dividers ?

    I'm just wondering why I cant set my ram on a divider other than 1:1 or 1:1 x2 that makes my ram run at 800Mhz but my ram is 667Mhz I got this motherboard for cheap when my old socket 939 board blew up and I bought an upgrade and I want to overclock

  • Invalid username/password  in sap connection to database.

    Hi all, My DEV system not connecting to oracle database , messege gives invalid username/password,LOGON DENIED ora-01017 Could any body explain me how to resolve the problem . This is very very urgent . Thanx & Regards RohitK