Returns the defined length of a column.
col_length(object_name, column_name)
select x = col_length("titles", "title")
x ---- 80
To find the actual length of the data stored in each row, use datalength.
text, unitext, and image columns – col_length returns 16, the length of the binary(16) pointer to the actual text page.
unichar columns – the defined length is the number of Unicode values declared when the column was defined (not the number of bytes represented).
See also Transact-SQL Users Guide.
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute col_length.