Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2003
    Posts
    1,605

    Unanswered: Convert BLOB to CLOB

    Hi,
    on db2 v9 zOS I would like to convert BLOB data to CLOB data. I see this is some kind possible using UDF, but is there any more simple way of doing it?
    Regards,
    Grofaty

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    I think the UDF method is the only way, at least for now. In DB2 9.5 you could CAST between BLOB and CLOB types.
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Jan 2003
    Posts
    1,605
    Hi,
    can you please provide any sample for v9.5 for cast?
    Regards,
    Grofaty

  4. #4
    Join Date
    Jan 2007
    Location
    Jena, Germany
    Posts
    2,721
    Good question. I can cast from CLOB to BLOB (nothing new there), but a cast from BLOB to CLOB doesn't work on V9.5.
    Last edited by stolze; 12-04-08 at 10:14.
    Knut Stolze
    IBM DB2 Analytics Accelerator
    IBM Germany Research & Development

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •