There's a issue in querying the LOB object prior Ora 10gr2.
Prior Ora10gr2,
You need to create a view in the source DB to convert the lob to string using either view or materialized view.
or same as below, create a function / procedure to convert the lob to string.
For Ora10gr2,
you can use the following to workaround the issue.
create or replace function lobconverterproc
( col1 in varchar2) return varchar2
is
var1 varchar2(1000);
BEGIN
SELECT FYDSCR INTO var1 FROM tablename
WHERE col1=v_col1;
RETURN var1;
END;
/
select lobconverterproc('Test') from dual;
Thursday, June 25, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment