ลองไล่ดูใน sql trac แล้วเจอตัวนี้ครับ
INSERT INTO ksklog (ksklog_id,logtime,loginname,tablename,modifytype,detail,old_delta,new_delta,log_id,computer_name) VALUES (126226,'2010-04-28 09:36:09','harin','ERROR','RB-PRINT','Report Module Has Been Crash with message [SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'declare @xid char(100)\r\ndeclare @rn char(100)\r\ndeclare @dchdo',NULL,NULL,NULL,'ADMIN-ONE')
insert into replicate_log (`event_time`,`client`,`sql`) values (current_timestamp,'ADMIN-ONE','INSERT INTO ksklog (ksklog_id,logtime,loginname,tablename,modifytype,detail,old_delta,new_delta,log_id,computer_name) VALUES (126226,\'2010-04-28 09:36:09\',\'harin\',\'ERROR\',\'RB-PRINT\',\'Report Module Has Been Crash with message [SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \\\'declare @xid char(100)\\r\\ndeclare @rn char(100)\\r\\ndeclare @dchdo\',NULL,NULL,NULL,\'ADMIN-ONE\')')
select * from reporttemplate where name='WARD-DISCHARGE1'
select * from reporttemplate where name='WARD-DISCHARGE1'
ไม่ทราบ WARD-DISCHARGE1 มีไว้ทำไรเหรอครับ เพราะเข้าไปดูใน report design ก็ขึ้น error แบบที่แนบด้านบนเลยครับ