Raj
The answer is "sort of". Basically, you can use BOOLEAN as a synonym for the
BYTE type. "true" and "false" are accepted as 1 and 0. See
http://instantdb.enhydra.org/software/documentation/types.html#Numeric-Types
for details.
This isn't a true BOOLEAN type, but the above kludge should help with some
SQL compatibility problems.
Regards
Pete
--
Peter Hearty peter.hearty@lutris.com
Lutris Technologies (UK) http://www.lutris.com
----- Original Message -----
From: "Raj Bhaskar" <9705228b@student.gla.ac.uk>
To: <instantDB@enhydra.org>
Sent: Monday, October 16, 2000 6:31 PM
Subject: InstantDB: Boolean datatype
> Hi all,
> I was just wondering if the latest version of InstantDB (3.21) supports
> the boolean datatype. I've looked at the documentation and according to
> it, it doesn't, but I'm sure that Peter said in a previous post that this
> version would support that datatype. If it does support it, then would
the
> following CREATE command work:
>
> ;e CREATE TABLE EventDate (
> Event CHAR(250),
> Date DATE,
> Disposable BOOLEAN );
>
> Thanks,
> Raj.
> ------------------------------------------------------------------
> __ __
> | | | | Rajnish Bhaskar, University of Glasgow
> |_ / |_ / E-Mail: rajy@i.am
> | \ | \ Home Page: http://i.am/rajy
> | \ |__/
> Thought for the day:
> Dictatorship (n): a form of government under which everything
> which is not prohibited is compulsory.
>
> --------------------------------------------------------------------------
---
> To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-instantdb@enhydra.org.
>
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|