ORA-30936 error updating a SQLType="CLOB" field

PROBLEM:
I'm using Oracle 9.2.0.4 on Solaris 64bit.
My table is:
create table cd3_tab(id number primary key, cd xmltype)
xmltype column cd
xmlschema "cd3.xsd" element "CDS"
I have inserted one xml file into cd field.The id has value 2.
Below you can find the schema.
Using:
update cd3_tab cd=updateXML(cd,'/CDS/CD[1]/Description/text()','xxx')
where id =2
i get: ORA-30936 Maximum Number(1) of 'Description' XML node elements exceeded.
As you can see in the schema the Description filed is defined with the xdb:SQLType="CLOB" directive because it can be longer than 4k.
If i do:
update cd3_tab cd=updateXML(cd,'/CDS/CD[1]/Title/text()','xxx')
where id =2
i got the same error and THIS IS BIZARRE always on the 'Description' node even if my update now in on the 'Title' filed.
OTHER TEST
==========
Also the same error occurs when i select the Description node:
select extract(cd,'/CDS/CD[1]/Description/text()') from cd3_tab where id=2;
if i use : select extract(cd,'/CDS/CD[1]/Description') from cd3_tab where id=2;
i got no error.
SCHEMA
======
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb">
<xs:element name="CDS">
<xs:complexType>
<xs:sequence>
<xs:element ref="CD" minOccurs="1" maxOccurs="unbounded" xdb:SQLInline="false"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CD">
<xs:complexType>
<xs:sequence>
<xs:element name="Title" type="xs:string"/>
<xs:element name="Artist" type="xs:string"/>
<xs:element name="Website" type="xs:anyURI"/>
<xs:element name="Description" xdb:SQLName="DESCRIZIONE_T" xdb:SQLType="CLOB"/>
<xs:element name="Songs">
<xs:complexType>
<xs:sequence>
<xs:element name="Song" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Title" type="xs:string"/>
<xs:element name="PlayingTime" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

Upgrade to 9.2.0.5.0 since 9.2.0.2.0 is not supported for XMLType. Also try OCI rather than thin dirver.

