Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old July 1st, 2004, 02:56 PM
hderik hderik is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 9 hderik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 39 sec
Reputation Power: 0
Inserting Clob Datatypes Within Packages

I am currently passing a Clob DataType to a stored procedure
contained in a package. I am running Oracle 10g. Currently I am trying this method which is not working


procedure INSERTINTONARRATIVE(p_FIELD in varchar2, P_Field IN VARCHAR2, P_CLOB in clob, p_Field in Varchar2)

IS
l_clob CLOB;
BEGIN
INSERT INTO SomeTable (AField,BField,CLOBFIELD,CFIELD )
VALUES
( p_Field,P_Field,empty_clob(),PField )
returning CLOBFIELD into l_clob;
dbms_lob.write( l_CLob, 1, length(p_CLOB),p_CLOB );

Does anybody know what I am doing Wrong. The error I receive is ora-22275.

Any Help would be greatly appreciated.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Inserting Clob Datatypes Within Packages


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway