28 Sep 2010
Normally you can use the LEN function to find the length of a string field, however this does not work on a text field. Instead, you need to use the DATALENGTH function:
SELECT MAX(DATALENGTH(tbTable.TextField))
Copyright © 2025 carlbelle.com