Posted by Marcin Dobrucki on 02/15/06 17:43
Mikey P wrote:
> basically i have a description in a mysql table. Is there any way to
> pull say like the first 10-20 words for a brief description?
Note quite words, but something like that perhaps:
mysql> select substring(your_description_col,1,80) from your_table;
which will give you the first 80ish charactrs.
/m
Navigation:
[Reply to this message]
|