[fpc-pascal]SQLite and NULL Strings...
James Mills
prologic at daisy.ods.org
Tue Jul 15 18:50:35 CEST 2003
On Tue, Jul 15, 2003 at 09:41:11AM -0700, Alan Mead wrote:
>
> --- 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.
That's correct. What I've learnt over the past 2 days though is that
I'll be leave blinded by all this unless I go pickup a book on database
and read it! :)
>
> Or you could, as you suggested earlier, just convert it to an empty
> string.
I might do that if I have no luck with a TDataset desendant...
Thanks Alan,
James
>
> -Alan
>
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
--
-
- James Mills
Zero Defect Software Engineers Group - ZDSEG
More information about the fpc-pascal
mailing list