Thank y'all very very much. Each day I learn something new ;)

susan

-----Original Message-----
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 1:35 PM
To: Susan Ator; [EMAIL PROTECTED]
Subject: RE: query question


[snip]
Is there a way to check if a field has x number of characters in it?

I have a table with a column (phone) which, for the moment is
varchar(25). I need to find those entries which have less than 10
characters.
[/tuck]


http://www.mysql.com/doc/en/String_functions.html


mysql> SELECT LENGTH('text');
        -> 4

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to