Query Error

From: The Magnet <art_at_unsu.com>
Date: Fri, 1 Apr 2011 12:04:43 -0700 (PDT)
Message-ID: <02a2a4ff-db3b-45c5-9a34-52a861b88a8c_at_f11g2000vbx.googlegroups.com>



Hi,

I'm trying to use DBMS_METADATA to get the DDL:

SELECT TO_CHAR(DBMS_METADATA.GET_DDL('TABLE', o.name,'DATA_HOLDER')) ddl_string

FROM       sys.obj$ o,sys.tab$ t
WHERE      o.owner# = 28
  AND      o.obj# = t.obj#
  AND      BITAND(o.flags, 128) = 0;



ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 4747, maximum: 4000)

I cannot seem to get around that error no matter what I try. Any suggestions?

Thanks! Received on Fri Apr 01 2011 - 14:04:43 CDT

Original text of this message