Subject | Re: IB 6.1 Whish: boolean field |
---|---|
Author | Damyan Ivanov |
Post date | 2000-08-03T09:46:09Z |
John Huntjens wrote:
create domain boolean as smallint default 0 not null check(value in
(0,1))
or
create domain boolean as char(1) default 'F' not null check(value in
('F','T'))
hth
--
Damyan Ivanov
_______________________________________________
Ib-architect mailing list
Ib-architect@...
http://mers.com/mailman/listinfo/ib-architect
>What's wrong with the domain?
> I wonder how the community feels abou implementing a boolean field type into
> interbase ?
>
> At this moment I use a domain, but i would like a real boolean type better.
create domain boolean as smallint default 0 not null check(value in
(0,1))
or
create domain boolean as char(1) default 'F' not null check(value in
('F','T'))
hth
--
Damyan Ivanov
_______________________________________________
Ib-architect mailing list
Ib-architect@...
http://mers.com/mailman/listinfo/ib-architect