Large Blob Data problem in Oracle stored procedure
Posted on 6/18/2008 3:50:01 AM
in #ASP.NET 2.X
Hi,/P>
Few days back I was working with Oracle database and one of my stored procedures which was inserting a blob data to the database. /SPAN>But I started getting a strange when the data in the blob data type got large. For large blob data I was getting the following error. /P>
ORA-01460: unimplemented or unreasonable conversion requested./P>
The system would work consistently for small files but for large files I was getting this error. /SPAN>After Doing a bit of Google I found that this is a drawback of using stored procedure in Oracle database. /SPAN>If you try to pass over 32 Kb (or greater than 32512 char of string) then oracle will give this error in case of Blob data type./P>
The only simple solution I found for the problem was to use inline query to the database for updating large Blob data. There is no restriction on the inline query. /P>
Regards Vikram/P>
|
Posted on 5/25/2008 10:03:44 PM
Hi,
I find your url from forums.asp.net
/p>
This statement "select new_time(sysdate,'EST','GMT') into Result from dual;" does not work, but when changed to
"select new_time(sysdate,'EST','GMT') from dual;" executes perfectly. I am using oracle 10.2.
/p>
Could you plz tell me where is the problem
/p>
"
/p>
|
Posted on 7/1/2010 10:03:40 AM
Hi,
/p>
I was also facing this same problem and found a good solution of passing more than 32K of data to oracle stored procedure. I ahve used ODP.net instead of Oracle client. ODP.net allows you to pass more than 32k to stored procedures. You can easily find free downloads for ODP.net on google.
/p>
|