Is this on an Oracle database? The error message indicates this is a
problem with Oracle, not with Zend_Db. Are you able to run the
identical query directly on the database (taking Zend_Db out of the
thanks for replying , yes im able to do it using the same query directly in my database , i also got it working using simple php (creationg a descriptor with oci_new_descriptor and binding to a lob object and then saving my lob file )
Try turning on DB profiling so you can see what the actual DB query
that is occurring is. I suspect the actual query differs from what you
are expecting it to be. This may help narrow down what the problem is.