My Oracle Support Banner

RDBPROD: String Truncation Warning ( %SQL-W-LENMISMAT ) From JDBC for Rdb (Doc ID 2373988.1)

Last updated on APRIL 16, 2024

Applies to:

Oracle Rdb Server on OpenVMS - Version 7.2 to 7.3.2.1 [Release 7.2 to 7.3]
Oracle JDBC for Rdb - Version 7.2 to 7.3.4.0 [Release 7.2 to 7.3]
Information in this document applies to any platform.

Goal

In SQL, updating or inserting a row with a string that is too long for the column results in string truncation and a warning: %SQL-W-LENMISMAT.

Doing the same update/insert using JDBC for Rdb truncates the string but does not report a warning.

How can we get this warning in JDBC for Rdb?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.