SQL-J Language Reference,
Page 107 of 118


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

TINYINT

TINYINT provides 1 byte of storage for integer values.

Syntax for Column Definition

TINYINT

Corresponding Compile-Time Java Type


java.lang.Byte

JDBC Metadata Type (java.sql.Types)


TINYINT

Minimum Value


java.lang.Byte.MIN_VALUE (-128)

Maximum Value


java.lang.Byte.MAX_VALUE (127)

When mixed with other data types in expressions, the resulting data type follows the rules shown in “Numeric Type Promotion in Expressions”.

See also “Storing Values of One Numeric Data Type in Columns of Another Numeric Data Type”.

Literals of the appropriate format always map to INTEGER or LONGINT; use a CAST to convert a literal to a SMALLINT.

[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.