Delete append of a table with dependend view

Hi there,
I would like to delete an append structure of a table. Therefore I deleted the appended Z structure in SE11.
But I could not activate the table after wards because there is a database view which depends on that table and contains also the appended field. Is there a way to delete this field from the view or regenerate the view without registering the view as a modification?
Thanks in advance,
Martin

Hi Fisher,
First check the table where used list and check the Include structure fieds are used..
if include structure fields are being used it will not allow you to delete if deleted forcl also the reports go to dump..
when ever you alter the table or adding new field the mainatainance view will not work..
so activate the databse in background --> through menu-->utilities--> data base utilities--> adjust the datase and activate..
regards,
Prabhudas

Similar Messages

  • Table with tree view on master column

    Hi,
    I'm trying to generate a table with tree view on the master column and I get the table values from an RFC.
    The problem is that I need to control some properties like "expanded" or "isLeaf" and I can't add the value attributes to the model node to control the rows.
    Any ideia on how to overcome this (what i  think is a) problem?
    Thanks for the help.
    Pedro Barbosa

    Hi Subramanian,
    Maybe I didn't explain myself right. I also followed that tutorial with success but in this case i have on my custom controller:
    -MyNode (model node)
      - Output
        - MyTable
          - attribute 1 (model attribute)
    In my context/view controller the only way i can map that node is by using a model node referecing "MyTable" but this way i can't add any of my attributes to same level of the attributes (is that the ideia right?).
    I also tried to recreate the structure in the view with value nodes and value attributes with the same type as the model attributes and then bind them but i always get "Incompatible context element type".
    Am i missing something?
    Pedro Barbosa

  • Deletion of DDIC Table with Maintaince View

    Hello,
    I try to delete a  table with existing maintance dialog. So first I deleted the generated objects in SE54.
    The corresponding funtion group is now no longer existing.
    When I now try to delete the table in SE11 I got the message that it is still used. System said it is used
    in an include of the deleted function group.
    But this include does not exists. Can not be display in se38.
    How can i delete this table.
    Ralf

    I think when you delete a table in SE11 that has a maintenance dialog, the system asks you if you want to delete the maintenance dialog as well, and in case it is the last one inside a function group, it will even offer to delete the entire function group.
    So maybe your solution could be to recreate the maintenance dialog and function group, then delete the table via SE11 and let the system do the cleanup.
    Thomas

  • Replacing a table with a view

    I have fact table in a subject area. Now due to some requirement we created a view for the same fact table and want to use the view in place of the table.Do we have a way to do it without redoing the whole process?

    Hi Tintin,
    yes, you can rename in the physical layer the table with the name of the view.
    Regards,
    Gianluca

  • Updating base table with Materialized View's data

    Hi,
    In order to update base table with MVs data, I am trying real time data transfer between two databases. One is Oracle 8i and other is Oracle 9i. I have created an updatable MV in 9i on a base table using database link. The base table is in 8i. Materialized View log is created in 8i on base table. MV has to be associated to some replication group, but I am not able to create replication group in 9i to which MV has to be associated. The required packages are not installed.
    Replication packages are to be used to create replication group are :
    /*Create Materialized View replication group*/
    BEGIN
    DBMS_REPCAT.CREATE_MVIEW_REPGROUP (
    gname => 'TEST_MV_GRP',
    master => 'TEST_DATA_LINK',
    propagation_mode => 'ASYNCHRONOUS');
    END;
    But above block is giving error.
    Can anyone suggest how to resolve this, or are there any other approaches (by not using replication packages) to update base table with MVs data ?
    Thanks,
    Shailesh

    Yes, I created link between two databases and was able to update tables on 8i from 9i database using that link.
    The error I am getting while creating replication group is :
    ORA-06550
    PLS-00201 : identifier 'SYS.DBMS_REPCAT_UTL2@'TEST_DATA_LINK' must be declared
    ORA-06550
    PLS-00201 : identifier 'SYS.DBMS_REPCAT_UNTRUSTED@'TEST_DATA_LINK' must be declared
    ORA-06512 : at "SYS.DBMS_REPCAT_UTL", line 2394
    ORA-06512 : at "SYS.DBMS_REPCAT_SNA_UTL", line 1699
    ORA-06512 : at "SYS.DBMS_REPCAT_SNA", line 64
    ORA-06512 : at "SYS.DBMS_REPCAT", line 1262
    Is there any other approach which can be used to update base table with MVs data instead of using replication packages ?
    Thanks,
    Shailesh

  • Deleting rows in a table with a button

    Good Day All;
    I seemed to have run into a snag with trying to add a delete button in a table that will delete a row. Let me expain.
    The form has 1 table that has 7 cells made up of text fields and drop downs. This table is in its own subform.
    There is a button to add rows as the user requires. The code I am using to add rows: psl_list_subform.instanceManager.addInstance(1);
    I have been asked to add a delete button so a user can delete rows. I have added this to the end of the table. SO each time a row gets repeated, there is a delete button. The code I am “trying” to use is;
    Table4.Row1.instanceManager.removeInstance(this.parent.index);
    When I click on the button to delete, nothing happens. I brought up the JavaScript debugger, there are no errors.
    Any ideas what I missed.
    Thanks All
    Chomp

    Hi,
    from my understanding of your form, you adding new instances of the subform "psl_list_subform" which contains a single table row.
    The hierarchy that will look like "psl_list_subform.Table4.Row1.RemoveButton".
    To remove an instance of the subform, from a button within the table row the script needs to refer to the 3rd parent of the remove button.
    this.parent.parent.parent.instanceManager.removeInstance(this.parent.parent.parent.index);
    Explaination: this = RemoveButton, 1st parent = Row1, 2nd parent = Table4, 3rd parent = psl_list_subform

  • Stored Procedure to delete a number of tables with a common name attribute

    Hi All,
    This is my first post so I hope I have posted to the required level with sufficient information. This is my first stored procedure (SP) and is for Oracle 10.
    I am trying to write a script to delete 11 tables and some rows from another 3 tables, all of which are named with a number that I would like to input at the point of creation of the SP. Below is the script I have written and edited. My original has been lost by crashing servers!
    When I run the script it gives me the following output:
    "Warning: execution complete with warning
    procedure ScenarioDelete compiled"
    The SP hasn't deleted any of the tables and I'm not sure if it's because my script is poor or because of something else. Any help is greatly appreciated!!
    -- table delete SP
    -- Run begin ScenarioDelete ('x'); with x as the ScenarioId
    create or replace procedure ScenarioDelete (ScenarioNo IN varchar2);
    countstable := 'C_' || ScenarioNo;
    changetable := 'CG_' || ScenarioNo;
    countsinfotable := 'CI_' || ScenarioNo;
    datatable1 := 'D_0_' || ScenarioNo;
    datatable2 := 'D_1_' || ScenarioNo;
    datatable3 := 'D_2_' || ScenarioNo;
    hietable1 := 'HI_0_' || ScenarioNo;
    hietable2 := 'HI_1_' || ScenarioNo;
    hietable3 := 'HI_2_' || ScenarioNo;
    hielinktable1 := 'HL_1_' || ScenarioNo;
    hielinktable2 := 'HL_2_' || ScenarioNo;
    AS
    execute immediate 'drop table ' || countstable;
    execute immediate 'drop table ' || changetable;
    execute immediate 'drop table ' || countsinfotable;
    execute immediate 'drop table ' || datatable1;
    execute immediate 'drop table ' || datatable2;
    execute immediate 'drop table ' || datatable3;
    execute immediate 'drop table ' || hietable1;
    execute immediate 'drop table ' || hietable2;
    execute immediate 'drop table ' || hietable3;
    execute immediate 'drop table ' || hielinktable1;
    execute immediate 'drop table ' || hielinktable2;
    execute immediate 'delete from USERACESS where SCENARIOID = ' || ScenarioNo;
    execute immediate 'delete from SCENARIO where SCENARIOID = ' || ScenarioNo;
    execute immediate 'delete from SCENARIOINFO where SCENARIOID = ' || ScenarioNo;
    -- or --
    execute immediate 'delete from USERACESS where SCENARIOID = '' || ScenarioNo || ''';
    execute immediate 'delete from SCENARIO where SCENARIOID = '' || ScenarioNo || ''';
    execute immediate 'delete from SCENARIOINFO where SCENARIOID = '' || ScenarioNo || ''';
    END;

    Hi,
    Welcome to the forum!
    When you compile a stored procedure, you get only the vaguest of error messages by default.
    Always say SHOW ERRORS immediately after compiling, to get more detailed error messages. (And, of course, post the complete error message, including line number, when you need help.)
    Remember to specify a datatype (and, in the case of VARCHAR2 variables, a maximum length) for all local variables you declare:
    create or replace procedure ScenarioDelete (ScenarioNo IN varchar2)     -- no semicolon here
    AS  -- AS or IS (it doesn't matter which) required here
        countstable  VARCHAR2 (50) := 'C_'  || ScenarioNo;
        changetable  VARCHAR2 (50) := 'CG_' || ScenarioNo;
    ...You're not actually wasting any space if you decalre the variable as 50 characters, but only use 3.
    It really helps if you format code, so that, for example,
    all the local variables are indented before the word BEGIN
    everything between BEGIN and its corresponding END is indented
    everything between IF and its corresponding END IF is indented,
    and so on.
    You're probably already doing that, but it doesn't show up on this site unless you type these 6 characters
    (small letters only, inside curly brackets) before and after the formatted text.
    That's what I did for the code fragement above.
    Edited by: Frank Kulash on Mar 23, 2009 12:04 PM
    Formatting stuff added.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Delete Duplicates from internal table with object references

    Hi
    How can I delete duplicates from an internal table in ABAP OO based on the value of one of the attributes?
    I have created a method, with the following code:
      LOOP AT me->business_document_lines INTO l_add_line.
        CREATE OBJECT ot_line_owner
          EXPORTING
            i_user      = l_add_line->add_line_data-line_owner
            i_busdoc = me->business_document_id.
          APPEND ot_line_owner TO e_line_owners.
      ENDLOOP.
    e_line_owners are defined as a table containing only object references.
    One of the attribute of the object in the table is called USER. And I would like to do a "delete ADJACENT DUPLICATES FROM e_line_owners", based on that attribute.
    How can do this?
    Regards,
    Morten Nielsen

    Hello Morten
    Assuming that the instance attribute is <b>public </b>you could try to use the following coding:
      SORT e_line_owners BY table_line->user.
      DELETE ADJACENT DUPLICATES FROM e_line_owners
        COMPARING table_line->user.
    However, I am not really sure (cannot test myself) whether <b>TABLE_LINE</b> can be used together with SORT and DELETE.
    Alternative solution:
      DATA:
         ld_idx    TYPE sy-tabix.
      LOOP AT e_line_owners INTO ls_line.
        ld_idx = syst-tabix + 1.
        LOOP AT e_line_owners TRANSPORTING NO FIELDS FROM ld_idx
                       WHERE ( table_line->user = ls_line->user ).
          DELETE e_line_owners INDEX syst-tabix.
        ENDLOOP.
      ENDLOOP.
    Regards
      Uwe

  • Deleting block from internal table with AT / ENDAT

    Hi.
    I have the following code:
    sort itab by pred_doc.
    loop at itab into wa_cust.
    At end of pred_doc.
    sum.
    write :/ wa_cust-pred_doc, wa_cust-amount.
    if wa_cust-amount = 0.
    Delete entire block of this pred_doc
    endif.
    endat.
    endloop.
    Within that "IF" statement, I want to delete the entire block (all entries with that pred_doc).  How do I do this?  I'm not sure of the syntax.  In other words, I just need to do subtotals of the internal table by pred_doc on amount.  If the subtotal equals zero, the records for that pred_doc need to be removed from the internal table. 
    Thanks,
    Clay

    Hi,
    I agree with Rob. Use two internal tables for this purpose.
    data: itab1 like itab. New internal table which will hold the required entries
    sort itab by pred_doc.
    loop at itab into wa_cust.
    At end of pred_doc.
    sum.
    write :/ wa_cust-pred_doc, wa_cust-amount.
    if wa_cust-amount ne 0. " If the workarea has the subtotal entry with amount not equal to zero, then transfer it to a new internal table
    append wa_cust to itab1
    endif.
    endat.
    endloop.
    Now itab1 will contain your required entries. But please note that this will be the 'summed up' entries and not the the individual entries before summing up.
    Hope this helps!
    Cheers,
    Mahesh

  • Weird behaviour: join of a table with a view

    Hello,
    I'm evaluating Oracle 10g for the migration of an application currently running on
    Oracle 8i and I found a query that doesn't work as expected on the new release.
    The query is very simple and uses a table "T_Programm" and a view "V_Adresse".
    The column "Id" is the primary key of "T_Programm" and of type number, the other
    columns are varchar2.
    First I tried this:
    SELECT P.Id, A.Schluessel, P.Absender
    FROM V_Adresse A,T_Programm P
    WHERE A.Schluessel=P.Absender;
    with the following expected result:
    ID SCHLUESSEL ABSENDER
    10020 BZV BZV
    10000 BZV BZV
    1 BZV BZV
    But with the follwing query there are no results:
    SELECT P.Id, A.Schluessel, P.Absender
    FROM V_Adresse A, T_Programm P
    WHERE A.Schluessel=P.Absender
    AND P.Id=10020;
    Just for fun I tried another query:
    SELECT P.Id, A.Schluessel, P.Absender
    FROM V_Adresse A, T_Programm P
    WHERE A.Schluessel=P.Absender
    AND P.Id>10019 AND P.Id<10021;
    and I got the expected result:
    ID SCHLUESSEL ABSENDER
    10020 BZV BZV
    On the Oracle 8i with the same data there was no problem.
    Maybe there is something wrong with the index or the query optimizer?!?
    Is there any idea?
    thank you in advance
    Stephan

    Hello,
    the column and table names are in german, I hope that's not a problem.
    best regards
    Stephan
    Here are the describes:
    Table T_Programm:
    Name Null? Typ
    ID NOT NULL NUMBER(12)
    JAHRID NUMBER(12)
    TITELID NUMBER(12)
    WAEHRUNGID NUMBER(12)
    TYP VARCHAR2(4)
    KREDITORENKONTO VARCHAR2(32)
    DEBITORENKONTO VARCHAR2(32)
    BANKNAME VARCHAR2(256)
    BANKLEITZAHL VARCHAR2(32)
    KONTONUMMER VARCHAR2(32)
    UNTERSCHRIFT1 VARCHAR2(1024)
    UNTERSCHRIFT2 VARCHAR2(1024)
    UNTERSCHRIFT3 VARCHAR2(1024)
    UNTERSCHRIFT4 VARCHAR2(1024)
    EMSATZ NUMBER(5,2)
    BMSATZ NUMBER(5,2)
    SZSATZ NUMBER(5,2)
    VEDATUM DATE
    VEBETRAG VARCHAR2(256)
    BRIEFKOPF VARCHAR2(256)
    GRUSSZEILE VARCHAR2(256)
    TITEL_KURZ VARCHAR2(256)
    TITEL_LANG VARCHAR2(1024)
    ABSENDER VARCHAR2(32)
    View V_Adresse:
    Name Null? Typ
    MANDANTID NUMBER
    SCHLUESSEL VARCHAR2(32)
    P_ANREDE1 VARCHAR2(16)
    P_ANREDE2A VARCHAR2(16)
    P_ANREDE2B VARCHAR2(16)
    P_POSITION VARCHAR2(32)
    P_TITEL VARCHAR2(32)
    P_VORNAME VARCHAR2(32)
    P_NACHNAME VARCHAR2(32)
    P_ABTEILUNG VARCHAR2(64)
    P_TELEFON VARCHAR2(32)
    P_TELEFAX VARCHAR2(32)
    P_EMAIL VARCHAR2(64)
    P_INTERNET VARCHAR2(64)
    P_ANMERKUNG VARCHAR2(1024)
    O_KUERZEL VARCHAR2(32)
    O_ARTIKELA VARCHAR2(16)
    O_ZEILE1A VARCHAR2(64)
    O_ARTIKELB VARCHAR2(16)
    O_ZEILE1B VARCHAR2(64)
    O_ZEILE1 VARCHAR2(64)
    O_ZEILE2 VARCHAR2(64)
    O_ZEILE3 VARCHAR2(64)
    O_POSTFACH VARCHAR2(16)
    O_PLZPOSTFACH VARCHAR2(16)
    O_STRASSE VARCHAR2(64)
    O_PLZSTRASSE VARCHAR2(16)
    O_ORT VARCHAR2(64)
    O_TELEFON VARCHAR2(32)
    O_TELEFAX VARCHAR2(32)
    O_EMAIL VARCHAR2(64)
    O_INTERNET VARCHAR2(64)
    Here is the view statement:
    CREATE VIEW V_Adresse AS
    SELECT
    1 AS MandantId,
    P.Name AS Schluessel,
    P.Anrede1 AS P_Anrede1,
    P.Anrede2a AS P_Anrede2a,
    P.Anrede2b AS P_Anrede2b,
    P.Position AS P_Position,
    P.Titel AS P_Titel,
    P.Vorname AS P_Vorname,
    P.Nachname AS P_Nachname,
    P.Abteilung AS P_Abteilung,
    P.Telefon AS P_Telefon,
    P.Telefax AS P_Telefax,
    P.Email AS P_Email,
    P.Internet AS P_Internet,
    P.Anmerkung AS P_Anmerkung,
    O.Name AS O_Kuerzel,
    O.Artikela AS O_Artikela,
    O.Zeile1a AS O_Zeile1a,
    O.Artikelb AS O_Artikelb,
    O.Zeile1b AS O_Zeile1b,
    O.Zeile1 AS O_Zeile1,
    O.Zeile2 AS O_Zeile2,
    O.Zeile3 AS O_Zeile3,
    O.Postfach AS O_Postfach,
    O.PLZPostfach AS O_PLZPostfach,
    O.Strasse AS O_Strasse,
    O.PLZStrasse AS O_PLZStrasse,
    O.Ort AS O_Ort,
    O.Telefon AS O_Telefon,
    O.Telefax AS O_Telefax,
    O.Email AS O_Email,
    O.Internet AS O_Internet
    FROM
    T_Organisation O,
    T_Person P
    WHERE
    O.Id=P.OrganisationId
    UNION
    SELECT
    1 AS MandantId,
    O.Name AS Schluessel,
    '' AS P_Anrede1,
    '' AS P_Anrede2a,
    '' AS P_Anrede2b,
    '' AS P_Position,
    '' AS P_Titel,
    '' AS P_Vorname,
    '' AS P_Nachname,
    '' AS P_Abteilung,
    '' AS P_Telefon,
    '' AS P_Telefax,
    '' AS P_Email,
    '' AS P_Internet,
    '' AS P_Anmerkung,
    O.Name AS O_Kuerzel,
    O.Artikela AS O_Artikela,
    O.Zeile1a AS O_Zeile1a,
    O.Artikelb AS O_Artikelb,
    O.Zeile1b AS O_Zeile1b,
    O.Zeile1 AS O_Zeile1,
    O.Zeile2 AS O_Zeile2,
    O.Zeile3 AS O_Zeile3,
    O.Postfach AS O_Postfach,
    O.PLZPostfach AS O_PLZPostfach,
    O.Strasse AS O_Strasse,
    O.PLZStrasse AS O_PLZStrasse,
    O.Ort AS O_Ort,
    O.Telefon AS O_Telefon,
    O.Telefax AS O_Telefax,
    O.Email AS O_Email,
    O.Internet AS O_Internet
    FROM
    T_Organisation O;

  • Deleting records from a table with 12 million records

    We need to delete some records on this table.
    SQL> desc CDR_CLMS_ADMN.MDL_CLM_PMT_ENT_bak;
    Name Null? Type
    CLM_PMT_CHCK_NUM NOT NULL NUMBER(9)
    CLM_PMT_CHCK_ACCT NOT NULL VARCHAR2(5)
    CLM_PMT_PAYEE_POSTAL_EXT_CD VARCHAR2(4)
    CLM_PMT_CHCK_AMT NUMBER(9,2)
    CLM_PMT_CHCK_DT DATE
    CLM_PMT_PAYEE_NAME VARCHAR2(30)
    CLM_PMT_PAYEE_ADDR_LINE_1 VARCHAR2(30)
    CLM_PMT_PAYEE_ADDR_LINE_2 VARCHAR2(30)
    CLM_PMT_PAYEE_CITY VARCHAR2(19)
    CLM_PMT_PAYEE_STATE_CD CHAR(2)
    CLM_PMT_PAYEE_POSTAL_CD VARCHAR2(5)
    CLM_PMT_SUM_CHCK_IND CHAR(1)
    CLM_PMT_PAYEE_TYPE_CD CHAR(1)
    CLM_PMT_CHCK_STTS_CD CHAR(2)
    SYSTEM_INSERT_DT DATE
    SYSTEM_UPDATE_DT
    I only need to delete the records based on this condition
    select * from CDR_CLMS_ADMN.MDL_CLM_PMT_ENT_bak
    where CLM_PMT_CHCK_ACCT='00107' AND CLM_PMT_CHCK_NUM>=002196611 AND CLM_PMT_CHCK_NUM<=002197018;
    Thsi table has 12 million records.
    Please advise
    Regards,
    Narayan

    user7202581 wrote:
    We need to delete some records on this table.
    SQL> desc CDR_CLMS_ADMN.MDL_CLM_PMT_ENT_bak;
    Name Null? Type
    CLM_PMT_CHCK_NUM NOT NULL NUMBER(9)
    CLM_PMT_CHCK_ACCT NOT NULL VARCHAR2(5)
    CLM_PMT_PAYEE_POSTAL_EXT_CD VARCHAR2(4)
    CLM_PMT_CHCK_AMT NUMBER(9,2)
    CLM_PMT_CHCK_DT DATE
    CLM_PMT_PAYEE_NAME VARCHAR2(30)
    CLM_PMT_PAYEE_ADDR_LINE_1 VARCHAR2(30)
    CLM_PMT_PAYEE_ADDR_LINE_2 VARCHAR2(30)
    CLM_PMT_PAYEE_CITY VARCHAR2(19)
    CLM_PMT_PAYEE_STATE_CD CHAR(2)
    CLM_PMT_PAYEE_POSTAL_CD VARCHAR2(5)
    CLM_PMT_SUM_CHCK_IND CHAR(1)
    CLM_PMT_PAYEE_TYPE_CD CHAR(1)
    CLM_PMT_CHCK_STTS_CD CHAR(2)
    SYSTEM_INSERT_DT DATE
    SYSTEM_UPDATE_DT
    I only need to delete the records based on this condition
    select * from CDR_CLMS_ADMN.MDL_CLM_PMT_ENT_bak
    where CLM_PMT_CHCK_ACCT='00107' AND CLM_PMT_CHCK_NUM>=002196611 AND CLM_PMT_CHCK_NUM<=002197018;
    Thsi table has 12 million records.
    Please advise
    Regards,
    NarayanDELETE from CDR_CLMS_ADMN.MDL_CLM_PMT_ENT_bak
    where CLM_PMT_CHCK_ACCT='00107' AND CLM_PMT_CHCK_NUM>=002196611 AND CLM_PMT_CHCK_NUM<=002197018;

  • Deleting data from another table with multiple conditions

    Hi frnds
    I need to delete some data from a table based on multiple condition I tried following sql but its deleteing some rows which is not meeting the criteria which is really dangerours. When i trying = operator it returns ORa- 01427 single -row subquery returns more than one row
    delete from GL_TXNS
    where TRN_DT in (Select trn_Dt from GL_MAT)
    and BR in (select ac_branch from GL_MAT)
    and CODE in (select CODE T from GL_MAT)
    and (lcy_amt in (select lcy_amt from GL_MAT) or
    fcy_amt in(select fcy_amt from GL_MAT)
    rgds
    ramya

    My answer is the same as Avinash's but I will explain a little bit more.
    ORa- 01427 single -row subquery returns more than one rowmeans that you have a subquery that Oracle is expecting one value from that is returning multiple values. In your case you need one value for the equijoin ("=") and you are getting more than one value back. The error happens even if all the values are the same - multiple values being returned will cause the error.
    The solution is to either allow multiple values to be returned (say, use the IN condition istead of "=") or only return one value if possible (say, forcing one value by using DISTINCT, GROUP BY, or a WHERE clause condition of ROWNUM=1) - but these workarounds must be checked carefully to make sure they work correctkly

  • Is there a restriction on deleting data from an table through a view?

    I have an Oracle Forms application where, try as I might, I cannot delete records based on a view. I know that the restriction may be because of Forms but, is there a database level restriction on deleting records through a view?

    try as I might, I cannot delete records based on a view. Do you get an error?
    There are several restrictions about deleting via a view:
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_triggers.htm#sthref1191

  • How to improve performance(insert,delete and search) of table with large data.

    Hi,
    I am having a table which is used for maintaining history and have a large data and that keeps on increasing or decreasing based on the business rules.
    I am getting performance issues with this table which searching for any records or while inserting new data into it. I have already used index in this table but still I am facing lot of issues related to performance.
    Also, we used to insert bulk data into this table.
    Can we have any solution to achieve this, any solutions are greatly appreciated.
    Thanks in Advance!

    Please do not duplicate your posts across forums.  It's considered bad practice and rude, as people will not know what answers you've already received and may end up duplicating the effort.
    Locking this thread - answer on other thread please

  • DELETE QUERY FOR A TABLE WITH MILLION ROWS

    Hello,
    I have a requirement where I have to compare 2 tables - both having around million rows, and delete data based on a single column.
    DELETE FROM TABLE_A WHERE COLUMN_A NOT IN
    (SELECT COLUMN_A FROM TABLE_B)
    COLUMN_A had index defined on it in both tables. Still it is taking a long time. What is the best way to achieve this? any work around?
    thanks

    How many rows are you deleting from this table ? If the precentage is large then the better option is
    1) Create a new table where COLUMN_A NOT IN
    (SELECT COLUMN_A FROM TABLE_B)
    2) TRUNCATE table_A
    3)Insert in to table_A (select * from new table)
    4) If you have any constraints then may be it can be diaabled.
    thanks

