SELECT length = DATALENGTH(Name),Name FROM Production.Product ORDER BY Name
“返回用于表示任何表达式的字节数.”
T-sql和引自MSDN的DATALENGTH (Transact-SQL)库.