MySQL Error 1064

상황 특정 서버에서 DUMP 한 아래 프로시저를 다른 서버에 반영하려고 합니다. 1234567CREATE DEFINER=test@localhost PROCEDURE TEST()BEGIN set @s=CONCAT('truncate table test', DATE_FORMAT(NOW(), '%c') % 3); PREPARE stmt FROM @s; EXECUTE stmt; DEALLOCATE PREPARE stmt;ENDColored by Color Scriptercs 이 때 오류가 발생했습니다. Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version ..
꽁담
'MySQL Error 1064' 태그의 글 목록