1.0

Table Of Contents
Examples
- examples of valid values
values cast (233.31E3 as REAL);
values cast (8928E+06 as REAL);
-- this example will throw a range exception (SQLState: 42820)
values cast (123456789012345678901234567890123456789e0 as REAL);
SMALLINT
Provides 2 bytes storage for short integer values.
For behavior with other types in expressions, see Numeric type promotion in expressions, and Storing values of
one numeric data type in columns of another numeric data type.
java.lang.ShortEquivalent Java type
java.lang.Short.MIN_VALUE (-32768 )Minimum value
java.lang.Short.MAX_VALUE (32767)Maximum value
java.sql.Types.SMALLINTJDBC metadata type
ResultSet.getShort, PreparedStatement.setShortJDBC methods
System.Int16Equivalent .NET type
Vmware.Data.SQLFire.SQLFType.ShortADO.NET metadata type
Int16ADO.NET mapped System.Data.Dbtype
DbDataReader.GetInt16ADO.NET getter
TIME
Provides for storage of time of day as hour-minutes-seconds. Supported formats are:
hh:mm[:ss]
hh.mm[.ss]
hh[:mm] {AM | PM}
Hours (hh) may have one or two digits, while minutes (mm) and seconds (ss), if present, must have two digits.
DATEs, TIMEs, and TIMESTAMPs must not be mixed with one another in expressions except with an explicit
CAST.
java.sql.TimeEquivalent Java type
java.sql.Types.TIMEJDBC metadata type
ResultSet.getTime, PreparedStatement.setTimeJDBC methods
System.DateTimeEquivalent .NET type
Vmware.Data.SQLFire.SQLFType.TimeADO.NET metadata type
TimeADO.NET mapped System.Data.Dbtype
DbDataReader.GetDateTimeADO.NET getter
581
SQL Language Reference