Maybe you are looking for

  • Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0

    Hello, Maybe you can help me (new on RMAN backup) in doing this. I have configured a single Oracle 10g database to have backup with RMAN with following steps: 1. $ mkdir $ORACLE_BASE/rman_scripts 2. $ mkdir $ORACLE_BASE/logs 3. $ mkdir $ORACLE_BASE/t

  • Kerberos Authentication DB in Oracle iPlanet Web Server

    [Here is a blog about how to configure Kerberos Authentication Database in Oracle iPlanet Web Server on Solaris 10 update 8 |http://blogs.sun.com/meena/entry/using_kerberos_as_authentication_database]

  • Poor color

    Hello: I have an XL-2 and recently used it to video a sheep dog trial. I shot the video on Auto and brought it into Final Cut Pro 5.12. Then I exported it to the web using Sorenson Squeeze as a QT file. I am finding that as in the past, the contrast

  • IMovie 10.7.2 exporting problem

    I have just upadated my mac to 10.7.2 and my imovie will no longer export. It says something like " the file that is open already has write permissions". I have NO idea what is wrong with it. I have tried all of the troubleshooting tips on all the ot

  • Best codec to use for DVD

    I'd like to output my animation from motion to a standard definition DVD. What and how should I export it so it retains how it looks in Motion when editing? Is there anything else I can use besides DV codec?