"single-byte Space" At The End Of The String Is Trimed / Truncated (Doc ID 1639850.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Provider for OLE DB - Version 10.2.0.2 and later
Information in this document applies to any platform.

Symptoms

The "single-byte space" at the end of the string of a VARCHAR2 parameter is trimmed when calling PL/SQL Function/Procedure using OracleODEDB provider.

The single-byte space at the end of the string disappears.
'AB ' → 'AB'
' ' → ''
'A B' → 'A B'

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms