MySQL Forums
Forum List  »  General

Problem of using Concat_WS method
Posted by: marc-antoine yonga
Date: February 27, 2017 11:54AM


For my project, I want to implement a field with the CONCAT_WS method.

When I'm trying this function insert a query, the result is good :

UPDATE mydb_jobersplace.t_jp_comande SET T_JP_Commande_NumCleT = CONCAT_WS('_', T_JP_Commande_BaseNumCle, CONVERT(T_JP_Commande_NumCle, char(7))); // good result.

When I'm inserting the method into the generate expression I have the error message number 1064 :

(CONCAT_WS('_', `T_JP_Commande_BaseNumCle`, Convert(`T_JP_Commande_NumCle`, CHAR(7)))); // error message.

Thanks you for your help !

Options: ReplyQuote

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.