I have a table called articles with a number of fields. In the content field there is a url. I’d like to copy this url and place it in another field using a query. But I’m havin trouble even just selecting the url. I could do it manually with something like…
"this is content http://blah"
and then
SELECT substring(content, 17, 11)
FROM articles
WHERE content LIKE '%http%'
but is it posible to write a query that would search and find the url for each article? Or would that require me to write my own function? Or would it be a script job?
Thanks in advance for any help.
The data i tested with: