[fpc-pascal]SQLite and NULL Strings...

Alan Mead cubrewer at yahoo.com
Tue Jul 15 18:41:11 CEST 2003


--- James Mills <prologic at daisy.ods.org> wrote:
> 
> Well the only bad thing is that it returns data where there should
> be no
> data. ie: '""' instead of the expected '', causing the program to
> treat
> '""' as if it were a real string.


All the better.  The string '""' is unlikely to exists you your
database naturally, right?  So when you see it, you have a NULL.

Or you could, as you suggested earlier, just convert it to an empty
string.

-Alan


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com




More information about the fpc-pascal mailing list