select * from update_db where update_db.value='1' and update_db.group_id ='5' order by update_db.table_name
Select==> SELECT * FROM al_acc_item WHERE log_status in ('e','a') limit 0,500

Can't Query k62.chaiyo-aa.com insert into al_acc_item (account_id,account_group,account_map,sort_seq,sort_ba,acc_type,acc_name,tax_status,tax_rate,ref_account,ref_branch,acc_flag,acc_row,acc_status,acc_no,acc_chart,ax_code,receipt_status,log_status,log_date,log_user,date_time_ex) VALUES ( 'acc72','acc72','','8','0','+','รับเงินค่าสินค้า(ล่วงหน้า)','','0.00','1','0','1','0','1','','','','0','p','2015-04-08','mc',now());

select * from al_acc_item WHERE account_id = 'acc72'

Query k62.chaiyo-aa.com select * from al_acc_item WHERE account_id = 'acc72'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('ERROR', 'BK81-BK62',now(), 'insert into al_acc_item (account_id@account_group@account_map@sort_seq@sort_ba@acc_type@acc_name@tax_status@tax_rate@ref_account@ref_branch@acc_flag@acc_row@acc_status@acc_no@acc_chart@ax_code@receipt_status@log_status@log_date@log_user@date_time_ex) VALUES ( #acc72#@#acc72#@##@#8#@#0#@#+#@#รับเงินค่าสินค้า(ล่วงหน้า)#@##@#0.00#@#1#@#0#@#1#@#0#@#1#@##@##@##@#0#@#p#@#2015-04-08#@#mc#@now());')

#STOP # Total Record = 1
Select==> SELECT * FROM al_acc_itemtype WHERE log_status in ('e','a') limit 0,500

#STOP # Total Record = 0
Select==> SELECT * FROM al_balance_mix WHERE log_status in ('e','a') limit 0,500

#STOP # Total Record = 0
Select==> SELECT * FROM al_balance_temp WHERE log_status in ('e','a') limit 0,500

#STOP # Total Record = 0
Select==> SELECT * FROM al_balanch_src WHERE log_status in ('e','a') limit 0,500

Database error encountered

หยุดการประมวลผล...