CHAR value types are for fixed length data fields. If you enter 2 characters in 
a 10 character field, the other 8 characters are typically field with spaces 
(depends on implementation). All though most developers trim results of CHAR 
fields, there are some applications that might require the spaces to be 
included (register fields come to mind). I think that leaving the field padded 
with spaces is the correct thing to do.

 

Just my 2 cents worth,

 

Steven Ramacher

 
>I'm thinking on doing a change in the provider to make a trim on char
>values returned by selectable commands.
>
Opinions are welcome !!!!!!!
 

<<winmail.dat>>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to