6

I'm using MS Access and I have a table called Backup and a column named ImageURL. The ImageURL column has data such as: http://domain.com/s/1234.jpg.

I want to change the /s/ in the URL intoto /l/ by using an MS Access SQL Update and Replace.

When I'm trying it at the moment, it's replacing the entire field to /l/.

Thanks for your help!

Rob

2
  • @paxdiablo The link was used as an example and wasn't meant to be a valid location. All of the pertinent information is included in the question which is why there was a good answer immediately. Commented Jul 1, 2016 at 15:10
  • Apologies, I read that as a real link rather than data from the DB table. I've backticked it so it doesn't show up as a hyperlink. Commented Jul 7, 2016 at 1:31

1 Answer 1

9
Update Backup
set ImageURL =replace(ImageURL,'/s/','/I/')
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.