Using the DATALENGTH SQL Function

The DATALENGTH SQL returns the length of columns in a table.

SELECT length = DATALENGTH(ColumnName) FROM TableName ORDER BY ColumnName
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: