I need to get the words in a text field and make some updates with those words, for example:
original data
words | other field | another field
---------------------------------------------
white | |
some words | |
some other w | |
desired result
words | other field | another field
---------------------------------------------
white | |
some | words |
some | other | w
How can I get this done?
EXTRA
I have this query where I get how many words a field have
select nombre,
LEN(words) - LEN(REPLACE(words, ' ', ''))+1 as palabras
from origen_informacion
where words <> ''