Similar Messages

  • Getting ORA-24801: error when reading a CLOB data using BufferReader

    I am getting the "ORA-24801: illegal parameter value in OCI lob function", when reading a CLOB using a BufferedReader, i am using "oracle.jdbc.OracleDriver" for creating a connection pool and using Oracle 9.2.0.7 with Weblogic 8.1 SP 5. My code looks like this,
    oracle.sql.CLOB c_lob = null;
    c_lob = ( oracle.sql.CLOB)stmt.getClob(7);
    BufferedReader in1 = new BufferedReader(c_lob.getCharacterStream());
    char buffer[] = new char[1];
    int i;
    while((i = in1.read(buffer)) != -1)
    The error is coming at "in1.read(buffer)".

    Hi,
    Your buffer size should be the clob size.
    char[] buffer = new char[c_lob.getBufferSize()];
    Also, set the value for i as -1.
    You could see the sample on OTN for help:
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/advanced/LOBSample/Readme.html
    Thanks,
    Rashmi

  • Understanding logminer results -- inserting row into table with CLOB field

    In using log miner I have noticed that inserts into rows that contain a CLOB (I assume this applies to other LOB type fields as well, have only tested with CLOB so far) field are actually recorded as two DML entries.
    --the first entry is the insert operation that inserts all values with an EMPTY_CLOB() for the CLOB field
    --the second entry is the update that sets the actual CLOB value (+this is true even if the value of the CLOB field is not being set explicitly+)
    This separation makes sense as there may be separate locations that the values are being stored etc.
    However, what I am tripping over is the fact the first entry, the Insert, has a RowId value of 'AAAAAAAAAAAAAAAAAA' which is invalid if I attempt to use it in a flashback query such as:
    SELECT * FROM PERSON AS OF SCN #####'  where RowId = 'AAAAAAAAAAAAAAAAAA'The second operation, the Update of the CLOB field, has the valid RowId.
    Now, again, this makes sense if the insert of the new row is not really considered "+done+" until the two steps are done. However, is there some way to group these operations together when analyzing the log contents to know that these two operations are a "+matched set+"?
    Not a total deal breaker, but would be nice to know what is happening under the hood here so I don't act on any false assumptions.
    Thanks for any input.
    To replicate:
    Create a table with CLOB field:
    CREATE TABLE DEVUSER.TESTTABLE
            ID NUMBER
           , FULLNAME VARCHAR2(50)
          , AGE NUMBER  
          , DESCRIPTION CLOB
           );Capture the before SCN:
    SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER FROM DUAL;Insert a new row in the test table:
    INSERT INTO TESTTABLE(ID,FULLNAME,AGE) VALUES(1,'Robert BUILDER',35);
         COMMIT;Capture the after SCN:
    SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER FROM DUAL;Start logminer session with the bracketing scn values and options etc:
    EXECUTE DBMS_LOGMNR.START_LOGMNR(STARTSCN=>2619174, ENDSCN=>2619191, -
               OPTIONS => DBMS_LOGMNR.DICT_FROM_ONLINE_CATALOG + DBMS_LOGMNR.CONTINUOUS_MINE + -
               DBMS_LOGMNR.COMMITTED_DATA_ONLY + DBMS_LOGMNR.NO_ROWID_IN_STMT + DBMS_LOGMNR.NO_SQL_DELIMITER)Query the logs for the changes in that range:
    SELECT
           commit_scn, xid,operation,table_name,row_id
           ,sql_redo,sql_undo, rs_id,ssn
           FROM V$LOGMNR_CONTENTS
        ORDER BY xid asc,sequence# ascResults:
    2619178     0C00070028000000     START                  AAAAAAAAAAAAAAAAAA     set transaction read write
    2619178     0C00070028000000     INSERT     TESTTABLE     AAAAAAAAAAAAAAAAAA     insert into "DEVUSER"."TESTTABLE" ...
    2619178     0C00070028000000     UPDATE     TESTTABLE     AAAFEXAABAAALEJAAB     update "DEVUSER"."TESTTABLE" set "DESCRIPTION" = NULL ...
    2619178     0C00070028000000     COMMIT                  AAAAAAAAAAAAAAAAAA     commitEdited by: 958701 on Sep 12, 2012 9:05 AM
    Edited by: 958701 on Sep 12, 2012 9:07 AM

    Scott,
    Thanks for the reply.
    I am inserting into the table over a database link.
    I am using the new version of HTML Db (2.0)
    HTML Db is connected to an Oracle 10 database I think, however the table I am trying to insert data into (via the database link) is in an Oracle 8 database - this is why we created a link to it as we couldn't have the HTML Db interacting with the Oracle 8 database directly due to compatibility problems (or so I've been told)
    Simon

  • ORA-01002-Error in Select ... for update

    I would like to insert CLOB in a table (VP_EVENTS) with a primary key (eventid) with the following code:
    String content = "AAAAAAAAAAAAABBBBBBBBBBXXX";
    PreparedStatement cs = this.con.prepareStatement("INSERT INTO vp_events (eventid,term,participant)
    VALUES (?,?,empty_clob())");
    //Register IN-Parameter
    cs.setInt(1, 1);
    cs.setInt(2, 1);
    cs.setTimestamp(3, new java.sql.Timestamp( System.currentTimeMillis() ));
    //Execute statement
    cs.execute();
    cs.close();
    Statement stmt = con.createStatement();
    ResultSet clobLocatorSet = stmt.executeQuery( "SELECT PARTICIPANT FROM VP_EVENTS WHERE EVENTID=1 FOR UPDATE");
    // Get the CLOB-locator
    if (clobLocatorSet.next())
    oracle.sql.CLOB clob =
    ((oracle.jdbc.driver.OracleResultSet)
    clobLocatorSet).getCLOB(1);
    // Write CLOB-Data
    // The first parameter to plsql_write, is // the offset from which to start
    // writing, and the second parameter is the // data to be written.
    // plsql_length(), returns the length of // the data in the CLOB column
    countCLOB = clob.plsql_write(
    0,content.toCharArray());
    At the execution-point of the "Select for Update"-statement the oracle thin driver throws the Error "Fetch out of sequence ORA-01002".
    What's wrong?

    Connection conn = DriverManager.getConnection ("jdbc racle:thin:@myhost:1521:ORCL","scott", "tiger");
    conn.setAutoCommit(false);
    Statement stmt = conn.createStatement ();
    null

  • Get error ORA-20505 and ORA-01403 when UPDATING record

    Hi,
    I'm running APEX 3.2.1, on Oracle XE 10.2.0.1, on Sun Ultra20 (Intel-based) running Windows Server 2003.
    I created a small, department database - to keep track of contacts, equipment, etc.
    Initially, I used a NUMBER as the PRIMARY KEY in both the CONTACTS table and EQUIPMENT tables. I created a CONTACTS interactive report and a CONTACT DETAILS form, where the EDIT button on a row in the CONTACTS report brings up the individual record to modify. Same thing for EQUIPMENT - interactive report page and form page.
    This all worked fine!
    Then, I decided to change the PRIMARY KEY for the CONTACTS table to a STRING - with CONTACT_FIRST_NAME and CONTACT_LAST_NAME as the primary key. I figured I this would prevent duplicate entries. After the change, inserts work. Updates work, IF a change is made to ANY field EXCEPT first name or last name.
    UPDATES fail - if user modifies EITHER the first name or last name - in APEX. But, update SUCCEEDS if done in SQL Developer. Obviously, I missing a subtle nuance in APEX, but I can't figure it out.
    I've included DEBUG trace and version information below.
    Thanks,
    Andy
    ORA-20505: Error in DML: p_rowid=Adam1, p_alt_rowid=CONTACT_FIRST_NAME, p_rowid2=Adam, p_alt_rowid2=CONTACT_LAST_NAME. ORA-01403: no data found
    0.02: A C C E P T: Request="SAVE"
    0.02: Metadata: Fetch application definition and shortcuts
    0.02: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    0.02: alter session set nls_language="AMERICAN"
    0.02: alter session set nls_territory="AMERICA"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to -06:00
    0.02: Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
    0.02: ...NLS: Set date format="DD-MON-YYYY"
    0.03: Fetch session state from database
    0.03: ...Check session 1896858759858984 owner
    0.03: Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
    0.03: ...NLS: Set date format="DD-MON-YYYY"
    0.03: ...Check for session expiration:
    0.03: ...Metadata: Fetch Page, Computation, Process, and Branch
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 101, page 21
    0.05: ...Validate item page affinity.
    0.05: ...Validate hidden_protected items.
    0.05: ...Check authorization security schemes
    0.05: Session State: Save form items and p_arg_values
    0.05: ...Session State: Save "P21_CONTACT_FIRST_NAME" - saving same value: "Adam"
    0.06: ...Session State: Saved Item "P21_CONTACT_LAST_NAME" New Value="Adam Jr"
    0.06: ...Session State: Save "P21_CONTACT_COMPANY" - saving same value: "Atempo"
    0.06: ...Session State: Save "P21_CONTACT_JOB_TITLE" - saving same value: "Sr Sw Engr"
    0.06: ...Session State: Save "P21_CONTACT_JOB_ROLE" - saving same value: "Engineering"
    0.06: ...Session State: Save "P21_CONTACT_STATUS" - saving same value: "Active"
    0.06: ...Session State: Save "P21_CONTACT_PRODUCT" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_PHONE" - saving same value: "222-333-4444"
    0.06: ...Session State: Save "P21_CONTACT_MOBILE" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_FAX" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_EMAIL" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_STREET" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_CITY" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_STATE" - saving same value: "CO"
    0.06: ...Session State: Save "P21_CONTACT_ZIP" - saving same value: ""
    0.06: ...Session State: Save "P21_CONTACT_COUNTRY" - saving same value: "United States"
    0.06: ...Session State: Save "P21_CONTACT_NOTES" - saving same value: ""
    0.06: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.06: Branch point: BEFORE_COMPUTATION
    0.06: Computation point: AFTER_SUBMIT
    0.06: Tabs: Perform Branching for Tab Requests
    0.06: Branch point: BEFORE_VALIDATION
    0.06: Perform validations:
    0.08: ...Item in validation equals expression 2: P21_CONTACT_JOB_ROLE
    0.08: ...Item in validation equals expression 2: P21_CONTACT_STATUS
    0.08: ...Item Not Null Validation: P21_CONTACT_PHONE
    0.08: ...Item in validation equals expression 2: P21_CONTACT_STATE
    0.08: ...Item in validation equals expression 2: P21_CONTACT_COUNTRY
    0.08: Branch point: BEFORE_PROCESSING
    0.08: Processing point: AFTER_SUBMIT
    0.08: ...Process "Process Row of ISR_CONTACTS": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:ISR_CONTACTS:P21_CONTACT_FIRST_NAME:CONTACT_FIRST_NAME:P21_CONTACT_LAST_NAME:CONTACT_LAST_NAME|IU
    0.08: Show ERROR page...
    0.08: Performing rollback...
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Database     
    NAME     XE
    CREATED     06/08/2010 05:22:50 PM
    RESETLOGS_TIME     07/09/2010 10:09:59 AM
    PRIOR_RESETLOGS_CHANGE#     193066
    PRIOR_RESETLOGS_TIME     06/08/2010 05:22:52 PM
    LOG_MODE     ARCHIVELOG
    CHECKPOINT_CHANGE#     4436025
    ARCHIVE_CHANGE#     4387159
    OPEN_RESETLOGS     NOT ALLOWED
    VERSION_TIME     07/09/2010 10:08:44 AM
    OPEN_MODE     READ WRITE
    PROTECTION_MODE     MAXIMUM PERFORMANCE
    PROTECTION_LEVEL     MAXIMUM PERFORMANCE
    REMOTE_ARCHIVE     ENABLED
    DATABASE_ROLE     PRIMARY
    ARCHIVELOG_CHANGE#     4458138
    SWITCHOVER_STATUS     SESSIONS ACTIVE
    DATAGUARD_BROKER     DISABLED
    GUARD_STATUS     NONE
    FORCE_LOGGING     NO
    CGI Environment     
    PLSQL_GATEWAY     WebDb
    GATEWAY_IVERSION     2
    SERVER_SOFTWARE     Oracle Embedded PL/SQL Gateway/10.2.0.1.0
    GATEWAY_INTERFACE     CGI/1.1
    SERVER_PORT     8080
    SERVER_NAME     XDB HTTP Server
    REQUEST_METHOD     GET
    QUERY_STRING     p=4500:36:1896858759858984:::::
    PATH_INFO     /f
    SCRIPT_NAME     /apex
    REMOTE_ADDR     10.135.65.180
    SERVER_PROTOCOL     HTTP/1.1
    REQUEST_PROTOCOL     tcp
    REMOTE_USER     ANONYMOUS
    HTTP_USER_AGENT     Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 (.NET CLR 3.5.30729)
    HTTP_HOST     isr-si-project:8080

    Maybe because you're changing primary key...and then updating record with primary key that doesn't exist.

  • ORA-03115 Error using CLOB with JDBC

    When I try to access CLOB field data with JDBC driver, I gets following error:
    ORA-03115: unsupported network datatype or representation.
    I am using JDBC 8.1.6(Thin), Oracle 8.0.5
    on Linux OS.
    what's the problem ?
    Thank you for any help.
    Taesoo.
    null

    if it is a bug, then its better to upgrade the database to 10.2.0.4. it is the stable verion in 10g.

  • Ora-03114 error when using trigger on spatial field

    I have a table the has a lat and long field and an geometry field. I want to place a trigger so that as the users insert lat and long into the table it also populates those values into the geometry field. I built a trigger that is supposed to do this. Upon insert I get an ora-03114 error. I can run the same piece of pl/sql as a plain update statement. How do I solve this problem.
    the DB is 9.0.1.2 and is stuck thier because of some 3rd party tools.
    Aaron

    Hi,
    ORA-03114: not connected to ORACLE
    Cause: A call to Oracle was attempted when no connection was established. Usually this happens because a user-written program has not logged on. It may happen if communication trouble causes a disconnection. In addition, this message could occur when ALTER SYSTEM KILL SESSION or ALTER SYSTEM DISCONNECT SESSION were issued with the IMMEDIATE qualifier because, in those cases, the client's connection to the database is terminated without waiting for the client to issue a request.
    Check your client connection settings, your driver etc.
    regards, Andreas

  • Updating a CLOB field

    Good morning.
    I have a table....
    Table1
    ID CLOBTXT
    123 null
    456 Testing Text
    I want to update the CLOB field in row 123 with the clob field from 456. For some reason I am unable to update it. I can insert the data from 456 into another table so I know it is reading it but I just cant update the 123 row.
    Any ideas? I am new to CLOB and am trying to learn about how to handle them.
    Thanks

    Can you be more specific about the Oracle version and the SQL you are using, and the error message you receive?
    I just tried this simple test with no problems:
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    SQL> CREATE TABLE t (id NUMBER(3), clobtxt CLOB);
    Table created.
    SQL> INSERT INTO t VALUES (123, NULL);
    1 row created.
    SQL> INSERT INTO t VALUES (456, 'Testing text');
    1 row created.
    SQL> COMMIT;
    Commit complete.
    SQL> SELECT * FROM t;
            ID
    CLOBTXT
           123
           456
    Testing text
    SQL> UPDATE t
      2     SET clobtxt = (SELECT clobtxt FROM t WHERE id = 456)
      3   WHERE id = 123;
    1 row updated.
    SQL> COMMIT;
    Commit complete.
    SQL> SELECT * FROM t;
            ID
    CLOBTXT
           123
    Testing text
           456
    Testing text
    SQL>

  • ORA-00904 error while export table with CLOB

    All,
    I'm trying to export from Oracle Client 8.0.4 an specific Oracle 9i R2 schema, but this error appears. This error is related with tables that have CLOB field types, because schemas with tables without this field type can be exported with no error. I've already run the catexp.sql script, but it haven't solved this problem.
    Does anyone can help me?
    Thanks,
    Davi

    You can try performing the import of the dump to see if it would work with 8i client or the 8.0.4 client.
    if not, you may not be able to use this method to move data into 8.0.4 database that is no longer spported by current tools.
    you may then want to try use other techniques like dumping tables into flat files and then using SQL*Loader to load into 8.0.4.
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:88212348059#14506966201668

  • Ora -20001 error coming while updating from a tabular form

    Hi
    I have a tabular form , which updates a table in the database.
    Whenever I update the record first time I getting an error as
    Error in MRU internal routine ORA-20001.Error in MRU:row=1,
    ORA-1403 no_data_found, update abc.sale_forcast_temp set "PK_ID"=:b1,"W27"=:b2
    Error unable to update process
    But when I press Ok return to the form and then again try to update , records gets successfully updated
    Regards
    Shashi

    Kamal,
    This will be the pseudocode.
    Procedure A()
    select * from EMP bulk collect into records_array; --Of type RECORD_ARRAY
    batch_count = (records_array.length) / batch_size;
    --batch_size is say 5000 rows and batch_count is the number of batches  
    for i in 1..(batch_count+1)
    B( records_array);
    C();
    commit;
    Procedure B(records_array in RECORD_ARRAY )
    INSERT /*+PARALLEL(EMP_DUMMY, 2) */
    INTO TABLE EMP_DUMMY
    SELECT * from TABLE(CAST(records_array as RECORD_ARRAY) ;
    Procedure C()
    Other operations which include reads on the EMP_DUMMY table;
    This is the top view of how it looks like. Actually the Select statement for the insert statement is very complex and I do a join on the records that are being passed in by casting it into a table. This query is taking about 40 minutes for 10,000 rows in the records_array. I need to parellelise this query because each row of the records_array yields a different row for the EMP_DUMMY table.
    I hope that I made it clear for you.
    Can you also tell me if procedure C in which I shall be doing a read on the EMP_DUMMY table, has any affect of the parallel insert
    Thanks for your help.

  • Error in mru internal routine: ORA-20001: while updating tabular report

    Hi,
    I am new to APEX..
    I am getting the following error when updating a tabular updateable report when I change the query that was created using the wizard.
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process.
    I need to get some extra data other than the those returned from the detail table.Hence I have changed the query.
    If i delete the row and add a row,no error is displayed.
    My primary key has been hidden.
    Kindly help.
    Thanks .

    I had the same problem. When I changed the query then I forgot to add primary key column in the query. That's why I couldn't update the table value. But I could insert a new record bacause I have a trigger at database level to add new id value for primary key column.

  • Update a CLOB field in a table

    Can some help me in updating a field of CLOB type in a table? The field has some HTML content and i want to search for a particular string and update it in the field.
    eg:
    <TR></TR> is part of the HTML content present in the field. I need to update it to <TR>aa</TR> across all the rows which has such a string.
    Thanks

    Try this
    SQL> SELECT * FROM Y99
      2  /
    A
    <TR></TR>
    SQL> update y99 set a = replace(A,'<TR></TR>', '<TR>A</TR>')
      2  /
    1 row updated.
    SQL> SELECT * FROM Y99
      2  /
    A
    <TR>A</TR>
    SQL>Regards
    Singh

  • UPDATE a CLOB field

    Hi,
    I have to write an UPDATE statement to update a CLOB field. I know that there's a 4000 char limit on a string (in an UPDATE). Any suggestions ?
    Please advise,
    Marc.

    What about the PL/SQL solution I had above?
    Simple (not thoroughly tested) split string routine:
    DECLARE
         test_string     VARCHAR2(32000);
         chunk          VARCHAR2(255);
         chunk_size     NUMBER := 255;
         pos          NUMBER := 1;
    BEGIN
         test_string := RPAD('X',1210,'X');
         CHUNK := SUBSTR(TEST_STRING,pos,chunk_size);
         DBMS_OUTPUT.PUT_LINE(CHUNK);
         WHILE pos < LENGTH(test_string)
         LOOP
              pos := pos + chunk_size;
              CHUNK := SUBSTR(TEST_STRING,pos,chunk_size);
              DBMS_OUTPUT.PUT_LINE(CHUNK);
         END LOOP;
    END;
    /

  • Make CLOB field as an textarea item and also provide update option

    Hello,
    Can anyone please help me out with this issue. I have clob field column in my table and I wanted to make this column as an Textarea item in my form so that the users can update this column item. Can anyone please provide a possible approach for this issue.
    thanks,
    orton

    Hi Orton,
    As far as I know it is a limitation of mod_plsql - variable size can't be more then 32K.
    I think that you have to split the value of text area in javascript in chunks less then 32K in length and submit them
    with AJAX one by one.
    Regards,
    Lev

  • Update from table ORA-00933 error

    I use Oracle 10g. The following throws an ORA-00933 SQL command not properly ended Error
    update fb_mst_complaint
    set sub_category = n.subcategory
    from fb_mst_complaint s,
    select a.docket_no, a.sub_category, c.subcategory
    from fb_mst_complaint a,
    +( select category, min(subcategory) subcategory+
    from fb_subcategory
    where activated > 0
    group by category
    +) c+
    where a.category =
    +( select distinct a.category from fb_subcategory b+
    where b.category = a.category
    and b.subcategory = c.subcategory
    and b.activated > 0
    +)+
    and a.category = c.category
    and a.sub_category <= 0
    ) n
    where s.docket_no = n.docket_no
    and s.sub_category = n.sub_category
    and s.docket_no = 8573;
    The error is shown in the FROM clause. However, The SELECT statement which makes up the alias name 'n' works accurately.
    Please help. Thanks for the help in advance.
    Edited by: user11195221 on May 24, 2009 6:35 AM

    user11195221 wrote:
    The issue is that the inner select returns multiple values and therefore cannot be set as mentioned.Well then you cannot do this in a single UPDATE statement (you could use the rownum = 1 construct but it would make no sense without knowing the business context).

Maybe you are looking for

  • File association in xfce4

    I am wondering how file association works in xfce4. Examples: After emacs was installed, xfce4 wanted to open all kinds of files in a new instance of emacs. An .scm scheme source code file was opened in StarCraft Map Editor An .xml file was opened in

  • GZIP compression xml document in bpel

    Dear All Any idea about compressing xml message by using gzip before sending thru http binding. Regards Aamir

  • How do I fix my FF when it doesn't fully load pages and won't scroll up or down when I press Page Up and Page Down?

    FF won't load pages, nearly at all. Some websites will partially load, but then will suddenly stop. In order to get the pages to fully load, I'll click Tools and open the Options menu, then I'll close the menu, resulting in the webpage loading up sli

  • Logical expression bui

    I need to build in my apex abblication (4.1) an easy user interface (graphics would be better) to build a logical expression. ie. ((A AND B) OR C) AND (D OR E) The user should be able to select from a list the "objects" (A, B, C,D,E)  and the operato

  • CPU load / sound output

    today i noticed that the cpu load goes up to 15% from 2% (in itunes) when i switch the sound output from line out to the integrated speakers! can anyone confirm this? this seems to be a systemwide issue because it happens with QT and VLC (mp3 playbac