Home Forums SQL Server 2005 SQL Server 2005 General Discussion Get longest length of data in a column RE: Get longest length of data in a column
Gale
Mr or Mrs. 500
Points: 573
More actions
August 19, 2011 at 8:09 am
#1370753
How can this be done for every field in a table (at once)?
g
select max(datalength(YourColumn)) from YourTable