Quote:
|
Originally Posted by stolze
I'm not sure if this also applies to the Command Editor, but the DB2 CLP truncates LOBs and XML documents to 4 or 8K. This cannot be changed.
The background is that the CLP doesn't want to write out up to 2GB of data when a table containing such data is queried. If you need the full data, you usually have an application anyways and don't look at it on the CLP in detail.
|
Agree. A good alternative is to use an application(like java) to grab the result.
I am not sure whether this works: if DB2/LUW have xmlserialize or xml2clob function, you can use this function to get lob result first.