Gets the error ORA-01779 after I added the column

Hi, I'm a total newbie in APEX but collaborated with ordinary development Oracle (tables, views, packages, triggers, etc) for a number of years.

I ve been assigned in order to respect an existing application to APEX. One task is to add a column to a single character named 'ACTIVE' to a database table and also present on a current project list page. The value can be 'Y' or 'n'. In the view which is the source of data for the project page ad 'Y' turned into 'Yes' and 'n' turned into 'no '. So far so good, everything works well.

There is another page on which it is possible to create new or modify existing projects. This page uses a view as a source of data. On this page, I added a group of radiobutton that contains two options: 'Yes' and 'no '. When I select to edit a project in the project list page the second page is loaded and the correct option, 'yes' or 'No', is marked on the page. This group of radiobutton works exactly like a couple of other groups of radiobutton also represented with a single character column in the database. So far so good!

However, when I try to save the project file by clicking on "Apply Changes" I get this error:

ORA-20001: DML error: p_rowid = 50, ID = p_alt_rowid, p_rowid2 =, p_alt_rowid2 is. ORA-01779: cannot modify a column that is mapped to a table not preserved key

What is the problem here? The new 'ACTIVE' column is added to the view, when I run the view I Don t get all records in duplicate, the underlying table has a column id as the primary key.

Since I Don t know that APEX is under the hood it s hard tp what's wrong. Anyone knows the solution to this problem?

/ Magnus

Hello Magnus,

Is there an INSTEAD OF trigger defined on the view? Have you added the new column ACTIVE there too?

Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this response in marking it as useful or Correct ;-)

Tags: Database

Similar Questions

  • I'm trying to install Office note 8.1 but get this error message immediately after you enter the serial number and authentication code.

    Remark Office OMR

    I've been remark office omr 8.1 installed on 32-bit windows vista (intel pentium DC) for the last year laptop. Now plan to move it to a more recent hardware and the OS.

    I'm trying to install Office note 8.1 on Windows 7 Home Basic 64 bit (on laptop AMD E450 DC base). But am getting this error message immediately after you enter the serial number and authentication code. I tried to install different versions of the .net Framework (from 1.1 to 4), but nothing seems to solve the problem.

    I even tried to install it in mode compatibality. but no luck.

    Here is the error message (between BEGIN and END lines)

    -BEGIN-

    An error occurred instantiating the object of authentication. Please restart your computer, and they run the Setup again.
    Error number = 2147219705

    Error = description

    ------ END--------

    Appreciate any help

    Thank you

    SJ

    Just for the follow-up of this: I have sent comments, and they responded in 20 minutes with:

    Please contact the Support of the note.  I'm sorry that you are experiencing this error, but it seems by the error message that you install note on a Windows 7 computer.  This error is caused by a Microsoft security update that was released in July 2011 for Windows 7 and caused upward to change our software.  Here is access to our Download Center for you to install the version 8.4 of note.  You will use your current serial number, license key and authentication code.
    They then provided a link to their Download Center where I could download 8.4
    E - mailer to * address email is removed from the privacy * and they will answer you. They have great customer service.
  • My creative cloud app wouldn't update so I followed the instructions to uninstall, clean and reinstall and now I get an error code 43 after 2%. Now, I can't reinstall all the apps. Is there something im missing? IM on a mac.

    My creative cloud app wouldn't update so I followed the instructions to uninstall, clean and reinstall and now I get an error code 43 after 2%. Now, I can't reinstall all the apps. Is there something im missing? IM on a mac.

    Please refer creative cloud re-install - get error 43

    Concerning

    Hervé Khare

  • SQL error: ORA-01779: cannot modify a column that matches a key examine

    Hi all

    The requirement is that I have two tables s_party_d and S_CONTACT_d. the need to update the column name with FST_NAME | ',' | Last_name when column rowid in both tables are equal. I used the query previously below: -.

    Update
    (select
    E1. Name,
    e.FST_NAME,
    Select
    Of
    s_party_d e1,
    E S_CONTACT_d
    where
    E1. Game of ROW_ID = e.ROW_ID)
    name = FST_NAME | ',' | LAST_NAME;

    But I get the error message when executing the query

    Error in the command line: 31 column: 3
    Error report:
    SQL error: ORA-01779: cannot modify a column that is mapped to a table not preserved key
    01779 00000 - 'impossible to change a column that is mapped to a non-preserved table at key'
    * Cause: An attempt was made to insert or update columns in a join finds out who
    map to a table not kept the key.
    * Action: Change the directly underlying base tables.

    Can U please tell me why this error and how to solve?

    Thank you
    Mathon

    Mathon wrote:

    So, I have to look into some other method... I can't achieve this using a single update statement...

    Well, no matter what you do you need to decide what FST_NAME | ',' | Name to use. As I already pointed out for each line of the line of the s_party_d table there are several rows in table S_CONTACT_d. Again, you must yo decide what S_CONTACT_d table row you want to use. For example:

    update s_party_d e1
       set e1.name = (
                      select  max(e.FST_NAME) ||', '|| max(e.LAST_NAME)
                        from  S_CONTACT_d e
                        where e1.ROW_ID=e.ROW_ID
                     )
     where e1.ROW_ID in (
                         select  e.ROW_ID
                           from  S_CONTACT_d e
                        )
    /
    

    SY.

  • Error: ORA-02429 after using expdp/impdp

    Hi all
    I have a problem: when I save my 11g database and restore the database to another name I can't drop specific index.
    I get this error: ORA-02429: cannot delete the index used for the application of unique primary key.

    Note: I can easily delete this index before I run backup/restore procedures.
    Here are the steps.

    (1) creation of database D1
    (2) Save:
    expdp * schemas = D1 dumpfile = D1.dmp logfile = D1.log *.
    (3) create a new db user
    CREATE A USER IDENTIFIED BY D2 D2...
    (4) restoration of D1 to D2:
    Impdp D1/D1* remap_schema = D1: D2 dumpfile = D1.dmp *.
    (5) at this point, I'm getting another identical database D2. but for some reason, I can't drop some clues as described above.

    Any ideas what Miss me in the process. No impdp/expdp modifing my databes somehow?

    Thank you very much.

    Ok
    You can do the following

    1. disable all constraints.
    2 create a script to drop and re-create the index
    3 delete the index
    4 turn off the constraints of
    5 impdp CONTENT = DATA_ONLY
    6. run the script to create indexes
    7. activate the constraints
    8 activate triggers

    See this post
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14215/dp_import.htm#sthref273

  • How to get the column number

    Hi all,

    I'm sorry to ask this question because I found 2 different answers, tried without result. So before you go crazy, I prefer to ask!

    Thus given mySelection = app.selection [0], how is possible to get the column's selection?

    I tried app.selection [0] .parentTextFrames [0].characters.itemByRange (0, x)

    with x being app.selection [0] .index.

    but then I'm stuck as if I add ".textColumns", I get an error

    I explored the second way using app.selection [0].textColumns.item (1).insertionPoints.item (1), but once I'm stuck again.

    As a beginner I don't understand why there is no simple built-in function to call in order to obtain such a result of base

    Any help would be appreciated

    Thank you

    Ed

    Okay here goes,

    For and only for the linked text frames.

    // For and only for linked text frames.
    // Warning
    // The Good: This will PROBABLY work for you
    // The Bad :THIS IS A REALLY PRIMITIVE METHOD
    // The Ugly: It could fail in COUNTLESS cases
    // Here goes......
    
    var mySelection, textFrame, parentPage, c;
    mySelection = app.selection[0];
    textFrame = mySelection.parentTextFrames[0];
    parentPage = textFrame.parentPage;
    c = 0;
    while(textFrame && textFrame.parentPage === parentPage){
        textFrame = textFrame.previousTextFrame;
        c++;
    }
    
    alert('Column number: ' + c);
    

    Now with regard to the issue of the image columns bound text compared to the blocks of text with multiple columns of text or span. Depends on what you're trying to achieve with your workflow.

    The scripts are around written by me and others who convert multicolumn text executives to related texts related and vice versa.

    If you want to know which is more appropriate you can use with your workflow, then I suggest the regular ID forum.

    HTH

    Trevor

  • Error ORA-01779: table preserved key not on update

    Hello.

    I'm doing this update:
     UPDATE (
      SELECT aux.o_customer AS a1, 
        REGEXP_REPLACE(kna.kunnr,'^0*','') AS a2
      FROM payer_catalog cli, 
        customer_master_cat kna, 
        aux_customer aux
      WHERE aux.o_customer = cli.cte_num
        AND cli.cte_num = kna.cte_num
    ) SET a1 = a2; 
    What I get is:
    ERROR at line 1:
    ORA-01779: cannot modify a column that is mapped to a table not preserved key >

    I have read on the key preserved table, but I'm going through a difficult time. Given that I did not understand the concept. Your help is greatly appreciated, so I can understand the question.

    It's the table create:
    CREATE TABLE AUX_CUSTOMER
       (     KEY_GUIDE VARCHAR2(30 CHAR), 
         O_CUSTOMER VARCHAR2(10 CHAR), 
         O_NAME VARCHAR2(80 CHAR)
       );
    
    CREATE TABLE CUSTOMER_MASTER_CAT
       (     KUNNR VARCHAR2(10 BYTE), 
         NAME1 VARCHAR2(100 BYTE), 
         NAME2 VARCHAR2(100 BYTE), 
         CTE_NUM VARCHAR2(10 BYTE)
       ) ;
    
    CREATE TABLE PAYER_CATALOG
       (     CTE_NUM VARCHAR2(10 BYTE), 
         PAYER VARCHAR2(100 BYTE)
       );
    And some inserts:
    Insert into AUX_CUSTOMER (KEY_GUIDE,O_CUSTOMER,O_NAME) values ('171109366944  23/01/12','N001210514',null);
    Insert into AUX_CUSTOMER (KEY_GUIDE,O_CUSTOMER,O_NAME) values ('005107145536  23/01/12','N001210600',null);
    Insert into AUX_CUSTOMER (KEY_GUIDE,O_CUSTOMER,O_NAME) values ('666318008569  23/01/12','0000104574',null);
    Insert into AUX_CUSTOMER (KEY_GUIDE,O_CUSTOMER,O_NAME) values ('043188136629  23/01/12','N001210514',null);
    
    INSERT INTO CUSTOMER_MASTER_CAT (KUNNR,NAME1,NAME2,CTE_NUM) VALUES ('0000008147','HONDA MOTOR','COMPANY LTD','N001210514');
    Insert into CUSTOMER_MASTER_CAT (KUNNR,NAME1,NAME2,CTE_NUM) values ('0000009559','APPLE','INC','N001210515');
    Insert into CUSTOMER_MASTER_CAT (KUNNR,NAME1,NAME2,CTE_NUM) values ('0000104574','SAMSUNG ELECTRONICS ','INC',null);
    
    Insert into PAYER_CATALOG (CTE_NUM,PAYER) values ('N001210514','HONDA');
    Insert into PAYER_CATALOG (CTE_NUM,PAYER) values ('N001210515','EXTERNAL CUSTOMER');
    Insert into PAYER_CATALOG (CTE_NUM,PAYER) values ('N001210516','CELLULAR COMPANY');
    This are not the tables I have created, I just checked the information.
    Kind regards.

    Hello

    If it is not clear how to do an UPDATE, there is a good chance that the UPDATE is not the right tool for the job.
    Try instead MERGER.

    MERGE INTO     aux_customer     dst
    USING (
         SELECT    aux.key_guide
         ,       MIN ( REGEXP_REPLACE ( kna.kunnr
                                            , '^0*'
                                      )
                       )                     AS a2
         FROM      payer_catalog             cli
         ,       customer_master_cat       kna
         ,           aux_customer                  aux
         WHERE        aux.o_customer            = cli.cte_num
         AND       cli.cte_num                 = kna.cte_num
         GROUP BY  aux.key_guide
          )                    src
    ON    (dst.key_guide     = src.key_guide)
    WHEN MATCHED THEN UPDATE
    SET   dst.o_customer     = src.a2
    ;
    

    What are the results you want from the given sample data?
    The MERGE statement above let aux_customer that looks like this:

    KEY_GUIDE                      O_CUSTOMER O_NAME
    ------------------------------ ---------- ----------
    005107145536  23/01/12         N001210600
    043188136629  23/01/12         8147
    171109366944  23/01/12         8147
    666318008569  23/01/12         0000104574
    

    Whether you use the FUSION or the UPDATE, if you update the actual table or view online, please make sure that the query that produces the new product (at most) one value of 1 line for each line in the table updated.

  • I get message 'Error switching modules' after upgraded to 6.3

    I've upgraded to the stand-alone 6.3 Lightroom (from 6.2) (not CC) version.

    When I run Lightroom, I get the error message "error when you try to switch modules.

    I am under Lightroom on a MacBook Pro with El Capitan.

    Next big disappointment after 6.2 issues...

    After uninstall, 6.0 installation and then manual (not through application Manager) 6.3 update its working again

  • We get sec_error_untrusted_issuer error. Even after deleting cert8.db

    Try to open the https://fogaiba.atlassian.net site I get the sec_error_untrusted_issuer and can't add exceptions.

    I've read a lot about this and I already deleted file cert8.db.

    I use Windows XP and Firefox 18.

    Any ideas?
    With Google Chrome, I can get into the site after the acceptance of the exception.

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.
    Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

  • How to get the column provided out of the Oracle Data Miner?

    Hi all!

    I use Oracle Data Miner provided with Oracle SQL Developer to predict the loss of customers. If I plan on the table column lets say X (as a target column) of table say T, so how can I get the corresponding values under my model?

    Here is the simplified model for the reference.

    Thanks in advance!

    Customer churn.PNG

    Hello

    Simply connect a node that accepts data to the node to apply it.

    For example, if you want to create a view or table table using the prediction of outputs generated by the node to apply it, and then add a Create Table node and connect the node to apply it.

    For more information, try the Oracle by example tutorials for ODMr.

    You must use the node apply Publisher to revise prediction outputs models to generate as well as the additional columns to include, for example columns id.

    There are a set of predictor columns added by default that may be acceptable.

    THX, mark

  • How to get the column headers into an Excel report with variable width columns?

    Hello:

    I read this question before but I can´t open the link when I try to download the solution I get the following: status HTTP 404 the requested resource is not available.

    Can someone help me with the solution? I want to just put a heading for each column (1 thermocouple, thermocouple 2, anemometer, etc.).

    In advance, thank you for your help!

    You may need to take some tutorials.

    LabVIEW Introduction course - 3 hours
    LabVIEW Introduction course - 6 hours

  • [ADF, JDev12.1.3] How to get the column headers, request of VO and VO bind vars used by an af:table?

    Hallo,

    I want to create a method that takes as a parameter the id of an af:table (used to display the search results) and returns:

    • the column headings of the af: table
    • Visible property (true/false) of the columns af:table
    • the actual query of the VO instance used to create the af: table
    • the values of real bind variables passed to the query of the instance of VO

    I would like to create a servlet which takes the parameters reruns the query and returns a report Excel/PDF file that contains exactly the same columns and same of the af records: table.

    I'm a little confused on who use the code to achieve this... you kindly help me?

    I did a similar qustion here Re: [ADF, JDev12.1.3] how to export an af:table to Excel in an ADF Essentials application? but then I guessed that it was preferable to create a new thread.

    Thank you

    Federico

    For this, you can use this type of code

    Context LocaleContext = _adfTableBinding.getLocaleContext ();

    for (attr AttributeDef: attributeDef) {}

    Label As String = attr.getUIHelper () .getLabel (context);

    _logger.info ("Attritbute name:" + attr.getName () + "column name:" + attr.getColumnName () + "Col4Query name:" + attr.getColumnNameForQuery () +)

    "Name:"+ label);

    }

    which produces this output

    Timo

  • Get the columns returned by the query without running

    I have a table that stores SELECT queries in a column. I developed a .net application where the interesting thing for the user is what columns of the following SELECT statement returns. Currently, I load the sql as an OracleCommand object CommandText and fill a DataTable using an OracleDataAdapter object. I then read the names of the columns of the table filled. The data is not fully used. Requests can take up to 15 seconds to run. Because I do not used the data, I was hoping to eliminate the actual recovery of data and reduce the time needed to retrieve the records. Is it possible to analyze the statement for the colunm names with it makes the request for enforcement? Thank you.

    I imagine that there is a way you can search in the data dictionary, but you can also try to add 'WHERE 1 = 0' If you want the metadata.

    It will be useful,
    Greg

  • How can I get the columns-by-side?

    http://www.Adobe.com/devnet/Dreamweaver/articles/first_website_pt2_08.html

    In the creation of your first tutorial of Web site (see link) I can not understand how to recover the columns side by side are being stacked. I went on the indications of the tutorial at least five times. What I am doing wrong in coding?   Here is a picture of my screen:Dreamweaver.jpg

    Here is a screenshot of how the columns should be stacked (from the tutorial):

    Dreamweaver-1.jpg

    Take a look at where you graduate #center_column in the html code of the page. You have this:

    where it should be

    Because a class called 'center_column' has not been defined (somehow), it belongs to the following line.

    I saw your styles for all three columns, as IDs.

    Beth

  • Why im getting this error: "ORA-22813: value of the operand exceeds the limits of the system.

    HI EXPERTS...

    Please helpme to fix this...

    I have a database of oracle 11g, runnint on a Windows Server 2008:

    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production

    I have two tables:

    CREATE TABLE UTILS. SEG_ROLES

    (

    VARCHAR2 (12-BYTE) APPLICATION,

    ROL VARCHAR2 (12-BYTE),

    USERS VARCHAR2 (255 BYTE)

    )

    TOGETHER TO DEFINE

    Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ('MULTIPLAN', 'ADMIN', 'ADMIN');

    Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ("MULTICLIP", 'CAR01', 'PATY');

    Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ("MULTICLIP", "CAR02", "FABIOLA, ERIKA");

    Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ("MULTICLIP", "CON01', 'LUCY, PATY');

    Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ("MULTICLIP", 'CON02', 'VALERIA');

    COMMIT;

    CREATE TABLE UTILS. SEG_ACCESOS

    (

    VARCHAR2 (12-BYTE) APPLICATION,

    ADMROL VARCHAR2 (12-BYTE),

    VARCHAR2 (20 BYTE) MENU,

    OPCION VARCHAR2 (20 BYTE),

    TYPE VARCHAR2 (5 BYTE),

    OBJETO_MENU VARCHAR2 (40 BYTE),

    ACCESO VARCHAR2 (2 BYTE),

    ROLES_ACCESOS VARCHAR2 (255 BYTE)

    )

    TOGETHER TO DEFINE

    Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)

    Values ("MULTICLIP", "ADMIN", "ROOMMA", NULL, am', 'm_coloca', the of ', 'CAR01, CAR02');

    Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)

    Values ("MULTICLIP", "ADMIN", "PUT", "PREVALIDA", "SM", "sm_prevalida", the from ', 'CAR01, CAR02');

    Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)

    Values ("MULTICLIP", "ADMIN", "PUT", "PRECOLOCA", "SM", "sm_preColocacion", the from ', 'CAR01, CAR02');

    Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)

    Values ("MULTICLIP", 'ADMIN', 'LOVE', "COLOCACIÓN", "SM", "sm_colocacion", the from ', "CAR01");

    Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)

    Values ("MULTICLIP", "ADMIN", "PUT", "REGCOLOCA", "SM", "sm_regcoloca", the from ', "CAR01");

    Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)

    Values ("MULTICLIP", "ADMIN", "LDP", NULL, am', 'm_PLD', the of ', "CAR01, CAR02, CON01 CON02");

    Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)

    Values ("MULTICLIP", "ADMIN", "LDP", "LN_CONSULTA", "SM", "sm_PLD_LNConsulta", the from ', 'CAR01, CAR02');

    Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)

    Values ("MULTICLIP", "ADMIN", "LDP", "LN_BARRIDOMASIVO", "SM", "sm_PLD_LNBarridoMasivo", the from ', "CAR01");

    Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)

    Values ("MULTICLIP", "ADMIN", "LDP", "REP_INICICLO", "SM", "sm_PLD_ReporIniciclo", the from ', 'CON01, CON02');

    Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)

    Values ("MULTICLIP", "ADMIN", "LDP", "LN_BITACORA", "SM", "sm_PLD_LNBitacora", the from ', "CON01");

    COMMIT;

    - And this point of view:


    CREATE VIEW UTILS. VW_ROL_USER AS

    Select distinct APPLICATION, ROL, trim (column_value) USUARIO

    from (SELECT APPLICATION, ROL, USERS USER

    FROM UTILS. SEG_ROLES

    WHERE IT IS NOT NULL TO USERS

    ORDER BY APPLICATION, ROL

    ) t,.

    XMLTable ((' «' ||)) Replace (USER, ",", "",""). '"'))

    order by APPLICATION, ROL, trim (column_value)

    CREATE VIEW UTILS. VW_ACC_ROL AS

    Select distinct APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, trim (column_value) ROL

    (SELECT APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS ROL

    FROM UTILS. SEG_ACCESOS

    WHERE ROLES_ACCESOS IS NOT NULL

    ORDER BY APPLICATION, ADMROL, MENU, OPTION

    ) t,.

    XMLTable ((' «' ||)) Replace (ROL, ",", "",""). '"'))

    MENU, TYPE, OPTION, APPLICATION control, trim (column_value)

    CREATE VIEW UTILS. VW_SEG_ACCESOS AS

    SELECT VACR. APPLICATION, VACR. MENU, VACR. TIPO, VACR. OPCION, VACR. OBJETO_MENU, VACR. ACCESO, VACR. ROL, VUSR. USUARIO

    FROM UTILS. VW_ACC_ROL VACR,

    UTILS. VW_ROL_USER VUSR

    WHERE VACR. ROL = VUSR. ROL

    ORDER OF VACR. APPLICATION, VACR. ROL, VACR. MENU, VUSR. USUARIO, VACR. TIPO, VACR. OPCION

    When I ask the last posting, it works fine:

    SELECT VSEG.* IN UTILS. VW_SEG_ACCESOS VSEG

    But when I add conditions:

    SELECT VSEG.* IN UTILS. VW_SEG_ACCESOS VSEG

    WHERE VSEG. APPLICATION = "MULTIPLAN.

    AND VSEG. USER = 'PATY '.

    It generates this error:

    ORA-22813: value of the operand is greater than the limits of the system

    Cause: The value of the object or the Collection was too big. The size of the value might have exceeded 30 k in a context of TYPE, or size may be too large for the available memory.

    Action: Choose a different value, and try the operation again.

    Why?

    Thanks in advance...

    Finally found a SOLUTION at: http://stackoverflow.com/questions/14328621/oracle-10g-splitting-string-into-multiple-rows

    just change the way we create the view using the regexp_substr.

    CREATE VIEW UTILS. VW_ROL_USER AS

    SELECT distinct trim APPLICATION, ROL, (regexp_substr (USERS, ' [^,] +', 1, level)) USER

    FROM UTILS. SEG_ROLES t

    WHERE IT IS NOT NULL TO USERS

    CONNECTION BY instr (USERS, ',', 1, level - 1) > 0

    order by APPLICATION, ROL

    Thank you all

Maybe you are looking for