Subject | Re: [firebird-support] Re: seems bug : Field accepts NULL Values (empty string) even if it is defined w |
---|---|
Author | Tim Ledgerwood |
Post date | 2004-03-16T11:24:21Z |
>Absolutely! A bug in that it defines a useless distinction that wouldNope, sorry, I disagree. I write software that interfaces to a variety of
>forever be a nuisance for every database developer! :-)
>
>Jonathan Neve.
>
>
>[Non-text portions of this message have been removed]
hardware, using Delphi. The protocols (like the ISO 8583 protocol for EFT)
are bitmapped fields - in other words, there is an array of bits that
indicate the presence or absence of fields in the protocol string. I often
store what is sent and what is received in DB tables.
An empty string is (IIRC) ASCII 20. A NUL is ASCII something else.
God help you if you get it wrong ... you'll have users chasing you with
axes all over the continent of your choice ...
Nope, in a real, practical application, '' and NUL mean two very different
things, whether you're using SQL or not.
Regards
Tim
[Non-text portions of this message have been removed]