Page 1 of 1

Data Extract fails with Long column in SELECT clause

Posted: Tue Aug 28, 2007 2:03 pm
by Sushilsb
In my extract job, the select query is getting data from LONG column along with other types [number, varchar2]. Whenever I run this job it fails with following error
- OCI has fetched truncated data
- Oracle Error - OCI_INVALID_HANDLE
and job gets aborted.

If i remove the only LONG column and run the job, it fetches the data correctly.
How to fetch the long column in SELECT

Posted: Tue Aug 28, 2007 3:28 pm
by ArndW
I dind't think that LONG was supported, but am not sure. How long is your definition?

Posted: Tue Aug 28, 2007 4:03 pm
by us1aslam1us
Yes, Long is not supported but as an work-around use varchar with a bigger size.