MySQL Forums
Forum List  »  Newbie

Re: View with deconcatenated Field
Posted by: Ben Winkley
Date: February 19, 2014 11:44PM

I Wrote the below in a query to test and got an error "#1096 - No tables used"

SELECT *

,substr(`linkid`,
if (locate('ghg-' , `linkid`)=0,1,
locate('nwf-',`linkid`)+length('ghg-')
)
);

FROM `links` WHERE 1

Options: ReplyQuote


Subject
Written By
Posted
February 19, 2014 09:21PM
Re: View with deconcatenated Field
February 19, 2014 11:44PM


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.