MySQL Forums
Forum List  »  General

Re: Select Susbtr Field
Posted by: Peter Brawley
Date: April 09, 2016 06:47PM

> I want to select un-nouveau-test-d-annonce_12_1_t.jpg only. But, the name is different in all fields...

Eh? Self-contradictory. Are you trying to say you want data for the 'image' key?

> select the first letter (u or h) to the end of the address (jpg in all cases).

If you're using 5.7.9 or later, wouldn't this be easier with JSON_EXTRACT() ?

Options: ReplyQuote


Subject
Written By
Posted
April 08, 2016 11:52PM
Re: Select Susbtr Field
April 09, 2016 06:47PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.