SQL 22001 identify column *N?
Justin Taylor <[email protected]> Wed, 1 Jul 2026 07:20:35 -0500
| Newsgroups | gmane.comp.hardware.ibm.midrange |
|---|---|
| Message-ID | <CAJu8Sp-anuEPMHHpADTRhsS3vdG8Qzh9jMTCvM8zh45F9HLKPQ@mail.gmail.com> |
I've inherited a SQL UDF that uses JSON_TABLE to parse JSON payloads. The JSON is very large and consists of deeply nested key-value pairs. Occasionally, I encounter a 22001 that column *N is truncated. Is there any way (short of trial and error) of identifying the column? Thanks -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l. Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.