Hello,
There is a bug with fixed char fields. Please create a table like
CREATE TABLE TEST (
ID NUMBER(9),
TXT CHAR(10));
and insert a value including trailing blanks,
INSERT INTO TEST(ID,TXT) VALUES( 1, 'ABCDE ');
COMMIT;
Now show the contents in a TOraQuery:
SELECT ID, TXT from TEST
Unfortunately, the trailing blanks are truncated. You see 'ABCDE' instead of 'ABCDE '.
Could this be fixed, please? If the column is defined as CHAR the length cannot vary.
Regards,
Holger
--
Delphi 2005 - VCL, Oracle 10g Release 2, both on Windows XP
Trailing blanks from CHAR fields truncated
-
- Posts: 56
- Joined: Mon 08 Nov 2004 19:01
- Location: Germany
-
- Devart Team
- Posts: 925
- Joined: Thu 17 Nov 2005 10:53
-
- Posts: 56
- Joined: Mon 08 Nov 2004 19:01
- Location: Germany