MySQL Forums
Forum List  »  Triggers

Mysql Trigger error in concatenating NEW keyword
Posted by: kishorre venkkates
Date: November 15, 2015 08:15AM

I am currently facing an issue in concatenating "NEW" Keyword with column names using concat function..
/*SET @var =(SELECT GROUP_CONCAT(CONCAT_WS('.','new', table.column) SEPARATOR ',') FROM table1, table2, table3, table4, table5 WHERE table2.col = 'AAA' AND table3.col = table4.col AND etc.. ORDER BY table2.col);*/

ON execution, instead of replacing the values for NEW keyword(last inserted records/values) it just returns as NEW.col1,NEW.col2,NEW.col3 instead of their assigned values.please help me out with this..

Options: ReplyQuote


Subject
Views
Written By
Posted
Mysql Trigger error in concatenating NEW keyword
1824
November 15, 2015 08:15AM


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.