Subject | Re: [firebird-support] Re: Firebird 2.5 (64 bit), strange SQL result |
---|---|
Author | Helen Borrie |
Post date | 2012-05-09T02:40:46Z |
At 02:26 PM 9/05/2012, you wrote:
./heLen
>Thanks for your replay.It was stored at some point before the column was changed to NOT NULL. When you do that change, the engine does NOT alter existing data. Thus, you must always make sure that you correct the data *before* you make that change.
>
>If you see null with ibexpert, how come this data can be store in Firebird, since ddl for this column not allow for null value? Could it be a bug in Firebird?
>Another strange results when issued this statementWhy is it strange? You have already established that you have nulls stored in this column, from its previous life as nullable.
>
>SELECT * FROM M_INT_FRM a
>where a.id_div_lc is null
>
>It will returns 3 result (via flamerobin).
./heLen