SQL-J Language Reference,
Page 92 of 118


[top]
[prev]
[next]
Documentation Top
Global Index
Reference Manual
TOC Index
Grammar index
Developer's Guide
TOC Index
Tuning Cloudscape
TOC Index

BOOLEAN

Syntax for Column Definition

BOOLEAN

Corresponding Compile-Time Java Type


java.lang.Boolean

JDBC Metadata Type (java.sql.Types)


BIT

Booleans have the value TRUE, FALSE, or NULL.

Booleans cannot be implicitly converted to other types, and other types cannot be converted to booleans, except that a boolean can be inserted into a java.lang.Boolean column (and vice versa) and that JDBC performs some conversions for its get and set methods. CAST allows specific additional conversions.

The value TRUE is considered to sort higher than the value FALSE, for comparisons and ORDER BY.

Literal Examples

TRUE
FALSE
NULL
[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.