Anordlun
Joined: 13 Aug 2004 Posts: 12
|
Posted: Wed Nov 03, 2004 12:34 pm Post subject: Truncate fields. |
|
|
Hi.
Sometimes, when I retrieve data from a database field CHAR(10) NOT NULL, I retrieve not an empty string, but a space.
This might be correct, but when I've migrated our application into dbExpress from BDE, we faced some serouis problems.
We always let the BDE trim our fields, and now, all fields aren't trimmed.
I have dome some sourcecode changes in the dbexpsyb project, and I want you to give me a comment about them...
Is it OK to post the changes I've made in the TSQLCursor.getString function here, or shall we take them by email? |
|
VISOCO VISOCO Software Manager
Joined: 15 Jul 2002 Posts: 48
|
Posted: Thu Nov 04, 2004 3:35 pm Post subject: RE: Truncate fields. |
|
|
Hi.
Yes, Open-Client doesn't return an empty string but a string filled with a
space. We decided to leave this feature to distinguish CHAR datatype from VARCHAR datatype.
Of course, you can add you own trim functionality, just allow us to see it (send it by email). _________________ Best regards,
VISOCO Software Team
--
VISOCO Software - Sybase connectivity products |
|