| INT |
A large integer parameter |
| INTEGER |
A large integer parameter |
| SMALLINT |
A small integer parameter |
| REAL |
A single precision floating point parameter |
| FLOAT |
A double precision floating point parameter |
| DOUBLE PRECISION |
A double precision floating point parameter |
| DEC |
A decimal parameter |
| DECIMAL |
A decimal parameter |
| CHAR |
A fixed-length character string between 1
and 254 characters |
| CHARACTER |
A fixed-length character string between 1
and 254 characters |
| VARCHAR |
A variable-length character string between
1 and 32765 characters.
Important: Though a VARCHAR parameter can be up to 32765 bytes,
a VARCHAR column in a table cannot exceed 32704 bytes. If you update a
VARCHAR column with a length greater than 32704, then the column value
will be truncated. |
| GRAPHIC |
A fixed-length graphic character string between
1 and 127 characters |
| VARGRAPHIC |
A variable-length graphic character string
between 1 and 16383 graphic characters |
| BLOB |
A varying-length string with a maximum length of 2 147 483 824, designed
to hold non-traditional data such as pictures, audio, and mixed media. |
| CLOB |
A varying-length string with a maximum length of 2 147 483 647 (2 gigabytes
minus 1 byte). |
| DBCLOB |
A varying length string with a maximum length of 1 073 741 824 double-byte
characters. A DBCLOB is designed to store DBCS data. |
| DATE |
A three-part value representing year, month, and date, which designates
a point in time using the Gregorian calendar. |
| TIME |
A three-part value representing hour, minute, and second, which designates
a time of day using a 24-hour clock. |
| TIMESTAMP |
A seven-part value representing year, month, day, hour, minute, second,
and microsecond, which designates a date and time. |
| ROWID |
A value that uniquely identifies a row in a table. For more information
on row IDs, see the DB2 Application Programming and SQL Guide. |