getValueLength(Integer) Method

Gets the length of a LOB column or a character string type.

Parameters

Type Name Description
Integer colIndex The zero-based column index.

Returns

Returns the length of a LOB or character string type, or -1 if that information is not available. If the column is a NULL value, then 0 is returned.