Truncates special characters

easkra

Member
Executing next query in PL/SQL developer and SQLPLUS gives different result.
Apparently DOA truncates character 0.
That looks like a bug.

select rpad('acb', 50, chr(0))||'.' as one from dual
 
I tried this and SQL Plus does APPEAR to do it better, but the characters between 'acb' and '.' are x'20' and not x'00'.
 
The 0 character is indeed an end-of-string indicator (c-style) for PL/SQL Developer. We will fix this in a future release.
 
Back
Top