[snip]
Is there a way I can select from a text field and limit the amount of
text I
get back in my query?  For example, if I have an articleText field of
type
TEXT, and the article contains 4000 words, is there a way to select that
text with a limit of 200 words, or should this kind of logic go in my
php
code?
[/snip]

MySQL provides a wealth of ways to select portions of fields. Start with
http://dev.mysql.com/doc/mysql/en/string-comparison-functions.html
http://dev.mysql.com/doc/mysql/en/string-functions.html

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

Reply via email to