Greetings to the forum
I currently have a few thousand values in a column lets call it the product_url column the URLS look like this /directory/desc1-desc2-desc3-desc4.html directory, desc1, desc2 & desc3 never changes basically its the same throughout all the values. I need to replace the values in product_url with just the value of desc4 without the .html so instead of /directory/desc1-desc2-desc3-desc4.html I would just have desc4 Is this sort of command possible with SQL? /directory/desc1-desc2-desc3-desc4.htmleverything in bold goes
/directory/desc1-desc2-desc3-mydesc.html
/directory/desc1-desc2-desc3-myproduct.html
/directory/desc1-desc2-desc3-myvalue.html
/directory/desc1-desc2-desc3-myentry.html
/directory/desc1-desc2-desc3-myclub.html
/directory/desc1-desc2-desc3-mypath.html
/directory/desc1-desc2-desc3-myhome.html
As you can see from my example the only thing that changes is desc4 all other values are identical to each other - I know it was very very bad db design, it was years ago over 12 I set up this and just didn't think about it :(
TIA
-Gs