Results 1 to 2 of 2

Thread: Ora-22922

  1. #1
    Join Date
    Oct 2007
    Posts
    6

    Arrow Unanswered: Ora-22922

    HI All,


    I am facing problem while inserting/ updating a column with CLOB Datatype @ Oracle 10g
    contents --- CLOB Datatype field
    PText is as clob variable, value is passing from Java application

    Create or replace procedure INSERT_PAGE(pID IN int, pText IN CLOB) AS
    Begin
    if (pID<=0) then
    Insert into pages(ID,Contents) values(1, pText);
    else
    update pages set Contents=pText where ID=pID;
    End;
    commit;
    end;

    the above coding working fine with ORACLE 9i, same giving error in 10g


    ERROR

    ORA-22922 Nonexcisting CLOB.....



    pls help me out in this


    with regards
    Bhaskara

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    Code:
    22922, 00000, "nonexistent LOB value"
    //  *Cause:  The LOB value associated with the input locator does not exist.
    //           The information in the locator does not refer to an existing LOB.
    //  *Action: Repopulate the locator by issuing a select statement and retry 
    //           the operation.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •