IBM Support

[Db2] CLOB の EXPORT で SQL3132W が返る場合の対応方法

Question & Answer


Question

CLOB 列を含む表のデータをエクスポートしようとしたところ、SQL3132W で切り捨てられてしまい、データをひとつのファイルにエクスポートすることができません。対応方法を教えてください。

$ db2 "export to emp_resume.csv of del select * from emp_resume"
SQL3132W 列 "CLOB" の文字データがサイズ "32700" に切り捨てられます。 
SQL3104N エクスポート・ユーティリティーが。ファイル"emp_resume.csv" へのデータエクスポートを開始しています。 
SQL315N エクスポート・ユーティリティーが。"100" 行のエクスポートを完了しました。 エクスポートされた行数: 100

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m500000008PlGAAU","label":"Data Movement-\u003EExport"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
30 April 2025

UID

swg22017455