Update to remove a piece of a varchar field

Asked

Viewed 967 times

3

I have a column with a varchar field. In this column has a value like this:

http://dominio/img//12.jpg

I want to do an update that leaves this field like this:

http://dominio/img/12.jpg

That // I want to remove always starts at a fixed position on the string.

How I would do this update?

The update is in the whole table.

1 answer

2


Browser other questions tagged

You are not signed in. Login or sign up in order to post.