Re: How to find records with length greater than 17
by "Plamen Ratchev" <Plamen@[EMAIL PROTECTED]
>
Apr 21, 2008 at 03:36 PM
The LEN function returns the number of characters excluding trailing
blanks:
SELECT namecol
FROM Foo
WHERE LEN(namecol) > 17;
The DATALENGTH function returns the number of bytes.
HTH,
Plamen Ratchev
http://www.SQLStudio.com