devxlogo

Using the DATALENGTH SQL Function

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

devx-admin

Share the Post: