Get the column Length of a table in sql.

By Super Man

learn how to Get the column Length of a table in sql.

You can make use of COL_LENGTH  function which returns the length of particular column



Syntax :



Col_length ('tablename', 'columnname')



Ex.



SELECT     COL_LENGTH('employee', 'location') AS Expr1

Get the column Length of a table in sql.  (994 Views)