The “LEN” function cannot be used to find length of a column of datatype “TEXT” so using function “DATALENGTH” one can find the length of TEXT field.
Eg: SELECT DATALENGTH(textfiled) lentextfile FROM table;
The “LEN” function cannot be used to find length of a column of datatype “TEXT” so using function “DATALENGTH” one can find the length of TEXT field.
Eg: SELECT DATALENGTH(textfiled) lentextfile FROM table;