Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Oracle > Ora-22922

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-12-07, 09:05
Bhaskara Bhaskara is offline
Registered User
 
Join Date: Oct 2007
Posts: 6
Arrow 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
Reply With Quote
  #2 (permalink)  
Old 10-12-07, 11:23
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 3,569
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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On