Subject | Re: [firebird-support] default value |
---|---|
Author | Markus Ostenried |
Post date | 2006-12-20T22:07:35Z |
On 12/20/06, Nick Upson <nick.upson@...> wrote:
one other tool?) will display zero/empty string for a newly added
not-null-field with a default value.
AFAIK your field value is indeed NULL.
Try reading the value using another tool or by writing a small test application.
HTH,
Markus
> that's what I thought but :I think a few days ago I read on the same subject that ISQL (and maybe
>
> SQL> ALTER TABLE tblsystemstatus add test Integer DEFAULT 0 NOT NULL;
> SQL> commit;
> SQL> select * from tblsystemstatus;
>
> LOGLIST TEST
> ==================================== ============
> ABCD 0
>
> hence my confusion
one other tool?) will display zero/empty string for a newly added
not-null-field with a default value.
AFAIK your field value is indeed NULL.
Try reading the value using another tool or by writing a small test application.
HTH,
Markus