COL_LENGTH function [System]

Function

Returns the defined length of a column.

Syntax

COL_LENGTHtable-name, column-name )

Parameters

table-name The table name

column-name The column name

Example

The following statement returns the column length 35:

SELECT COL_LENGTH ( 'CUSTOMERS', 'ADDRESS' ) FROM iq_dummy

Standards and compatibility

See also

“DATALENGTH function [System]”