MySQL Forums
Forum List  »  Triggers

Re: appending INT to a column name in a trigger
Posted by: Darren White
Date: February 24, 2012 03:43AM

tried this but now another error....

SELECT id INTO rowNum FROM b04_reel_data limit 1;
SELECT CAST(rowNum AS CHAR) INTO srowNum;
SELECT 'log_streamer_' + srowNum INTO logName;

Error Code: 1292. Truncated incorrect DOUBLE value: 'log_streamer_'

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: appending INT to a column name in a trigger
1727
February 24, 2012 03:43AM


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.