Hi all,

I have a table with a text field (let's call it 'A') - in this field are
descriptions of various things. I also have another table with a varchar
field (let's call this 'B').

What I need to do is to take the text field for each record in table A and
split it into seperate words. I need to insert each word from this field
into table B as an individual record.

Let me illustrate with an example. I'm trying to transform records like
this:

"This is a description of a widget."

Into seperate records like this:

"This"
"is"
"a"
"description"
"of"
"a"
"widget"

I've been trying to figure out how I could accomplish this with just MySQL
alone (maybe with the aid some shell utilities), without resorting to
writing a PHP/Perl script - but I've come up blank.

Can anyone offer any ideas (or maybe solutions) for my problem?

Regards,

------------------------------------------------
Basil Hussain ([EMAIL PROTECTED])


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to