select * from table_export where log_status ='1'

SELECT * FROM sp_contract WHERE ex_status in ('e','a','c','r') ORDER BY ex_status desc limit 0,500
qselect_key === SELECT * FROM sp_contract limit 0,1

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com insert into sp_contract (CONR_NO,CONR_REF,TRANS_REF,REF_NO,BR_CODE,SUB_BRANCH_ID,TRANS_CODE,COM_NO,OPERATE_DATE,CONR_DATE,START_DATE,END_DATE,PRINT_FORM_USER,PRINT_FORM_DATE,PRINT_FORM_TIME,SYSTEM_USER,SYSTEM_DATE,SYSTEM_TIME,YEAR_EMPLOY,SET_RENT_DATE,REGISTER_RENT_DATE,PLANT_MONTH,PLANT_YEAR,CUT_LOG_MONTH,CUT_LOG_YEAR,CUS_ID,ECUSTOMER_ID,CUS_OLD,ATTORNEY_IN_FACT,ATTORNEY_POSITION,ATTORNEY_COMMAND,ATTORNEY_IDCARD,MARKETPLAN_CODE,SUB_MARKETPLAN_CODE,CON_ID,CON_OLD,PLAN_NO,SUB_PLAN_NO,CONR_PRICE1,CONR_PRICE2,CONR_PRICE3,CONR_PRICE4,CONR_PRICE5,CONR_SUBSIDY,QUANTITY,QUANTITY_FREE,QUANTITY_PRICE,QUANTITY_RAI,PRICE_UNIT_CON,PRICE_UNIT,PRICE_UNIT_RET,COST_PRICE,PROD_CODE,PRODUCT,PROD_CHECK,CUT_LENGTH,CUT_LENGTH_1,PLACE,BASIS_CODE,BASIS_DETAIL,BASIS,BASIS_NO,LAND_CODE,LAND_NO,HELD,SURVEY,RAI,SQUARE,QUAR,SQUARE_METRE,WIDTH,LENGTH,CONTEXT,BRANCH_NAME,TAMBOL,DISTRICT,PROVINCE,BRANCH_ID1,BRANCH_NAME1,BRANCH_PROVINCE1,BRANCH_ID2,BRANCH_NAME2,BRANCH_PROVINCE2,BRANCH_ID3,BRANCH_NAME3,BRANCH_PROVINCE3,LICENSEE,LICENSEE_POSITION,LICENSEE_BRANCH,LICENSEE_DEPT,WITNESS1,WITNESS2,WITNESS3,WITNESS4,PIC_FILENAME1,PIC_PATH1,FILE_CONCERN1,PIC_FILENAME2,PIC_PATH2,FILE_CONCERN2,PIC_FILENAME3,PIC_PATH3,FILE_CONCERN3,CONR_STATUS,CONR_PLANT_STATUS,REWARDS_STATUS,WAGE_DAY,PREPARE_DAY,FINE_DAY,MOVE_DAY,REPLANT_DAY,RAI_PRICE_UNIT,RAI_PRICE,PRICE_FINE_UNIT,RAI_FINE_UNIT,FILE_NUMBER,PAGE_NUMBER,DESTROY_DETAIL,DESTROY_STATUS,STUMP_PRICE_STATUS,STUMP_CONR_PRICE1,CUT_TRANSPORT_DUTY,LOSS_DETAIL,REF_TELESALE,ID_CARD,OFFICIAL_CARD,OFFICER,OFFICER_TEL,REF_TYPE,REF_DETAIL,SURVEY_STATUS,DEPT_TEL_NUMBER,CALLCENTER_NUMBER,REGISTER_DATE,REGISTER_LANDLORD_DAMAGES,REGISTER_TENANT_DAMAGES,RENT_CONT_DAY,USER_OPERATE,assign_no,assign_emp_id,assign_emp_name,assign_emp_sname,assign_date,assign_log_user,assign_log_datetime,assign_status,CIB_DIS_DATE,CIB_DIS_TIME,CIB_DIS_USER,CIB_DIS_STATUS,CIB_DIS_YEAR,CIB_DIS_MONTH,CIB_REDIS_DATE,CIB_REDIS_TIME,CIB_REDIS_USER,CIB_REDIS_STATUS,CIB_REDIS_YEAR,CIB_REDIS_MONTH,LOG_STATUS,LOG_USER,LOG_DATE,LOG_TIME,ex_status,ex_datetime,verify_status,post_date,post_time,post_user,post_status,post_ref1,post_ref2,chk_doc_conr,response_no,response_emp_id,response_emp_name,response_emp_sname,response_date,response_log_user,response_log_datetime,response_status,budget_status,ex_describe,extra_status,inventory_status,chk_print_form) VALUES ( 'S0010/03/18/00004','','TRANS2','','10','','CONR61','121','2018-03-16','2018-03-16','0000-00-00','0000-00-00','','0000-00-00','00:00:00','45092_10','2018-03-16','23:51:07','0','','0000-00-00','0','0000','0','0000','M-1010015800567','','45','','','','','p61024','','','','M-1010015800567-001','','1250.00','0.00','1700.00','','','0.00','4100.00','0.00','','0.00','0.00','3.75','0.00','0.00','Uca333','SS14 AA','Uca333:4100:0','','','สาขาชุมพวง','9','','','','0','449','25','324','10.00','0.00','0.00','0.00','3','1.5','','','','','','523','ชุมพวง','นครราชสีมา','523','ชุมพวง','นครราชสีมา','527','บ้านบึง','ชลบุรี','นายศักดิ์ศรี บุ้งจันทร์','','','','นายวุฒิพงษ์ กัญญานุรักษ์','\','','','','','','','','','','','','Y','0','0','0','0','0','0','0','0.00','0.00','0.00','0.00','0','0','','','','0.00','','','0','','','','','','','0','0870878888','1735/0870878888','0000-00-00','','0.00','0','b','0','','','','0000-00-00','','0000-00-00 00:00:00','0','0000-00-00','00:00:00','','0','','','0000-00-00','00:00:00','','0','','','a','59562_admin','2018-04-23','10:35:15','a','0000-00-00 00:00:00','','2018-04-23','10:35:15','59562_admin','1','','','','0','','','','0000-00-00','','0000-00-00 00:00:00','0','0','','0','0','0');

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_contract WHERE CONR_NO = 'S0010/03/18/00004' and BR_CODE = '10' and SUB_BRANCH_ID = '' and TRANS_CODE = 'CONR61' and CUS_ID = 'M-1010015800567' and PLAN_NO = 'M-1010015800567-001'

SELECT * FROM sp_contract_area WHERE ex_status in ('e','a','c','r') ORDER BY ex_status desc limit 0,500
qselect_key === SELECT * FROM sp_contract_area limit 0,1

SELECT * FROM sp_contract_benefit WHERE ex_status in ('e','a','c','r') ORDER BY ex_status desc limit 0,500
qselect_key === SELECT * FROM sp_contract_benefit limit 0,1

SELECT * FROM sp_contract_document WHERE ex_status in ('e','a','c','r') ORDER BY ex_status desc limit 0,500
qselect_key === SELECT * FROM sp_contract_document limit 0,1

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com insert into sp_contract_document (seq_no,cus_id,branch_id,conr_no,trans_code,file_path,file_name,real_name,comment_code,log_status,log_user,log_date,log_time,ex_status,ex_datetime) VALUES ( '63369','M-1907105000129','1050','S1050/07/19/00001','CONR61','/export/bmac/bmac_sale/document_caa_conr60-61/','M-190710500012920190724110113_1.58.35_25620724105906.pdf','new doc 2562-07-24 10.58.35_25620724105906.pdf','9','1','61563_1050','2019-07-24','11:01:13','a','0000-00-00 00:00:00');

Connect to k72.chaiyo-aa.com as webbmac

dbhost_x >>> k72.chaiyo-aa.com dbname >>> bmac_db Query k72.chaiyo-aa.com UPDATE sp_contract_document SET ex_status= 'p' , ex_datetime = now() WHERE seq_no = '63369' and branch_id = '1050' and conr_no = 'S1050/07/19/00001' and trans_code = 'CONR61'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com insert into sp_contract_document (seq_no,cus_id,branch_id,conr_no,trans_code,file_path,file_name,real_name,comment_code,log_status,log_user,log_date,log_time,ex_status,ex_datetime) VALUES ( '63370','M-1907122700335','1227','S1227/07/19/00046','CONR61','/export/bmac/bmac_sale/document_caa_conr60-61/','M-190712270033520190724110548_1.jpg','img258.jpg','9','1','55851_1227','2019-07-24','11:05:48','a','0000-00-00 00:00:00');

Connect to k72.chaiyo-aa.com as webbmac

dbhost_x >>> k72.chaiyo-aa.com dbname >>> bmac_db Query k72.chaiyo-aa.com UPDATE sp_contract_document SET ex_status= 'p' , ex_datetime = now() WHERE seq_no = '63370' and branch_id = '1227' and conr_no = 'S1227/07/19/00046' and trans_code = 'CONR61'

SELECT * FROM sp_customer WHERE ex_status in ('e','a','c','r') ORDER BY ex_status desc limit 0,500
qselect_key === SELECT * FROM sp_customer limit 0,1

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300117364',OPERATE_DATE ='2008-12-30',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-0812022501736',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='เสน่ห์',CUS_SNAME ='จุฑาเพ็ชร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1951-12-01',CUS_ADD ='51',CUS_MOO ='1',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='25220',CUS_TEL ='',CUS_MOBILE ='0819823608',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='51',CEN_MOO ='1',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='25220',CEN_TEL ='',CEN_LATITUDE ='',CEN_LONGITUDE ='',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='4.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2013-07-16',last_access_time ='08:48:52',log_status ='e',log_user ='60000_1796',log_date ='2019-07-15',ex_status = 'e',ex_datetime ='2018-01-04 08:00:18',crm_status ='e',crm_datetime ='2018-01-04 07:44:14' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-0812022501736';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-0812022501736'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3620100057801',OPERATE_DATE ='2014-06-29',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1406105000711',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ณรงค์',CUS_SNAME ='สุกเหลือง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-08-06',CUS_ADD ='27',CUS_MOO ='8',CUS_DIS ='สระแก้ว',CUS_DISID ='620119',CUS_AMP ='เมืองกำแพงเพชร',CUS_AMPID ='6201',CUS_PROV ='กำแพงเพชร',CUS_PROVID ='62',CUS_POST ='0',CUS_TEL ='0828770081',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='27',CEN_MOO ='8',CEN_DIS ='สระแก้ว',CEN_DISID ='620119',CEN_AMP ='เมืองกำแพงเพชร',CEN_AMPID ='6201',CEN_PROV ='กำแพงเพชร',CEN_PROVID ='62',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.5045660000',CEN_LONGITUDE ='99.5965580000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-30',last_access_time ='22:36:53',log_status ='e',log_user ='59377_1050',log_date ='2017-04-18',ex_status = 'e',ex_datetime ='2019-06-30 22:36:53',crm_status ='a',crm_datetime ='2017-04-18 14:45:25' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1406105000711';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1406105000711'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3620300324773',OPERATE_DATE ='2014-06-30',DOC_NO ='',C_TYPE_CODE ='1319',SUB_BRANCH_ID ='',CUS_ID ='M-1406131900724',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='ชัยวัฒน์',CUS_SNAME ='พรพิชัยพัฒน์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='0000-00-00',CUS_ADD ='388',CUS_MOO ='3',CUS_DIS ='ทุ่งพระยา',CUS_DISID ='240803',CUS_AMP ='สนามชัยเขต',CUS_AMPID ='2408',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0629915545',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='388',CEN_MOO ='3',CEN_DIS ='ทุ่งพระยา',CEN_DISID ='240803',CEN_AMP ='สนามชัยเขต',CEN_AMPID ='2408',CEN_PROV ='ฉะเชิงเทรา',CEN_PROVID ='24',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.7113700000',CEN_LONGITUDE ='101.7100520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='240802',PLANT_SOURCE_DISTRICT ='2408',PLANT_SOURCE_PROVINCE ='24',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-03-20',last_access_time ='07:20:57',log_status ='e',log_user ='55496_1467',log_date ='2019-04-10',ex_status = 'e',ex_datetime ='2018-03-20 07:30:36',crm_status ='a',crm_datetime ='2014-06-30 12:10:18' WHERE C_TYPE_CODE = '1319' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1406131900724';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1319' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1406131900724'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700397257',OPERATE_DATE ='2014-10-31',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1410136900671',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เสกศักดิ์',CUS_SNAME ='ศรีพล',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1974-10-23',CUS_ADD ='165',CUS_MOO ='12',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='165',CEN_MOO ='12',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-10',last_access_time ='16:08:20',log_status ='e',log_user ='65372_1227',log_date ='2018-08-04',ex_status = 'e',ex_datetime ='2019-07-10 16:08:20',crm_status ='a',crm_datetime ='2018-08-04 08:47:58' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1410136900671';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1410136900671'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451500126757',OPERATE_DATE ='2014-11-26',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1411136900558',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประสงค์',CUS_SNAME ='บุตรสาร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-05-29',CUS_ADD ='27',CUS_MOO ='2',CUS_DIS ='ชุมพร',CUS_DISID ='451502',CUS_AMP ='เมยวดี',CUS_AMPID ='4515',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0847964804',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='27',CEN_MOO ='2',CEN_DIS ='ชุมพร',CEN_DISID ='451502',CEN_AMP ='เมยวดี',CEN_AMPID ='4515',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3575330000',CEN_LONGITUDE ='104.0921970000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451502',PLANT_SOURCE_DISTRICT ='4515',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-04-10',last_access_time ='10:27:17',log_status ='e',log_user ='62077_1227',log_date ='2018-08-17',ex_status = 'e',ex_datetime ='2019-04-10 10:27:17',crm_status ='a',crm_datetime ='2018-08-17 13:48:43' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1411136900558';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1411136900558'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300700067002',OPERATE_DATE ='2015-02-04',DOC_NO ='',C_TYPE_CODE ='1351',SUB_BRANCH_ID ='',CUS_ID ='M-1502135100066',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='สมหมาย',CUS_SNAME ='บุญกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1957-02-06',CUS_ADD ='39',CUS_MOO ='9',CUS_DIS ='กระโทก',CUS_DISID ='300701',CUS_AMP ='โชคชัย',CUS_AMPID ='3007',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0933928148',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='39',CEN_MOO ='9',CEN_DIS ='กระโทก',CEN_DISID ='300701',CEN_AMP ='โชคชัย',CEN_AMPID ='3007',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='',CEN_LONGITUDE ='',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='30.00',PLANT_SOURCE_SUBDISTRICT ='300703',PLANT_SOURCE_DISTRICT ='3007',PLANT_SOURCE_PROVINCE ='30',vat_status ='0',type_cus ='1',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2015-03-06',last_access_time ='11:47:29',log_status ='e',log_user ='62811_bms',log_date ='2019-06-06',ex_status = 'e',ex_datetime ='2018-01-17 09:30:57',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1351' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1502135100066';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1351' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1502135100066'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320501215753',OPERATE_DATE ='2015-02-13',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1502123200191',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='วิชัย',CUS_SNAME ='วงค์กนก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='0000-00-00',CUS_ADD ='197',CUS_MOO ='8',CUS_DIS ='ตานี',CUS_DISID ='320514',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0872416045',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='197',CEN_MOO ='8',CEN_DIS ='ตานี',CEN_DISID ='320514',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.6250290000',CEN_LONGITUDE ='103.2589530000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='320509',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2017-06-01',last_access_time ='09:05:14',log_status ='e',log_user ='56283.bms',log_date ='2019-01-23',ex_status = 'e',ex_datetime ='2017-06-01 09:31:00',crm_status ='a',crm_datetime ='2017-03-31 15:28:31' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1502123200191';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1502123200191'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341500399797',OPERATE_DATE ='2015-04-30',DOC_NO ='',C_TYPE_CODE ='215',SUB_BRANCH_ID ='',CUS_ID ='M-1504021500290',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ชมภู',CUS_SNAME ='ชนะนิล',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1977-04-02',CUS_ADD ='23',CUS_MOO ='2',CUS_DIS ='หนองไฮ',CUS_DISID ='342203',CUS_AMP ='สำโรง',CUS_AMPID ='3422',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='0',CUS_TEL ='0844395244',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='23',CEN_MOO ='2',CEN_DIS ='หนองไฮ',CEN_DISID ='342203',CEN_AMP ='สำโรง',CEN_AMPID ='3422',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.9700760000',CEN_LONGITUDE ='104.7741220000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-05-25',last_access_time ='18:36:16',log_status ='e',log_user ='59346',log_date ='2017-04-11',ex_status = 'e',ex_datetime ='2019-05-25 18:36:16',crm_status ='a',crm_datetime ='2017-04-11 15:49:32' WHERE C_TYPE_CODE = '215' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1504021500290';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '215' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1504021500290'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3200700898282',OPERATE_DATE ='2015-05-05',DOC_NO ='',C_TYPE_CODE ='1058',SUB_BRANCH_ID ='',CUS_ID ='M-1505105800048',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='พิพัฒน์',CUS_SNAME ='เทศซ้อน',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='0000-00-00',CUS_ADD ='113/1',CUS_MOO ='',CUS_DIS ='บึง',CUS_DISID ='200704',CUS_AMP ='ศรีราชา',CUS_AMPID ='2007',CUS_PROV ='ชลบุรี',CUS_PROVID ='20',CUS_POST ='20110',CUS_TEL ='0815255714',CUS_MOBILE ='0815255714',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='บึง',CEN_DISID ='200704',CEN_AMP ='ศรีราชา',CEN_AMPID ='2007',CEN_PROV ='ชลบุรี',CEN_PROVID ='20',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='',CEN_LONGITUDE ='',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='200702',PLANT_SOURCE_DISTRICT ='2007',PLANT_SOURCE_PROVINCE ='20',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-12',last_access_time ='09:10:49',log_status ='e',log_user ='65272_1058',log_date ='2018-08-07',ex_status = 'e',ex_datetime ='2018-12-12 09:10:49',crm_status ='a',crm_datetime ='2015-05-05 15:14:48' WHERE C_TYPE_CODE = '1058' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1505105800048';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1058' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1505105800048'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3330400198551',OPERATE_DATE ='2015-05-14',DOC_NO ='',C_TYPE_CODE ='215',SUB_BRANCH_ID ='',CUS_ID ='M-1505021500141',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='บุญธรรม',CUS_SNAME ='คำศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1976-12-24',CUS_ADD ='111',CUS_MOO ='11',CUS_DIS ='จานใหญ่',CUS_DISID ='330411',CUS_AMP ='กันทรลักษ์',CUS_AMPID ='3304',CUS_PROV ='ศรีสะเกษ',CUS_PROVID ='33',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0860127103',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='111',CEN_MOO ='11',CEN_DIS ='จานใหญ่',CEN_DISID ='330411',CEN_AMP ='กันทรลักษ์',CEN_AMPID ='3304',CEN_PROV ='ศรีสะเกษ',CEN_PROVID ='33',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='',CEN_LONGITUDE ='',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='330411',PLANT_SOURCE_DISTRICT ='3304',PLANT_SOURCE_PROVINCE ='33',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2015-06-22',last_access_time ='16:51:28',log_status ='e',log_user ='55381_bms',log_date ='2019-03-23',ex_status = 'e',ex_datetime ='2018-01-17 09:30:57',crm_status ='a',crm_datetime ='2015-05-14 14:36:06' WHERE C_TYPE_CODE = '215' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1505021500141';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '215' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1505021500141'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700113151',OPERATE_DATE ='2015-05-28',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1505136900263',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมาน',CUS_SNAME ='รัตนวงศ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='0000-00-00',CUS_ADD ='148',CUS_MOO ='6',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='148',CEN_MOO ='6',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-05-18',last_access_time ='17:03:35',log_status ='e',log_user ='58357_1369',log_date ='2019-05-18',ex_status = 'e',ex_datetime ='2019-05-18 17:03:35',crm_status ='a',crm_datetime ='2019-05-18 17:01:43' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1505136900263';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1505136900263'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3410400275580',OPERATE_DATE ='2015-05-28',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1505136900265',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สายันต์',CUS_SNAME ='พอสียา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1964-06-11',CUS_ADD ='55',CUS_MOO ='8',CUS_DIS ='ดอนจาน',CUS_DISID ='461701',CUS_AMP ='ดอนจาน',CUS_AMPID ='4617',CUS_PROV ='กาฬสินธุ์',CUS_PROVID ='46',CUS_POST ='0',CUS_TEL ='043000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='55',CEN_MOO ='8',CEN_DIS ='ดอนจาน',CEN_DISID ='461701',CEN_AMP ='ดอนจาน',CEN_AMPID ='4617',CEN_PROV ='กาฬสินธุ์',CEN_PROVID ='46',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='',CEN_LONGITUDE ='',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-10',last_access_time ='13:04:50',log_status ='a',log_user ='58357_1369',log_date ='2015-05-28',ex_status = 'e',ex_datetime ='2019-06-10 13:04:50',crm_status ='a',crm_datetime ='2015-05-28 14:31:47' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1505136900265';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1505136900265'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700395181',OPERATE_DATE ='2015-07-31',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1507122700725',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='จุฑารัตน์',CUS_SNAME ='คำสะสม',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1960-04-06',CUS_ADD ='203',CUS_MOO ='12',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45110',CUS_TEL ='0956021531',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='203',CEN_MOO ='12',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45110',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-13',last_access_time ='13:43:11',log_status ='e',log_user ='62829_1227',log_date ='2019-05-03',ex_status = 'e',ex_datetime ='2019-06-13 13:43:11',crm_status ='a',crm_datetime ='2019-05-03 14:48:54' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1507122700725';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1507122700725'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1450700083604',OPERATE_DATE ='2015-09-21',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1509136900158',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ชาญยุทธ',CUS_SNAME ='ธนะมูล',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1986-06-08',CUS_ADD ='47',CUS_MOO ='2',CUS_DIS ='พรมสวรรค์',CUS_DISID ='450711',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0926510699',CUS_MOBILE ='0926510699',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='47',CEN_MOO ='2',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450711',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-06',last_access_time ='16:35:11',log_status ='e',log_user ='65378_1227',log_date ='2018-06-13',ex_status = 'e',ex_datetime ='2018-07-06 16:35:11',crm_status ='a',crm_datetime ='2018-06-13 16:59:29' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1509136900158';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1509136900158'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1200600152878',OPERATE_DATE ='2015-12-09',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1512146700067',ECUSTOMER_ID ='6100000774',ECUSTOMER_DIGIT ='4',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='AB',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='จริยา',CUS_SNAME ='ชุ่มแสง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1989-12-24',CUS_ADD ='297',CUS_MOO ='5',CUS_DIS ='เกาะจันทร์',CUS_DISID ='201101',CUS_AMP ='เกาะจันทร์',CUS_AMPID ='2011',CUS_PROV ='ชลบุรี',CUS_PROVID ='20',CUS_POST ='0',CUS_TEL ='0800622359',CUS_MOBILE ='0982332566',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='297',CEN_MOO ='5',CEN_DIS ='เกาะจันทร์',CEN_DISID ='201101',CEN_AMP ='เกาะจันทร์',CEN_AMPID ='2011',CEN_PROV ='ชลบุรี',CEN_PROVID ='20',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.4150020000',CEN_LONGITUDE ='101.4024350000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='201101',PLANT_SOURCE_DISTRICT ='2011',PLANT_SOURCE_PROVINCE ='20',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-17',last_access_time ='16:48:39',log_status ='e',log_user ='52299_1645',log_date ='2018-10-26',ex_status = 'e',ex_datetime ='2018-12-17 16:48:39',crm_status ='a',crm_datetime ='2018-10-26 16:44:00' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1512146700067';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1512146700067'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3301600420470',OPERATE_DATE ='2016-01-05',DOC_NO ='',C_TYPE_CODE ='1366',SUB_BRANCH_ID ='',CUS_ID ='M-1601136600026',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='สำลี',CUS_SNAME ='ชนะเลิศ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-10-25',CUS_ADD ='37',CUS_MOO ='',CUS_DIS ='ปากช่อง',CUS_DISID ='302101',CUS_AMP ='ปากช่อง',CUS_AMPID ='3021',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='37',CEN_MOO ='',CEN_DIS ='ปากช่อง',CEN_DISID ='302101',CEN_AMP ='ปากช่อง',CEN_AMPID ='3021',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.7151200000',CEN_LONGITUDE ='101.4202880000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='3',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-05',last_access_time ='13:16:08',log_status ='e',log_user ='52575_1785',log_date ='2019-07-05',ex_status = 'e',ex_datetime ='2019-07-05 13:16:08',crm_status ='a',crm_datetime ='2019-07-05 13:11:52' WHERE C_TYPE_CODE = '1366' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1601136600026';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1366' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1601136600026'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3200300165521',OPERATE_DATE ='2016-02-25',DOC_NO ='',C_TYPE_CODE ='1058',SUB_BRANCH_ID ='',CUS_ID ='M-1602105800229',ECUSTOMER_ID ='6100000790',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='AB',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สินธุ์ชัย',CUS_SNAME ='แจ่มเจริญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1976-11-04',CUS_ADD ='314',CUS_MOO ='1',CUS_DIS ='ห้างสูง',CUS_DISID ='200304',CUS_AMP ='หนองใหญ่',CUS_AMPID ='2003',CUS_PROV ='ชลบุรี',CUS_PROVID ='20',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0907629263',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='314',CEN_MOO ='1',CEN_DIS ='ห้างสูง',CEN_DISID ='200304',CEN_AMP ='หนองใหญ่',CEN_AMPID ='2003',CEN_PROV ='ชลบุรี',CEN_PROVID ='20',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='',CEN_LONGITUDE ='',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='200304',PLANT_SOURCE_DISTRICT ='2003',PLANT_SOURCE_PROVINCE ='20',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2016-07-07',last_access_time ='17:53:46',log_status ='e',log_user ='sr_1772',log_date ='2018-10-15',ex_status = 'e',ex_datetime ='2016-07-07 18:00:34',crm_status ='a',crm_datetime ='2018-10-15 10:36:24' WHERE C_TYPE_CODE = '1058' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1602105800229';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1058' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1602105800229'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3200600837737',OPERATE_DATE ='2016-03-24',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1603146700200',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ภิรมย์',CUS_SNAME ='ชุ่มแสง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1967-02-28',CUS_ADD ='297',CUS_MOO ='5',CUS_DIS ='เกาะจันทร์',CUS_DISID ='201101',CUS_AMP ='เกาะจันทร์',CUS_AMPID ='2011',CUS_PROV ='ชลบุรี',CUS_PROVID ='20',CUS_POST ='0',CUS_TEL ='0631795593',CUS_MOBILE ='0962534379',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='297',CEN_MOO ='5',CEN_DIS ='เกาะจันทร์',CEN_DISID ='201101',CEN_AMP ='เกาะจันทร์',CEN_AMPID ='2011',CEN_PROV ='ชลบุรี',CEN_PROVID ='20',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.4150020000',CEN_LONGITUDE ='101.4024350000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='201101',PLANT_SOURCE_DISTRICT ='2011',PLANT_SOURCE_PROVINCE ='20',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-27',last_access_time ='13:32:33',log_status ='e',log_user ='52299_1645',log_date ='2018-10-16',ex_status = 'e',ex_datetime ='2019-06-27 13:32:33',crm_status ='a',crm_datetime ='2018-10-16 14:48:13' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1603146700200';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1603146700200'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320400056862',OPERATE_DATE ='2016-06-01',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1606123200002',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ภัทรวุฒิ',CUS_SNAME ='สุรินทร์ศิริรัฐ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1976-12-22',CUS_ADD ='--',CUS_MOO ='1',CUS_DIS ='จอมพระ',CUS_DISID ='320401',CUS_AMP ='จอมพระ',CUS_AMPID ='3204',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32180',CUS_TEL ='',CUS_MOBILE ='0812662607',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='5',CEN_MOO ='--',CEN_DIS ='จอมพระ',CEN_DISID ='320401',CEN_AMP ='จอมพระ',CEN_AMPID ='3204',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32000',CEN_TEL ='',CEN_LATITUDE ='15.1175360000',CEN_LONGITUDE ='103.6117170000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='320101',PLANT_SOURCE_DISTRICT ='3201',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-28',last_access_time ='11:56:53',log_status ='e',log_user ='sr_1732',log_date ='2018-04-24',ex_status = 'e',ex_datetime ='2018-05-28 11:56:53',crm_status ='a',crm_datetime ='2018-04-24 16:51:08' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1606123200002';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1606123200002'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1629900158353',OPERATE_DATE ='2016-06-27',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1606105000120',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุขประเสริฐ',CUS_SNAME ='ตันใจ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1989-06-09',CUS_ADD ='15',CUS_MOO ='21',CUS_DIS ='อ่างทอง',CUS_DISID ='620103',CUS_AMP ='เมืองกำแพงเพชร',CUS_AMPID ='6201',CUS_PROV ='กำแพงเพชร',CUS_PROVID ='62',CUS_POST ='62000',CUS_TEL ='0844395397',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='15',CEN_MOO ='21',CEN_DIS ='อ่างทอง',CEN_DISID ='620103',CEN_AMP ='เมืองกำแพงเพชร',CEN_AMPID ='6201',CEN_PROV ='กำแพงเพชร',CEN_PROVID ='62',CEN_POST ='62000',CEN_TEL ='',CEN_LATITUDE ='16.3504500000',CEN_LONGITUDE ='99.4921880000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-27',last_access_time ='02:04:09',log_status ='e',log_user ='59377_1050',log_date ='2016-11-25',ex_status = 'e',ex_datetime ='2019-06-27 02:04:09',crm_status ='a',crm_datetime ='2016-11-25 18:01:19' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1606105000120';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1606105000120'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1311000016850',OPERATE_DATE ='2016-07-04',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1607123200014',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ชนาภา',CUS_SNAME ='บุระดา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1984-10-19',CUS_ADD ='185/3',CUS_MOO ='5',CUS_DIS ='หนองโดน',CUS_DISID ='311016',CUS_AMP ='ลำปลายมาศ',CUS_AMPID ='3110',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31130',CUS_TEL ='0897521717',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='185/3',CEN_MOO ='5',CEN_DIS ='หนองโดน',CEN_DISID ='311016',CEN_AMP ='ลำปลายมาศ',CEN_AMPID ='3110',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31130',CEN_TEL ='',CEN_LATITUDE ='14.8873910000',CEN_LONGITUDE ='102.8378680000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-10',last_access_time ='16:41:52',log_status ='e',log_user ='55496_1471',log_date ='2017-04-01',ex_status = 'e',ex_datetime ='2018-12-10 16:41:52',crm_status ='a',crm_datetime ='2017-04-01 11:37:32' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1607123200014';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1607123200014'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700338471',OPERATE_DATE ='2016-07-07',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1607136900035',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ประดับ',CUS_SNAME ='วิเศษศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1980-07-12',CUS_ADD ='49',CUS_MOO ='1',CUS_DIS ='พรมสวรรค์',CUS_DISID ='450711',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='49',CEN_MOO ='1',CEN_DIS ='พรมสวรรค์',CEN_DISID ='450711',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1976960000',CEN_LONGITUDE ='104.0719410000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-14',last_access_time ='12:34:05',log_status ='e',log_user ='58357_1369',log_date ='2017-07-05',ex_status = 'e',ex_datetime ='2019-06-14 12:34:05',crm_status ='a',crm_datetime ='2017-07-05 13:19:10' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1607136900035';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1607136900035'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3571100068465',OPERATE_DATE ='2016-07-16',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1607105000101',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เสฐียรภัค',CUS_SNAME ='นวลกา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='0000-00-00',CUS_ADD ='168',CUS_MOO ='1',CUS_DIS ='แม่เจดีย์',CUS_DISID ='571106',CUS_AMP ='เวียงป่าเป้า',CUS_AMPID ='5711',CUS_PROV ='เชียงราย',CUS_PROVID ='57',CUS_POST ='57170',CUS_TEL ='0897591873',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='168',CEN_MOO ='1',CEN_DIS ='แม่เจดีย์',CEN_DISID ='571106',CEN_AMP ='เวียงป่าเป้า',CEN_AMPID ='5711',CEN_PROV ='เชียงราย',CEN_PROVID ='57',CEN_POST ='57170',CEN_TEL ='',CEN_LATITUDE ='19.2048350000',CEN_LONGITUDE ='99.5141600000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-10',last_access_time ='13:13:49',log_status ='e',log_user ='59377_1050',log_date ='2017-05-23',ex_status = 'e',ex_datetime ='2018-07-10 13:13:49',crm_status ='a',crm_datetime ='2017-05-23 11:31:33' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1607105000101';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1607105000101'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700402854',OPERATE_DATE ='2016-11-21',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1611122700169',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='สมาน',CUS_SNAME ='วิไสยศรี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-05-01',CUS_ADD ='14',CUS_MOO ='12',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0817949689',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='14',CEN_MOO ='12',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='0',type_cus ='1',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2016-11-21',last_access_time ='13:53:01',log_status ='e',log_user ='62831_bms',log_date ='2019-02-15',ex_status = 'e',ex_datetime ='2018-01-17 10:00:29',crm_status ='a',crm_datetime ='2016-11-21 13:34:56' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1611122700169';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1611122700169'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320500745341',OPERATE_DATE ='2017-01-09',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1701123200082',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='ยวน',CUS_SNAME ='เสาะสนธิ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1956-01-02',CUS_ADD ='100',CUS_MOO ='1',CUS_DIS ='ตานี',CUS_DISID ='320514',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32140',CUS_TEL ='0870766977',CUS_MOBILE ='0821545619',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='100',CEN_MOO ='1',CEN_DIS ='ตานี',CEN_DISID ='320514',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32140',CEN_TEL ='',CEN_LATITUDE ='14.6250290000',CEN_LONGITUDE ='103.2589530000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='320514',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='0',type_cus ='1',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-05',last_access_time ='12:18:05',log_status ='e',log_user ='62804_bms',log_date ='2018-10-19',ex_status = 'e',ex_datetime ='2019-07-05 12:18:05',crm_status ='e',crm_datetime ='2018-10-04 17:05:37' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1701123200082';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1701123200082'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3460200013158',OPERATE_DATE ='2017-02-16',DOC_NO ='',C_TYPE_CODE ='1424',SUB_BRANCH_ID ='',CUS_ID ='M-1702142400175',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='77',CUS_NAME ='แก้วกุมาร วู้ดชิพ',CUS_SNAME ='(นายสง่า)',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='0000-00-00',CUS_ADD ='1',CUS_MOO ='2',CUS_DIS ='ดงแดง',CUS_DISID ='450406',CUS_AMP ='จตุรพักตรพิมาน',CUS_AMPID ='4504',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0637522288',CUS_MOBILE ='0844395320',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='1',CEN_MOO ='2',CEN_DIS ='ดงแดง',CEN_DISID ='450406',CEN_AMP ='จตุรพักตรพิมาน',CEN_AMPID ='4504',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.8529490000',CEN_LONGITUDE ='103.6203000000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='10.00',PLANT_SOURCE_SUBDISTRICT ='450406',PLANT_SOURCE_DISTRICT ='4504',PLANT_SOURCE_PROVINCE ='45',vat_status ='1',type_cus ='2',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='55555555555',TAX_CARD ='0453556000748',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-24',last_access_time ='11:17:10',log_status ='e',log_user ='38400_1785',log_date ='2019-04-30',ex_status = 'e',ex_datetime ='2019-07-24 11:17:10',crm_status ='a',crm_datetime ='2019-04-30 13:10:24' WHERE C_TYPE_CODE = '1424' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1702142400175';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1424' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1702142400175'

Connect to k72.chaiyo-aa.com as webbmac

dbhost_x >>> k72.chaiyo-aa.com dbname >>> bmac_db Query k72.chaiyo-aa.com UPDATE sp_customer SET ex_status= 'p' , ex_datetime = now() WHERE C_TYPE_CODE = '1424' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1702142400175'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3520800575067',OPERATE_DATE ='2017-02-23',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1702105000329',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='กัลยา',CUS_SNAME ='หนุ่มน้อย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-09-01',CUS_ADD ='84',CUS_MOO ='10',CUS_DIS ='แม่ถอด',CUS_DISID ='520807',CUS_AMP ='เถิน',CUS_AMPID ='5208',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='52160',CUS_TEL ='0887702997',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='84',CEN_MOO ='10',CEN_DIS ='แม่ถอด',CEN_DISID ='520807',CEN_AMP ='เถิน',CEN_AMPID ='5208',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='52160',CEN_TEL ='',CEN_LATITUDE ='17.7571880000',CEN_LONGITUDE ='99.2267990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-24',last_access_time ='09:23:29',log_status ='e',log_user ='65567_1050',log_date ='2018-12-20',ex_status = 'e',ex_datetime ='2018-05-24 09:23:29',crm_status ='a',crm_datetime ='2018-12-20 11:23:38' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1702105000329';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1702105000329'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1520600032098',OPERATE_DATE ='2017-02-23',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1702105000334',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='วรรณา',CUS_SNAME ='อุดกันทา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1986-06-13',CUS_ADD ='24/2',CUS_MOO ='1',CUS_DIS ='นายาง',CUS_DISID ='521104',CUS_AMP ='สบปราบ',CUS_AMPID ='5211',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='52170',CUS_TEL ='0857106230',CUS_MOBILE ='0857106230',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='24/2',CEN_MOO ='1',CEN_DIS ='นายาง',CEN_DISID ='521104',CEN_AMP ='สบปราบ',CEN_AMPID ='5211',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='52170',CEN_TEL ='',CEN_LATITUDE ='17.9158590000',CEN_LONGITUDE ='99.3049050000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='520807',PLANT_SOURCE_DISTRICT ='5208',PLANT_SOURCE_PROVINCE ='52',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-21',last_access_time ='14:37:43',log_status ='e',log_user ='63922_1050',log_date ='2019-05-28',ex_status = 'e',ex_datetime ='2019-06-21 14:37:43',crm_status ='a',crm_datetime ='2019-05-28 12:05:10' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1702105000334';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1702105000334'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3420300332212',OPERATE_DATE ='2017-03-20',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1703105000237',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ปทิตตา',CUS_SNAME ='แสนเขียววงศ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1980-05-07',CUS_ADD ='21/2',CUS_MOO ='4',CUS_DIS ='แม่ปุ',CUS_DISID ='520903',CUS_AMP ='แม่พริก',CUS_AMPID ='5209',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='52180',CUS_TEL ='0931856269',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='21/2',CEN_MOO ='4',CEN_DIS ='แม่ปุ',CEN_DISID ='520903',CEN_AMP ='แม่พริก',CEN_AMPID ='5209',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='52180',CEN_TEL ='',CEN_LATITUDE ='17.5117960000',CEN_LONGITUDE ='99.1600230000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-21',last_access_time ='10:23:48',log_status ='e',log_user ='63922_1050',log_date ='2017-03-20',ex_status = 'e',ex_datetime ='2019-06-21 10:23:48',crm_status ='a',crm_datetime ='2017-03-20 15:07:32' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1703105000237';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1703105000237'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3311100027183',OPERATE_DATE ='2017-03-31',DOC_NO ='',C_TYPE_CODE ='1524',SUB_BRANCH_ID ='',CUS_ID ='M-1703152400454',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='จรัส',CUS_SNAME ='แสนสำอาง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='0000-00-00',CUS_ADD ='113/3',CUS_MOO ='4',CUS_DIS ='รังกาใหญ่',CUS_DISID ='301506',CUS_AMP ='พิมาย',CUS_AMPID ='3015',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='06157236169',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='113/2',CEN_MOO ='4',CEN_DIS ='รังกาใหญ่',CEN_DISID ='301506',CEN_AMP ='พิมาย',CEN_AMPID ='3015',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.2159510000',CEN_LONGITUDE ='102.5546260000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-30',last_access_time ='09:29:42',log_status ='a',log_user ='45092_1524',log_date ='2017-03-31',ex_status = 'e',ex_datetime ='2018-05-30 09:29:42',crm_status ='a',crm_datetime ='2017-03-31 22:33:58' WHERE C_TYPE_CODE = '1524' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1703152400454';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1524' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1703152400454'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3601100041353',OPERATE_DATE ='2017-04-26',DOC_NO ='',C_TYPE_CODE ='1115',SUB_BRANCH_ID ='',CUS_ID ='M-1704111500253',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='นิพนธ์',CUS_SNAME ='โครวัตร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-06-15',CUS_ADD ='440/1',CUS_MOO ='5',CUS_DIS ='ท่าตะเกียบ',CUS_DISID ='241001',CUS_AMP ='ท่าตะเกียบ',CUS_AMPID ='2410',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='0861454887',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='440/1',CEN_MOO ='5',CEN_DIS ='ท่าตะเกียบ',CEN_DISID ='241001',CEN_AMP ='ท่าตะเกียบ',CEN_AMPID ='2410',CEN_PROV ='ฉะเชิงเทรา',CEN_PROVID ='24',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.5311900000',CEN_LONGITUDE ='101.6757200000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-13',last_access_time ='16:06:20',log_status ='e',log_user ='60000_1099',log_date ='2018-05-31',ex_status = 'e',ex_datetime ='2018-12-13 16:06:20',crm_status ='a',crm_datetime ='2017-04-26 12:15:42' WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1704111500253';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1704111500253'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3521100119884',OPERATE_DATE ='2017-04-28',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1704105000287',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='มณี',CUS_SNAME ='เสนสม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1958-06-04',CUS_ADD ='6/2',CUS_MOO ='6',CUS_DIS ='นายาง',CUS_DISID ='521104',CUS_AMP ='สบปราบ',CUS_AMPID ='5211',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='52170',CUS_TEL ='0613691282',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='6/2',CEN_MOO ='6',CEN_DIS ='นายาง',CEN_DISID ='521104',CEN_AMP ='สบปราบ',CEN_AMPID ='5211',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='52170',CEN_TEL ='',CEN_LATITUDE ='17.9158590000',CEN_LONGITUDE ='99.3049050000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-24',last_access_time ='09:21:29',log_status ='e',log_user ='63922_1050',log_date ='2017-04-28',ex_status = 'e',ex_datetime ='2018-05-24 09:21:29',crm_status ='a',crm_datetime ='2017-04-28 12:21:35' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1704105000287';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1704105000287'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3620400678682',OPERATE_DATE ='2017-05-09',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1705105000082',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สมหมาย',CUS_SNAME ='สารพิน',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1957-10-18',CUS_ADD ='69/3',CUS_MOO ='1',CUS_DIS ='ปางมะค่า',CUS_DISID ='620411',CUS_AMP ='ขาณุวรลักษบุรี',CUS_AMPID ='6204',CUS_PROV ='กำแพงเพชร',CUS_PROVID ='62',CUS_POST ='62140',CUS_TEL ='0810397007',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='69/3',CEN_MOO ='1',CEN_DIS ='ปางมะค่า',CEN_DISID ='620411',CEN_AMP ='ขาณุวรลักษบุรี',CEN_AMPID ='6204',CEN_PROV ='กำแพงเพชร',CEN_PROVID ='62',CEN_POST ='62140',CEN_TEL ='',CEN_LATITUDE ='15.9520860000',CEN_LONGITUDE ='99.4757080000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-19',last_access_time ='01:47:25',log_status ='e',log_user ='59377_1050',log_date ='2017-05-09',ex_status = 'e',ex_datetime ='2018-05-19 01:47:25',crm_status ='a',crm_datetime ='2017-05-09 14:12:57' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1705105000082';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1705105000082'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3540700086757',OPERATE_DATE ='2017-05-11',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1705105000100',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='พิเชษฐ์',CUS_SNAME ='วงค์ปินตา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-03-08',CUS_ADD ='132/2',CUS_MOO ='3',CUS_DIS ='แม่พุง',CUS_DISID ='540705',CUS_AMP ='วังชิ้น',CUS_AMPID ='5407',CUS_PROV ='แพร่',CUS_PROVID ='54',CUS_POST ='0',CUS_TEL ='0810238763',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='132/2',CEN_MOO ='3',CEN_DIS ='แม่พุง',CEN_DISID ='540705',CEN_AMP ='วังชิ้น',CEN_AMPID ='5407',CEN_PROV ='แพร่',CEN_PROVID ='54',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.8768170000',CEN_LONGITUDE ='99.5515820000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-18',last_access_time ='22:18:51',log_status ='e',log_user ='63922_1050',log_date ='2017-05-11',ex_status = 'e',ex_datetime ='2018-05-18 22:18:51',crm_status ='a',crm_datetime ='2017-05-11 11:40:49' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1705105000100';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1705105000100'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341800187086',OPERATE_DATE ='2017-05-15',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1705136900130',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สำรอง',CUS_SNAME ='กุลบุตร',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1955-04-10',CUS_ADD ='70',CUS_MOO ='1',CUS_DIS ='คำพระ',CUS_DISID ='370602',CUS_AMP ='หัวตะพาน',CUS_AMPID ='3706',CUS_PROV ='อำนาจเจริญ',CUS_PROVID ='37',CUS_POST ='0',CUS_TEL ='0981091958',CUS_MOBILE ='0981091958',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='70',CEN_MOO ='1',CEN_DIS ='คำพระ',CEN_DISID ='370602',CEN_AMP ='หัวตะพาน',CEN_AMPID ='3706',CEN_PROV ='อำนาจเจริญ',CEN_PROVID ='37',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.7591940000',CEN_LONGITUDE ='104.4718050000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='370602',PLANT_SOURCE_DISTRICT ='3706',PLANT_SOURCE_PROVINCE ='37',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-19',last_access_time ='16:23:06',log_status ='e',log_user ='58357_1369',log_date ='2018-08-15',ex_status = 'e',ex_datetime ='2019-06-19 16:23:06',crm_status ='a',crm_datetime ='2018-08-15 18:32:36' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1705136900130';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1705136900130'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1409900391696',OPERATE_DATE ='2017-05-17',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1705116200172',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='ไกรสร',CUS_SNAME ='สมหนองโข่ย',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1987-11-12',CUS_ADD ='110',CUS_MOO ='1',CUS_DIS ='บ้านค้อ',CUS_DISID ='400110',CUS_AMP ='เมืองขอนแก่น',CUS_AMPID ='4001',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0935194745',CUS_MOBILE ='0935194745',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='110',CEN_MOO ='1',CEN_DIS ='บ้านค้อ',CEN_DISID ='400110',CEN_AMP ='เมืองขอนแก่น',CEN_AMPID ='4001',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.5657830000',CEN_LONGITUDE ='102.7619930000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400110',PLANT_SOURCE_DISTRICT ='4001',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2017-05-17',last_access_time ='14:41:51',log_status ='e',log_user ='62831_bms',log_date ='2019-05-08',ex_status = 'e',ex_datetime ='2017-05-17 15:00:39',crm_status ='a',crm_datetime ='2017-05-17 14:35:53' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1705116200172';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1705116200172'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300157021',OPERATE_DATE ='2017-05-22',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1705115500226',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='อุดม',CUS_SNAME ='ไชยทำ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1955-01-01',CUS_ADD ='38',CUS_MOO ='9',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0861562183',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='38',CEN_MOO ='9',CEN_DIS ='นาดี',CEN_DISID ='250301',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.1339120000',CEN_LONGITUDE ='101.7979430000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-22',last_access_time ='13:30:49',log_status ='e',log_user ='50232_1155',log_date ='2018-08-08',ex_status = 'e',ex_datetime ='2018-11-22 13:30:49',crm_status ='a',crm_datetime ='2017-05-22 09:13:48' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1705115500226';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1705115500226'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3560200483412',OPERATE_DATE ='2017-05-26',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1705105000263',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='นิรันดร์',CUS_SNAME ='ฉาไธสง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1957-01-30',CUS_ADD ='133/16',CUS_MOO ='7',CUS_DIS ='ล้อมแรด',CUS_DISID ='520801',CUS_AMP ='เถิน',CUS_AMPID ='5208',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='0',CUS_TEL ='0992382229',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='133/16',CEN_MOO ='7',CEN_DIS ='ล้อมแรด',CEN_DISID ='520801',CEN_AMP ='เถิน',CEN_AMPID ='5208',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.6139200000',CEN_LONGITUDE ='99.1952130000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-31',last_access_time ='17:57:15',log_status ='e',log_user ='63922_1050',log_date ='2018-05-31',ex_status = 'e',ex_datetime ='2018-05-31 17:57:15',crm_status ='a',crm_datetime ='2018-05-31 17:55:08' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1705105000263';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1705105000263'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3521100214518',OPERATE_DATE ='2017-06-22',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1706105000152',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อนุสรณ์',CUS_SNAME ='จันทร์ทอง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1958-01-24',CUS_ADD ='94',CUS_MOO ='12',CUS_DIS ='สบปราบ',CUS_DISID ='521101',CUS_AMP ='สบปราบ',CUS_AMPID ='5211',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='52170',CUS_TEL ='0923591732',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='94',CEN_MOO ='12',CEN_DIS ='สบปราบ',CEN_DISID ='521101',CEN_AMP ='สบปราบ',CEN_AMPID ='5211',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='52170',CEN_TEL ='',CEN_LATITUDE ='17.8808200000',CEN_LONGITUDE ='99.3376920000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-04-29',last_access_time ='23:24:01',log_status ='e',log_user ='63922_1612',log_date ='2017-07-15',ex_status = 'e',ex_datetime ='2018-04-29 23:30:46',crm_status ='a',crm_datetime ='2017-07-15 14:51:08' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1706105000152';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1706105000152'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400700001655',OPERATE_DATE ='2017-07-05',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1707116200041',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมยงค์',CUS_SNAME ='กงทา',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1964-10-14',CUS_ADD ='23',CUS_MOO ='10',CUS_DIS ='ท่ากระเสริม',CUS_DISID ='400710',CUS_AMP ='น้ำพอง',CUS_AMPID ='4007',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0995367332',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='23',CEN_MOO ='10',CEN_DIS ='น้ำพอง',CEN_DISID ='400701',CEN_AMP ='น้ำพอง',CEN_AMPID ='4007',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.7519480000',CEN_LONGITUDE ='102.8210450000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-16',last_access_time ='16:24:56',log_status ='a',log_user ='63916_1162',log_date ='2017-07-05',ex_status = 'e',ex_datetime ='2018-06-16 16:24:56',crm_status ='a',crm_datetime ='2017-07-05 09:45:44' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1707116200041';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1707116200041'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900102501',OPERATE_DATE ='2017-09-11',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1709136900153',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='สมผัด',CUS_SNAME ='ลาดหนองขุ่น',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='0000-00-00',CUS_ADD ='9',CUS_MOO ='4',CUS_DIS ='กกโพธิ์',CUS_DISID ='450904',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='9',CEN_MOO ='4',CEN_DIS ='กกโพธิ์',CEN_DISID ='450904',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2752410000',CEN_LONGITUDE ='104.0913390000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='0.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-20',last_access_time ='15:05:40',log_status ='a',log_user ='58357_1369',log_date ='2017-09-11',ex_status = 'e',ex_datetime ='2018-10-20 15:05:40',crm_status ='a',crm_datetime ='2017-09-11 16:09:56' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1709136900153';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1709136900153'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450200541821',OPERATE_DATE ='2017-10-04',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1710136900058',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประสารชัย',CUS_SNAME ='พรหมบุตร',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-05-15',CUS_ADD ='221',CUS_MOO ='6',CUS_DIS ='กำแพง',CUS_DISID ='450208',CUS_AMP ='เกษตรวิสัย',CUS_AMPID ='4502',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='221',CEN_MOO ='6',CEN_DIS ='กำแพง',CEN_DISID ='450208',CEN_AMP ='เกษตรวิสัย',CEN_AMPID ='4502',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.5431720000',CEN_LONGITUDE ='103.5329250000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='1.00',PLANT_SOURCE_SUBDISTRICT ='',PLANT_SOURCE_DISTRICT ='',PLANT_SOURCE_PROVINCE ='',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-28',last_access_time ='13:56:52',log_status ='a',log_user ='58357_1369',log_date ='2017-10-04',ex_status = 'e',ex_datetime ='2018-05-28 13:56:52',crm_status ='a',crm_datetime ='2017-10-04 11:18:54' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1710136900058';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1710136900058'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700113984',OPERATE_DATE ='2017-10-25',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1710136900336',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วัฒนา',CUS_SNAME ='อาจะ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1981-01-08',CUS_ADD ='42',CUS_MOO ='6',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0935014282',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='42',CEN_MOO ='6',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-01-22',last_access_time ='10:05:10',log_status ='e',log_user ='65372_1227',log_date ='2018-07-04',ex_status = 'e',ex_datetime ='2019-01-22 10:05:10',crm_status ='a',crm_datetime ='2018-07-04 20:37:30' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1710136900336';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1710136900336'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900158787',OPERATE_DATE ='2017-12-15',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1712136900290',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมรัก',CUS_SNAME ='มณีแผลง',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1974-01-01',CUS_ADD ='63',CUS_MOO ='6',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='63',CEN_MOO ='6',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='1.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-11',last_access_time ='13:54:47',log_status ='a',log_user ='58357_1369',log_date ='2017-12-15',ex_status = 'e',ex_datetime ='2018-07-11 13:54:47',crm_status ='a',crm_datetime ='2017-12-15 14:22:41' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1712136900290';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1712136900290'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1450500118749',OPERATE_DATE ='2018-05-05',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700041',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='พันธวิศ',CUS_SNAME ='กลางบัว',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1988-10-12',CUS_ADD ='32',CUS_MOO ='13',CUS_DIS ='เมืองน้อย',CUS_DISID ='450517',CUS_AMP ='ธวัชบุรี',CUS_AMPID ='4505',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45170',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='32',CEN_MOO ='13',CEN_DIS ='เมืองน้อย',CEN_DISID ='450517',CEN_AMP ='ธวัชบุรี',CEN_AMPID ='4505',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45170',CEN_TEL ='',CEN_LATITUDE ='15.9748620000',CEN_LONGITUDE ='103.7771560000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='450517',PLANT_SOURCE_DISTRICT ='4505',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-05',last_access_time ='11:21:27',log_status ='e',log_user ='65378_1227',log_date ='2018-05-26',ex_status = 'e',ex_datetime ='2018-05-05 11:30:17',crm_status ='a',crm_datetime ='2018-05-26 16:35:26' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700041';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700041'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3301300094399',OPERATE_DATE ='2018-01-12',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1801116200230',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุระ',CUS_SNAME ='นาทุ่งหมื่น',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-03-19',CUS_ADD ='15',CUS_MOO ='4',CUS_DIS ='เขื่อน',CUS_DISID ='440310',CUS_AMP ='โกสุมพิสัย',CUS_AMPID ='4403',CUS_PROV ='มหาสารคาม',CUS_PROVID ='44',CUS_POST ='44140',CUS_TEL ='0819747407',CUS_MOBILE ='0819747407',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='15',CEN_MOO ='4',CEN_DIS ='เขื่อน',CEN_DISID ='440310',CEN_AMP ='โกสุมพิสัย',CEN_AMPID ='4403',CEN_PROV ='มหาสารคาม',CEN_PROVID ='44',CEN_POST ='44140',CEN_TEL ='',CEN_LATITUDE ='16.3366130000',CEN_LONGITUDE ='103.0977630000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='440310',PLANT_SOURCE_DISTRICT ='4403',PLANT_SOURCE_PROVINCE ='44',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-15',last_access_time ='14:40:20',log_status ='e',log_user ='56307_1162',log_date ='2018-01-12',ex_status = 'e',ex_datetime ='2018-11-15 14:40:20',crm_status ='a',crm_datetime ='2018-01-12 11:38:40' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1801116200230';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1801116200230'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1160100218447',OPERATE_DATE ='2018-01-26',DOC_NO ='',C_TYPE_CODE ='1351',SUB_BRANCH_ID ='',CUS_ID ='M-1801135100474',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ณัฐวรรณ',CUS_SNAME ='เอี่ยมศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='0000-00-00',CUS_ADD ='855',CUS_MOO ='1',CUS_DIS ='หัวทะเล',CUS_DISID ='300111',CUS_AMP ='เมืองนครราชสีมา',CUS_AMPID ='3001',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='855',CEN_MOO ='1',CEN_DIS ='หัวทะเล',CEN_DISID ='300111',CEN_AMP ='เมืองนครราชสีมา',CEN_AMPID ='3001',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.9593800000',CEN_LONGITUDE ='102.1292500000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='1.00',PLANT_SOURCE_SUBDISTRICT ='300111',PLANT_SOURCE_DISTRICT ='3001',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-03-26',last_access_time ='14:32:14',log_status ='a',log_user ='63917_1351',log_date ='2018-01-26',ex_status = 'e',ex_datetime ='2018-03-26 15:00:38',crm_status ='a',crm_datetime ='2018-01-26 13:38:59' WHERE C_TYPE_CODE = '1351' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1801135100474';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1351' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1801135100474'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5450700039861',OPERATE_DATE ='2018-01-31',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1801136900580',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='2',CUS_NAME ='น้อย',CUS_SNAME ='ชิณคำ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1974-01-09',CUS_ADD ='49',CUS_MOO ='2',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='49',CEN_MOO ='2',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-23',last_access_time ='15:37:28',log_status ='e',log_user ='64058_1227',log_date ='2018-12-28',ex_status = 'e',ex_datetime ='2018-08-23 15:37:28',crm_status ='a',crm_datetime ='2018-01-31 16:10:54' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1801136900580';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1801136900580'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300200217552',OPERATE_DATE ='2018-02-01',DOC_NO ='',C_TYPE_CODE ='1099',SUB_BRANCH_ID ='',CUS_ID ='M-1802109900014',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='เยี่ยม',CUS_SNAME ='ลาดกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='2018-01-01',CUS_ADD ='40',CUS_MOO ='11',CUS_DIS ='เฉลียง',CUS_DISID ='300202',CUS_AMP ='ครบุรี',CUS_AMPID ='3002',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0630454512',CUS_MOBILE ='0900000000',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='40',CEN_MOO ='11',CEN_DIS ='เฉลียง',CEN_DISID ='300202',CEN_AMP ='ครบุรี',CEN_AMPID ='3002',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5005020000',CEN_LONGITUDE ='102.2792820000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='300202',PLANT_SOURCE_DISTRICT ='3002',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-24',last_access_time ='16:22:50',log_status ='a',log_user ='60000_1099',log_date ='2018-02-01',ex_status = 'e',ex_datetime ='2018-09-24 16:22:50',crm_status ='a',crm_datetime ='2018-02-01 14:08:10' WHERE C_TYPE_CODE = '1099' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1802109900014';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1099' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1802109900014'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3650101349024',OPERATE_DATE ='2018-02-13',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1802105000221',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ศรณ์',CUS_SNAME ='มูลน้อย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1956-04-07',CUS_ADD ='12/2',CUS_MOO ='3',CUS_DIS ='สบปราบ',CUS_DISID ='521101',CUS_AMP ='สบปราบ',CUS_AMPID ='5211',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='52170',CUS_TEL ='0898534252',CUS_MOBILE ='0898534252',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='12/2',CEN_MOO ='3',CEN_DIS ='สบปราบ',CEN_DISID ='521101',CEN_AMP ='สบปราบ',CEN_AMPID ='5211',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='52170',CEN_TEL ='',CEN_LATITUDE ='17.8808200000',CEN_LONGITUDE ='99.3376920000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='520807',PLANT_SOURCE_DISTRICT ='5208',PLANT_SOURCE_PROVINCE ='52',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-26',last_access_time ='12:39:44',log_status ='e',log_user ='63922_1050',log_date ='2018-02-13',ex_status = 'e',ex_datetime ='2018-05-26 12:39:44',crm_status ='a',crm_datetime ='2018-02-13 09:45:57' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1802105000221';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1802105000221'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3301700974124',OPERATE_DATE ='2018-02-15',DOC_NO ='',C_TYPE_CODE ='10',SUB_BRANCH_ID ='',CUS_ID ='M-1802001000254',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สำรอง',CUS_SNAME ='รัตนนท์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='0000-00-00',CUS_ADD ='84',CUS_MOO ='6',CUS_DIS ='สาหร่าย',CUS_DISID ='301704',CUS_AMP ='ชุมพวง',CUS_AMPID ='3017',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0955898864',CUS_MOBILE ='0955898864',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='84',CEN_MOO ='6',CEN_DIS ='สาหร่าย',CEN_DISID ='301704',CEN_AMP ='ชุมพวง',CEN_AMPID ='3017',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.1596250000',CEN_LONGITUDE ='102.7125550000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='301704',PLANT_SOURCE_DISTRICT ='3017',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-18',last_access_time ='10:52:57',log_status ='a',log_user ='45092_10',log_date ='2018-02-15',ex_status = 'e',ex_datetime ='2018-09-18 10:52:57',crm_status ='a',crm_datetime ='2018-02-15 21:10:24' WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1802001000254';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1802001000254'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3301000638431',OPERATE_DATE ='2018-03-15',DOC_NO ='',C_TYPE_CODE ='1637',SUB_BRANCH_ID ='',CUS_ID ='M-1803163700321',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='พิบูล',CUS_SNAME ='กระจ่างโพธิ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-09-24',CUS_ADD ='246',CUS_MOO ='15',CUS_DIS ='ทุ่งเทิง',CUS_DISID ='340706',CUS_AMP ='เดชอุดม',CUS_AMPID ='3407',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='0',CUS_TEL ='0840000000',CUS_MOBILE ='0840000000',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='246',CEN_MOO ='15',CEN_DIS ='ทุ่งเทิง',CEN_DISID ='340706',CEN_AMP ='เดชอุดม',CEN_AMPID ='3407',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.8130560000',CEN_LONGITUDE ='104.8657040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='340706',PLANT_SOURCE_DISTRICT ='3407',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-16',last_access_time ='23:55:20',log_status ='e',log_user ='59346',log_date ='2018-03-15',ex_status = 'e',ex_datetime ='2018-08-16 23:55:20',crm_status ='a',crm_datetime ='2018-03-15 23:15:19' WHERE C_TYPE_CODE = '1637' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1803163700321';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1637' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1803163700321'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3302100365993',OPERATE_DATE ='2018-03-19',DOC_NO ='',C_TYPE_CODE ='1669',SUB_BRANCH_ID ='',CUS_ID ='M-1803166900350',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='คณพศ',CUS_SNAME ='ชูชะรัมย์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1974-09-20',CUS_ADD ='174',CUS_MOO ='10',CUS_DIS ='ตาจง',CUS_DISID ='310603',CUS_AMP ='ละหานทราย',CUS_AMPID ='3106',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='0',CUS_TEL ='0898233133',CUS_MOBILE ='0898233133',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='174',CEN_MOO ='10',CEN_DIS ='ตาจง',CEN_DISID ='310603',CEN_AMP ='ละหานทราย',CEN_AMPID ='3106',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.4190530000',CEN_LONGITUDE ='102.9432680000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='310603',PLANT_SOURCE_DISTRICT ='3106',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-28',last_access_time ='09:53:56',log_status ='e',log_user ='65010_1669',log_date ='2018-03-19',ex_status = 'e',ex_datetime ='2018-05-28 09:53:56',crm_status ='a',crm_datetime ='2018-03-19 16:05:46' WHERE C_TYPE_CODE = '1669' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1803166900350';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1669' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1803166900350'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310300192845',OPERATE_DATE ='2018-03-22',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1803123200401',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ชัยณรงค์',CUS_SNAME ='เสมอภาค',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1973-02-21',CUS_ADD ='81/1',CUS_MOO ='10',CUS_DIS ='บักได',CUS_DISID ='321401',CUS_AMP ='พนมดงรัก',CUS_AMPID ='3214',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='0',CUS_TEL ='0933280745',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='81/1',CEN_MOO ='10',CEN_DIS ='บักได',CEN_DISID ='321401',CEN_AMP ='พนมดงรัก',CEN_AMPID ='3214',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.4177230000',CEN_LONGITUDE ='103.3053020000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='321401',PLANT_SOURCE_DISTRICT ='3214',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-30',last_access_time ='16:00:38',log_status ='a',log_user ='60436_1232',log_date ='2018-03-22',ex_status = 'e',ex_datetime ='2019-06-30 16:00:38',crm_status ='a',crm_datetime ='2018-03-22 15:01:26' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1803123200401';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1803123200401'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3439900090773',OPERATE_DATE ='2018-03-31',DOC_NO ='',C_TYPE_CODE ='1686',SUB_BRANCH_ID ='',CUS_ID ='M-1803168600590',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมคิด',CUS_SNAME ='ริมโพธิ์เงิน',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1970-12-21',CUS_ADD ='88',CUS_MOO ='1',CUS_DIS ='สร้างคอม',CUS_DISID ='412001',CUS_AMP ='สร้างคอม',CUS_AMPID ='4120',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0815929988',CUS_MOBILE ='0815929988',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='88',CEN_MOO ='1',CEN_DIS ='สร้างคอม',CEN_DISID ='412001',CEN_AMP ='สร้างคอม',CEN_AMPID ='4120',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.8254900000',CEN_LONGITUDE ='103.0884610000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='412002',PLANT_SOURCE_DISTRICT ='4120',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-01-30',last_access_time ='09:40:59',log_status ='a',log_user ='63682_1686',log_date ='2018-03-31',ex_status = 'e',ex_datetime ='2019-01-30 09:40:59',crm_status ='a',crm_datetime ='2018-03-31 12:11:02' WHERE C_TYPE_CODE = '1686' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1803168600590';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1686' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1803168600590'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3200400317144',OPERATE_DATE ='2018-04-19',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1804146700392',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='4',CUS_NAME ='ระบายศรี',CUS_SNAME ='ฝ่ายทะแสง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1949-06-04',CUS_ADD ='40',CUS_MOO ='4',CUS_DIS ='ท่ากระดาน',CUS_DISID ='240802',CUS_AMP ='สนามชัยเขต',CUS_AMPID ='2408',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='00000000000',CUS_MOBILE ='0863354338',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='40',CEN_MOO ='4',CEN_DIS ='ท่ากระดาน',CEN_DISID ='240802',CEN_AMP ='สนามชัยเขต',CEN_AMPID ='2408',CEN_PROV ='ฉะเชิงเทรา',CEN_PROVID ='24',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.6192950000',CEN_LONGITUDE ='101.6880800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='3',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='240802',PLANT_SOURCE_DISTRICT ='2408',PLANT_SOURCE_PROVINCE ='24',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-05',last_access_time ='15:48:22',log_status ='e',log_user ='50582_1467',log_date ='2018-04-19',ex_status = 'e',ex_datetime ='2018-10-05 15:48:22',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1804146700392';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1804146700392'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1450700186250',OPERATE_DATE ='2018-04-20',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1804136900411',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุรชัย',CUS_SNAME ='แสงอาวุธ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1992-09-25',CUS_ADD ='77',CUS_MOO ='11',CUS_DIS ='พรมสวรรค์',CUS_DISID ='450711',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0652492204',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='77',CEN_MOO ='11',CEN_DIS ='พรมสวรรค์',CEN_DISID ='450711',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1976960000',CEN_LONGITUDE ='104.0719410000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450711',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-19',last_access_time ='16:20:36',log_status ='a',log_user ='58357_1369',log_date ='2018-04-20',ex_status = 'e',ex_datetime ='2019-06-19 16:20:36',crm_status ='a',crm_datetime ='2018-04-20 10:11:24' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1804136900411';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1804136900411'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700392310',OPERATE_DATE ='2018-04-21',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1804122700427',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='วันเพ็ญ',CUS_SNAME ='สาสุนันท์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-10-26',CUS_ADD ='21',CUS_MOO ='9',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0854572022',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='21',CEN_MOO ='9',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-05',last_access_time ='11:59:31',log_status ='a',log_user ='65272_1227',log_date ='2018-04-21',ex_status = 'e',ex_datetime ='2019-07-05 11:59:31',crm_status ='a',crm_datetime ='2018-04-21 08:49:33' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1804122700427';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1804122700427'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3301701117853',OPERATE_DATE ='2018-04-24',DOC_NO ='',C_TYPE_CODE ='1729',SUB_BRANCH_ID ='',CUS_ID ='M-1804172900489',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='แสงจันทร์',CUS_SNAME ='มีภักดี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='0000-00-00',CUS_ADD ='125',CUS_MOO ='4',CUS_DIS ='ขุย',CUS_DISID ='302901',CUS_AMP ='ลำทะเมนชัย',CUS_AMPID ='3029',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0970351535',CUS_MOBILE ='0970351535',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='125',CEN_MOO ='4',CEN_DIS ='ขุย',CEN_DISID ='302901',CEN_AMP ='ลำทะเมนชัย',CEN_AMPID ='3029',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.3477620000',CEN_LONGITUDE ='102.8855900000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302901',PLANT_SOURCE_DISTRICT ='3029',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-02-15',last_access_time ='09:55:39',log_status ='a',log_user ='sr_1729',log_date ='2018-04-24',ex_status = 'e',ex_datetime ='2019-02-15 09:55:39',crm_status ='a',crm_datetime ='2018-04-24 20:35:09' WHERE C_TYPE_CODE = '1729' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1804172900489';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1729' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1804172900489'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250200559012',OPERATE_DATE ='2018-04-27',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1804115500516',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทองแปลง',CUS_SNAME ='โสพรม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1955-09-09',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='หนองกี่',CUS_DISID ='250211',CUS_AMP ='กบินทร์บุรี',CUS_AMPID ='2502',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='หนองกี่',CEN_DISID ='250211',CEN_AMP ='กบินทร์บุรี',CEN_AMPID ='2502',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0639860000',CEN_LONGITUDE ='101.8109890000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250211',PLANT_SOURCE_DISTRICT ='2502',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-26',last_access_time ='11:45:18',log_status ='e',log_user ='55496',log_date ='2018-04-27',ex_status = 'e',ex_datetime ='2018-05-26 11:45:18',crm_status ='a',crm_datetime ='2018-04-27 11:42:18' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1804115500516';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1804115500516'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1250200128082',OPERATE_DATE ='2018-05-05',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1805115500040',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ศรานนท์',CUS_SNAME ='รักศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1989-08-22',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='หนองกี่',CUS_DISID ='250211',CUS_AMP ='กบินทร์บุรี',CUS_AMPID ='2502',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='หนองกี่',CEN_DISID ='250211',CEN_AMP ='กบินทร์บุรี',CEN_AMPID ='2502',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0639860000',CEN_LONGITUDE ='101.8109890000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250201',PLANT_SOURCE_DISTRICT ='2502',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-04-06',last_access_time ='13:53:14',log_status ='a',log_user ='55496',log_date ='2018-05-05',ex_status = 'e',ex_datetime ='2019-04-06 13:53:14',crm_status ='a',crm_datetime ='2018-05-05 10:02:28' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500040';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500040'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451000687628',OPERATE_DATE ='2018-05-05',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700042',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='บุญเพ็ง',CUS_SNAME ='ประทุมศาลา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-07-17',CUS_ADD ='140',CUS_MOO ='5',CUS_DIS ='ชุมพร',CUS_DISID ='451502',CUS_AMP ='เมยวดี',CUS_AMPID ='4515',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45250',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='140',CEN_MOO ='5',CEN_DIS ='ชุมพร',CEN_DISID ='451502',CEN_AMP ='เมยวดี',CEN_AMPID ='4515',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45250',CEN_TEL ='',CEN_LATITUDE ='16.3575330000',CEN_LONGITUDE ='104.0921970000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='451502',PLANT_SOURCE_DISTRICT ='4515',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-15',last_access_time ='12:33:32',log_status ='a',log_user ='56714_1227',log_date ='2018-05-05',ex_status = 'e',ex_datetime ='2019-07-15 12:33:32',crm_status ='a',crm_datetime ='2018-05-05 13:07:01' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700042';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700042'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3302200078295',OPERATE_DATE ='2018-05-09',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1805172700097',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สิน',CUS_SNAME ='จันทร์สุวรรณ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1957-11-22',CUS_ADD ='29',CUS_MOO ='8',CUS_DIS ='ลุงเขว้า',CUS_DISID ='302207',CUS_AMP ='หนองบุนนาก',CUS_AMPID ='3022',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30410',CUS_TEL ='0852068935',CUS_MOBILE ='0852068935',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='29',CEN_MOO ='8',CEN_DIS ='ลุงเขว้า',CEN_DISID ='302207',CEN_AMP ='หนองบุนนาก',CEN_AMPID ='3022',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30410',CEN_TEL ='',CEN_LATITUDE ='14.8173710000',CEN_LONGITUDE ='102.3623660000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='302207',PLANT_SOURCE_DISTRICT ='3022',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-09',last_access_time ='10:23:27',log_status ='a',log_user ='sr_1727',log_date ='2018-05-09',ex_status = 'e',ex_datetime ='2018-05-09 10:30:23',crm_status ='a',crm_datetime ='2018-05-09 10:14:57' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805172700097';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805172700097'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3210600258044',OPERATE_DATE ='2018-05-09',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1805115500105',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมร',CUS_SNAME ='จันทร์พรหม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1939-05-01',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-20',last_access_time ='15:39:13',log_status ='a',log_user ='50180_1155',log_date ='2018-05-09',ex_status = 'e',ex_datetime ='2018-07-20 15:39:13',crm_status ='a',crm_datetime ='2018-05-09 15:32:34' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500105';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500105'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3200700253737',OPERATE_DATE ='2018-05-10',DOC_NO ='',C_TYPE_CODE ='1115',SUB_BRANCH_ID ='',CUS_ID ='M-1805111500113',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ปราโมท',CUS_SNAME ='สุขนิยม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1956-12-21',CUS_ADD ='9/2',CUS_MOO ='3',CUS_DIS ='เกาะจันทร์',CUS_DISID ='201101',CUS_AMP ='เกาะจันทร์',CUS_AMPID ='2011',CUS_PROV ='ชลบุรี',CUS_PROVID ='20',CUS_POST ='0',CUS_TEL ='0819836766',CUS_MOBILE ='0819836766',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='9/2',CEN_MOO ='3',CEN_DIS ='เกาะจันทร์',CEN_DISID ='201101',CEN_AMP ='เกาะจันทร์',CEN_AMPID ='2011',CEN_PROV ='ชลบุรี',CEN_PROVID ='20',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.4150020000',CEN_LONGITUDE ='101.4024350000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='201101',PLANT_SOURCE_DISTRICT ='2011',PLANT_SOURCE_PROVINCE ='20',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-22',last_access_time ='16:28:58',log_status ='e',log_user ='49692_1473',log_date ='2018-10-22',ex_status = 'e',ex_datetime ='2018-10-22 16:28:58',crm_status ='a',crm_datetime ='2018-10-22 16:25:28' WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805111500113';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805111500113'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451200102925',OPERATE_DATE ='2018-05-10',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700115',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='แดง',CUS_SNAME ='วงศ์เสนา',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1962-12-02',CUS_ADD ='119',CUS_MOO ='8',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0862317663',CUS_MOBILE ='0862317663',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='119',CEN_MOO ='8',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-21',last_access_time ='15:49:44',log_status ='a',log_user ='65272_1227',log_date ='2018-05-10',ex_status = 'e',ex_datetime ='2018-05-21 15:49:44',crm_status ='a',crm_datetime ='2018-05-10 17:44:31' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700115';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700115'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700130480',OPERATE_DATE ='2018-05-11',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700121',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สำรวย',CUS_SNAME ='รัตนวงศ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-11-13',CUS_ADD ='118',CUS_MOO ='8',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0611358746',CUS_MOBILE ='0611358746',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='118',CEN_MOO ='8',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-05-18',last_access_time ='10:12:35',log_status ='a',log_user ='65272_1227',log_date ='2018-05-11',ex_status = 'e',ex_datetime ='2019-05-18 10:12:35',crm_status ='a',crm_datetime ='2018-05-11 13:34:39' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700121';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700121'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900108381',OPERATE_DATE ='2018-05-14',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700147',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='มงคล',CUS_SNAME ='ลาดหนองขุ่น',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1957-12-14',CUS_ADD ='86',CUS_MOO ='12',CUS_DIS ='กกโพธิ์',CUS_DISID ='450904',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45210',CUS_TEL ='',CUS_MOBILE ='0934650492',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='86',CEN_MOO ='12',CEN_DIS ='กกโพธิ์',CEN_DISID ='450904',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45210',CEN_TEL ='',CEN_LATITUDE ='16.2752410000',CEN_LONGITUDE ='104.0913390000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='450904',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-02-13',last_access_time ='07:47:17',log_status ='a',log_user ='56714_1227',log_date ='2018-05-14',ex_status = 'e',ex_datetime ='2019-02-13 07:47:17',crm_status ='a',crm_datetime ='2018-05-14 11:45:45' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700147';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700147'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400300123192',OPERATE_DATE ='2018-05-14',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1805136900161',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สำราญ',CUS_SNAME ='เพ็ชรเวียง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-08-28',CUS_ADD ='156',CUS_MOO ='8',CUS_DIS ='สระนกแก้ว',CUS_DISID ='450712',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='156',CEN_MOO ='8',CEN_DIS ='สระนกแก้ว',CEN_DISID ='450712',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2902360000',CEN_LONGITUDE ='103.9760680000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450712',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-21',last_access_time ='20:37:33',log_status ='a',log_user ='58357_1369',log_date ='2018-05-14',ex_status = 'e',ex_datetime ='2018-05-21 20:37:33',crm_status ='a',crm_datetime ='2018-05-14 17:21:13' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805136900161';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805136900161'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300042283',OPERATE_DATE ='2018-05-16',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1805115500220',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สามารถ',CUS_SNAME ='อบเครือ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-05-11',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-20',last_access_time ='08:12:10',log_status ='a',log_user ='55496',log_date ='2018-05-16',ex_status = 'e',ex_datetime ='2018-12-20 08:12:10',crm_status ='a',crm_datetime ='2018-05-16 10:49:49' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500220';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500220'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3410200238915',OPERATE_DATE ='2018-05-17',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1805121600275',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ธีรพงษ์',CUS_SNAME ='สุขรมย์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1954-08-23',CUS_ADD ='83',CUS_MOO ='6',CUS_DIS ='บุญทัน',CUS_DISID ='390507',CUS_AMP ='สุวรรณคูหา',CUS_AMPID ='3905',CUS_PROV ='หนองบัวลำภู',CUS_PROVID ='39',CUS_POST ='0',CUS_TEL ='0960851303',CUS_MOBILE ='0960851303',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='83',CEN_MOO ='6',CEN_DIS ='บุญทัน',CEN_DISID ='390507',CEN_AMP ='สุวรรณคูหา',CEN_AMPID ='3905',CEN_PROV ='หนองบัวลำภู',CEN_PROVID ='39',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.5576280000',CEN_LONGITUDE ='102.1522520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='390507',PLANT_SOURCE_DISTRICT ='3905',PLANT_SOURCE_PROVINCE ='39',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-17',last_access_time ='03:30:08',log_status ='a',log_user ='34731_1216',log_date ='2018-05-17',ex_status = 'e',ex_datetime ='2018-05-17 03:30:08',crm_status ='a',crm_datetime ='2018-05-17 02:59:22' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600275';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600275'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3301700287291',OPERATE_DATE ='2018-05-17',DOC_NO ='',C_TYPE_CODE ='10',SUB_BRANCH_ID ='',CUS_ID ='M-1805001000289',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประทีป',CUS_SNAME ='สง่าศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-05-03',CUS_ADD ='64/5',CUS_MOO ='1',CUS_DIS ='ดงใหญ่',CUS_DISID ='301510',CUS_AMP ='พิมาย',CUS_AMPID ='3015',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0862614657',CUS_MOBILE ='0813728304',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='64/5',CEN_MOO ='1',CEN_DIS ='ดงใหญ่',CEN_DISID ='301510',CEN_AMP ='พิมาย',CEN_AMPID ='3015',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.3629910000',CEN_LONGITUDE ='102.6329040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='301510',PLANT_SOURCE_DISTRICT ='3015',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-17',last_access_time ='10:09:07',log_status ='e',log_user ='45092_10',log_date ='2018-05-17',ex_status = 'e',ex_datetime ='2018-05-17 10:09:07',crm_status ='a',crm_datetime ='2018-05-17 10:01:57' WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805001000289';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805001000289'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5450700049298',OPERATE_DATE ='2018-05-17',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700293',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='มงคล',CUS_SNAME ='คามวัลย์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1938-12-15',CUS_ADD ='10',CUS_MOO ='4',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0800489241',CUS_MOBILE ='0655193112',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='10',CEN_MOO ='4',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-17',last_access_time ='10:31:22',log_status ='a',log_user ='65272_1227',log_date ='2018-05-17',ex_status = 'e',ex_datetime ='2018-05-17 10:31:22',crm_status ='a',crm_datetime ='2018-05-17 10:15:12' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700293';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700293'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310700149696',OPERATE_DATE ='2018-05-17',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1805123200307',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วิโรจน์',CUS_SNAME ='พิมพ์รัตน์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1967-11-10',CUS_ADD ='114',CUS_MOO ='3',CUS_DIS ='ไพศาล',CUS_DISID ='310713',CUS_AMP ='ประโคนชัย',CUS_AMPID ='3107',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31140',CUS_TEL ='0984758443',CUS_MOBILE ='0984758443',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='114',CEN_MOO ='3',CEN_DIS ='ไพศาล',CEN_DISID ='310713',CEN_AMP ='ประโคนชัย',CEN_AMPID ='3107',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31140',CEN_TEL ='',CEN_LATITUDE ='14.6453750000',CEN_LONGITUDE ='103.2103730000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='310713',PLANT_SOURCE_DISTRICT ='3107',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-21',last_access_time ='11:23:48',log_status ='e',log_user ='65369_1232',log_date ='2018-06-13',ex_status = 'e',ex_datetime ='2018-11-21 11:23:48',crm_status ='a',crm_datetime ='2018-06-13 09:50:37' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805123200307';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805123200307'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1469900202150',OPERATE_DATE ='2018-05-17',DOC_NO ='',C_TYPE_CODE ='1055',SUB_BRANCH_ID ='',CUS_ID ='M-1805105500331',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ธิดารัตน์',CUS_SNAME ='ฟุ่มเฟือง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1992-06-06',CUS_ADD ='23',CUS_MOO ='1',CUS_DIS ='โพนทอง',CUS_DISID ='460119',CUS_AMP ='เมืองกาฬสินธุ์',CUS_AMPID ='4601',CUS_PROV ='กาฬสินธุ์',CUS_PROVID ='46',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='23',CEN_MOO ='1',CEN_DIS ='โพนทอง',CEN_DISID ='460119',CEN_AMP ='เมืองกาฬสินธุ์',CEN_AMPID ='4601',CEN_PROV ='กาฬสินธุ์',CEN_PROVID ='46',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.4769130000',CEN_LONGITUDE ='103.5516360000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='460119',PLANT_SOURCE_DISTRICT ='4601',PLANT_SOURCE_PROVINCE ='46',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-04',last_access_time ='13:57:49',log_status ='e',log_user ='65205_1055',log_date ='2018-05-24',ex_status = 'e',ex_datetime ='2018-06-04 13:57:49',crm_status ='a',crm_datetime ='2018-05-24 14:27:38' WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805105500331';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805105500331'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1450900013146',OPERATE_DATE ='2018-05-17',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700333',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='อรุณ',CUS_SNAME ='ผ่องใส',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1984-12-01',CUS_ADD ='53',CUS_MOO ='6',CUS_DIS ='กกโพธิ์',CUS_DISID ='450904',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0610378373',CUS_MOBILE ='0610378373',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='53',CEN_MOO ='6',CEN_DIS ='กกโพธิ์',CEN_DISID ='450904',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2752410000',CEN_LONGITUDE ='104.0913390000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450904',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-17',last_access_time ='15:46:00',log_status ='e',log_user ='65372_1227',log_date ='2018-05-17',ex_status = 'e',ex_datetime ='2018-05-17 15:46:00',crm_status ='a',crm_datetime ='2018-05-17 15:37:31' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700333';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700333'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5250300019016',OPERATE_DATE ='2018-06-18',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1806115500224',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทองอินทร์',CUS_SNAME ='สุขประเสริฐ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1955-12-31',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0849401160',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-18',last_access_time ='17:42:22',log_status ='a',log_user ='55496',log_date ='2018-06-18',ex_status = 'e',ex_datetime ='2018-06-18 17:42:22',crm_status ='a',crm_datetime ='2018-06-18 17:40:42' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500224';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500224'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1300300102611',OPERATE_DATE ='2018-07-19',DOC_NO ='',C_TYPE_CODE ='1720',SUB_BRANCH_ID ='',CUS_ID ='M-1807172000214',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='โรจน์ศักดิ์',CUS_SNAME ='จั่นกลาง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1993-02-24',CUS_ADD ='187/2',CUS_MOO ='3',CUS_DIS ='โคกมะม่วง',CUS_DISID ='311204',CUS_AMP ='ปะคำ',CUS_AMPID ='3112',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31220',CUS_TEL ='0884770170',CUS_MOBILE ='0884770170',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='187/2',CEN_MOO ='3',CEN_DIS ='โคกมะม่วง',CEN_DISID ='311204',CEN_AMP ='ปะคำ',CEN_AMPID ='3112',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31220',CEN_TEL ='',CEN_LATITUDE ='14.4346800000',CEN_LONGITUDE ='102.6226040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='311204',PLANT_SOURCE_DISTRICT ='3112',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-28',last_access_time ='11:39:36',log_status ='e',log_user ='65187_1720',log_date ='2018-07-20',ex_status = 'e',ex_datetime ='2018-09-28 11:39:36',crm_status ='a',crm_datetime ='2018-07-20 11:44:54' WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172000214';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172000214'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300151309',OPERATE_DATE ='2018-08-14',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1808146700124',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ขวัญมั่น',CUS_SNAME ='เพ็งสำเริง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-11-05',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='ผักขะ',CUS_DISID ='270503',CUS_AMP ='วัฒนานคร',CUS_AMPID ='2705',CUS_PROV ='สระแก้ว',CUS_PROVID ='27',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0830351909',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='ผักขะ',CEN_DISID ='270503',CEN_AMP ='วัฒนานคร',CEN_AMPID ='2705',CEN_PROV ='สระแก้ว',CEN_PROVID ='27',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.7227930000',CEN_LONGITUDE ='102.3815920000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='270503',PLANT_SOURCE_DISTRICT ='2705',PLANT_SOURCE_PROVINCE ='27',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-14',last_access_time ='14:26:40',log_status ='e',log_user ='55496_1467',log_date ='2018-08-14',ex_status = 'e',ex_datetime ='2018-08-14 14:26:40',crm_status ='a',crm_datetime ='2018-08-14 14:25:49' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808146700124';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808146700124'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300120705',OPERATE_DATE ='2018-05-18',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1805115500366',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ธวัชชัย',CUS_SNAME ='พระชนะสงคราม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-05-10',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-12',last_access_time ='13:54:29',log_status ='a',log_user ='55496',log_date ='2018-05-18',ex_status = 'e',ex_datetime ='2018-07-12 13:54:29',crm_status ='a',crm_datetime ='2018-05-18 09:55:46' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500366';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500366'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1309900397938',OPERATE_DATE ='2018-08-14',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1808172700121',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วิศรุต',CUS_SNAME ='โกวิทชาคร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1988-06-11',CUS_ADD ='13',CUS_MOO ='1',CUS_DIS ='ท่าอ่าง',CUS_DISID ='300703',CUS_AMP ='โชคชัย',CUS_AMPID ='3007',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30190',CUS_TEL ='0902372444',CUS_MOBILE ='0902372444',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='13',CEN_MOO ='1',CEN_DIS ='ท่าอ่าง',CEN_DISID ='300703',CEN_AMP ='โชคชัย',CEN_AMPID ='3007',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30190',CEN_TEL ='',CEN_LATITUDE ='14.8333020000',CEN_LONGITUDE ='102.1961980000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300703',PLANT_SOURCE_DISTRICT ='3007',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-15',last_access_time ='09:42:28',log_status ='a',log_user ='sr_1727',log_date ='2018-08-14',ex_status = 'e',ex_datetime ='2018-08-15 09:42:28',crm_status ='a',crm_datetime ='2018-08-14 12:03:37' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172700121';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172700121'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3410600835261',OPERATE_DATE ='2018-07-09',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1807116200078',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='วลัยพร',CUS_SNAME ='นิคม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-03-10',CUS_ADD ='265',CUS_MOO ='9',CUS_DIS ='หนองเม็ก',CUS_DISID ='410602',CUS_AMP ='หนองหาน',CUS_AMPID ='4106',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0947836388',CUS_MOBILE ='0947836388',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='265',CEN_MOO ='9',CEN_DIS ='หนองเม็ก',CEN_DISID ='410602',CEN_AMP ='หนองหาน',CEN_AMPID ='4106',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.3617590000',CEN_LONGITUDE ='103.1757830000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='10.00',PLANT_SOURCE_SUBDISTRICT ='410602',PLANT_SOURCE_DISTRICT ='4106',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-14',last_access_time ='10:41:27',log_status ='a',log_user ='56307_1162',log_date ='2018-07-09',ex_status = 'e',ex_datetime ='2018-07-14 10:41:27',crm_status ='a',crm_datetime ='2018-07-09 11:30:16' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200078';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200078'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3471000344411',OPERATE_DATE ='2018-08-15',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700138',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ปราณี',CUS_SNAME ='อินทร์ชัย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-10-05',CUS_ADD ='32',CUS_MOO ='7',CUS_DIS ='ดงหม้อทองใต้',CUS_DISID ='471005',CUS_AMP ='บ้านม่วง',CUS_AMPID ='4710',CUS_PROV ='สกลนคร',CUS_PROVID ='47',CUS_POST ='0',CUS_TEL ='0830233754',CUS_MOBILE ='0830233754',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='32',CEN_MOO ='7',CEN_DIS ='ดงหม้อทองใต้',CEN_DISID ='471005',CEN_AMP ='บ้านม่วง',CEN_AMPID ='4710',CEN_PROV ='สกลนคร',CEN_PROVID ='47',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.9263940000',CEN_LONGITUDE ='103.4215160000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='471005',PLANT_SOURCE_DISTRICT ='4710',PLANT_SOURCE_PROVINCE ='47',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-28',last_access_time ='12:26:31',log_status ='a',log_user ='56714_1227',log_date ='2018-08-15',ex_status = 'e',ex_datetime ='2018-09-28 12:26:31',crm_status ='a',crm_datetime ='2018-08-15 09:27:34' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700138';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700138'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5451000017033',OPERATE_DATE ='2018-05-18',DOC_NO ='',C_TYPE_CODE ='1424',SUB_BRANCH_ID ='',CUS_ID ='M-1805142400354',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='ไชยา',CUS_SNAME ='พรรณวงค์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1977-06-14',CUS_ADD ='4',CUS_MOO ='5',CUS_DIS ='นาแซง',CUS_DISID ='451004',CUS_AMP ='เสลภูมิ',CUS_AMPID ='4510',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45110',CUS_TEL ='0981721076',CUS_MOBILE ='0981721076',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='4',CEN_MOO ='5',CEN_DIS ='นาแซง',CEN_DISID ='451004',CEN_AMP ='เสลภูมิ',CEN_AMPID ='4510',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45110',CEN_TEL ='',CEN_LATITUDE ='16.1340550000',CEN_LONGITUDE ='103.9580440000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451004',PLANT_SOURCE_DISTRICT ='4510',PLANT_SOURCE_PROVINCE ='45',vat_status ='0',type_cus ='1',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-01',last_access_time ='16:24:45',log_status ='e',log_user ='62831_bms',log_date ='2018-06-05',ex_status = 'e',ex_datetime ='2018-06-01 16:24:45',crm_status ='a',crm_datetime ='2018-05-26 17:49:10' WHERE C_TYPE_CODE = '1424' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805142400354';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1424' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805142400354'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300668824',OPERATE_DATE ='2018-05-18',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1805115500364',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ธนวรรธน์์',CUS_SNAME ='สามารถ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1980-10-15',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-19',last_access_time ='15:27:25',log_status ='a',log_user ='55496',log_date ='2018-05-18',ex_status = 'e',ex_datetime ='2018-07-19 15:27:25',crm_status ='a',crm_datetime ='2018-05-18 09:47:49' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500364';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500364'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400700318861',OPERATE_DATE ='2018-05-18',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1805116200370',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ดวงรัตน์',CUS_SNAME ='หันกำแพง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1969-06-13',CUS_ADD ='64',CUS_MOO ='11',CUS_DIS ='บัวใหญ่',CUS_DISID ='400704',CUS_AMP ='น้ำพอง',CUS_AMPID ='4007',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0981257091',CUS_MOBILE ='0807557323',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='64',CEN_MOO ='11',CEN_DIS ='บัวใหญ่',CEN_DISID ='400704',CEN_AMP ='น้ำพอง',CEN_AMPID ='4007',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.6157960000',CEN_LONGITUDE ='102.9439540000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400704',PLANT_SOURCE_DISTRICT ='4007',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-14',last_access_time ='08:33:09',log_status ='e',log_user ='65204_1162',log_date ='2018-05-26',ex_status = 'e',ex_datetime ='2018-06-14 08:33:09',crm_status ='a',crm_datetime ='2018-05-26 13:24:04' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805116200370';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805116200370'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400700320076',OPERATE_DATE ='2018-05-18',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1805116200378',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='เพียง',CUS_SNAME ='แยงคำ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1951-01-06',CUS_ADD ='96',CUS_MOO ='11',CUS_DIS ='บัวใหญ่',CUS_DISID ='400704',CUS_AMP ='น้ำพอง',CUS_AMPID ='4007',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0970501271',CUS_MOBILE ='0642464318',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='96',CEN_MOO ='11',CEN_DIS ='บัวใหญ่',CEN_DISID ='400704',CEN_AMP ='น้ำพอง',CEN_AMPID ='4007',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.6157960000',CEN_LONGITUDE ='102.9439540000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400704',PLANT_SOURCE_DISTRICT ='4007',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-22',last_access_time ='16:22:32',log_status ='a',log_user ='65192_1162',log_date ='2018-05-18',ex_status = 'e',ex_datetime ='2018-06-22 16:22:32',crm_status ='a',crm_datetime ='2018-05-18 11:10:44' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805116200378';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805116200378'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5330400193858',OPERATE_DATE ='2018-05-18',DOC_NO ='',C_TYPE_CODE ='215',SUB_BRANCH_ID ='',CUS_ID ='M-1805021500385',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='โอภาส',CUS_SNAME ='โทบุดดี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1978-05-01',CUS_ADD ='64/1',CUS_MOO ='14',CUS_DIS ='กระแชง',CUS_DISID ='330414',CUS_AMP ='กันทรลักษ์',CUS_AMPID ='3304',CUS_PROV ='ศรีสะเกษ',CUS_PROVID ='33',CUS_POST ='33110',CUS_TEL ='0990423646',CUS_MOBILE ='0990423646',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='64/1',CEN_MOO ='14',CEN_DIS ='กระแชง',CEN_DISID ='330414',CEN_AMP ='กันทรลักษ์',CEN_AMPID ='3304',CEN_PROV ='ศรีสะเกษ',CEN_PROVID ='33',CEN_POST ='33110',CEN_TEL ='',CEN_LATITUDE ='14.6581630000',CEN_LONGITUDE ='104.5862390000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='330414',PLANT_SOURCE_DISTRICT ='3304',PLANT_SOURCE_PROVINCE ='33',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-30',last_access_time ='23:53:02',log_status ='e',log_user ='59346',log_date ='2018-05-18',ex_status = 'e',ex_datetime ='2018-09-30 23:53:02',crm_status ='a',crm_datetime ='2018-05-18 11:58:28' WHERE C_TYPE_CODE = '215' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805021500385';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '215' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805021500385'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3350800322217',OPERATE_DATE ='2018-05-18',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700389',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อังคาร',CUS_SNAME ='ชายทวีป',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-04-03',CUS_ADD ='10',CUS_MOO ='5',CUS_DIS ='สามแยก',CUS_DISID ='350810',CUS_AMP ='เลิงนกทา',CUS_AMPID ='3508',CUS_PROV ='ยโสธร',CUS_PROVID ='35',CUS_POST ='0',CUS_TEL ='098169960',CUS_MOBILE ='0981699960',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='10',CEN_MOO ='5',CEN_DIS ='สามแยก',CEN_DISID ='350810',CEN_AMP ='เลิงนกทา',CEN_AMPID ='3508',CEN_PROV ='ยโสธร',CEN_PROVID ='35',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2270370000',CEN_LONGITUDE ='104.5537950000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='350810',PLANT_SOURCE_DISTRICT ='3508',PLANT_SOURCE_PROVINCE ='35',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-09',last_access_time ='13:45:56',log_status ='a',log_user ='65372_1227',log_date ='2018-05-18',ex_status = 'e',ex_datetime ='2018-06-09 13:45:56',crm_status ='a',crm_datetime ='2018-05-18 12:10:47' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700389';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700389'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3302200079348',OPERATE_DATE ='2018-05-18',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1805172700418',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สายงาม',CUS_SNAME ='ทุ่งกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-03-08',CUS_ADD ='111',CUS_MOO ='8',CUS_DIS ='ลุงเขว้า',CUS_DISID ='302207',CUS_AMP ='หนองบุนนาก',CUS_AMPID ='3022',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0982399794',CUS_MOBILE ='0982399794',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='111',CEN_MOO ='8',CEN_DIS ='ลุงเขว้า',CEN_DISID ='302207',CEN_AMP ='หนองบุนนาก',CEN_AMPID ='3022',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.8173710000',CEN_LONGITUDE ='102.3623660000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302207',PLANT_SOURCE_DISTRICT ='3022',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-19',last_access_time ='09:03:48',log_status ='a',log_user ='sr_1727',log_date ='2018-05-18',ex_status = 'e',ex_datetime ='2018-05-19 09:03:48',crm_status ='a',crm_datetime ='2018-05-18 15:51:15' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805172700418';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805172700418'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1320500099940',OPERATE_DATE ='2018-05-18',DOC_NO ='',C_TYPE_CODE ='1719',SUB_BRANCH_ID ='',CUS_ID ='M-1805171900433',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมปอง',CUS_SNAME ='พรมมา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1987-04-02',CUS_ADD ='175',CUS_MOO ='3',CUS_DIS ='ปรือ',CUS_DISID ='320504',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32140',CUS_TEL ='0987662231',CUS_MOBILE ='0814353432',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='175',CEN_MOO ='3',CEN_DIS ='ปรือ',CEN_DISID ='320504',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32140',CEN_TEL ='',CEN_LATITUDE ='14.6153120000',CEN_LONGITUDE ='103.2966330000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='320504',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-01-03',last_access_time ='13:53:01',log_status ='e',log_user ='52575_1232',log_date ='2019-01-03',ex_status = 'e',ex_datetime ='2019-01-03 13:53:01',crm_status ='a',crm_datetime ='2019-01-03 13:43:25' WHERE C_TYPE_CODE = '1719' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805171900433';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1719' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805171900433'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1510400100197',OPERATE_DATE ='2018-05-19',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1805105000443',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='เด่นนภา',CUS_SNAME ='สิงห์ตัน',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1988-06-15',CUS_ADD ='73/2',CUS_MOO ='20',CUS_DIS ='นาทราย',CUS_DISID ='510403',CUS_AMP ='ลี้',CUS_AMPID ='5104',CUS_PROV ='ลำพูน',CUS_PROVID ='51',CUS_POST ='0',CUS_TEL ='0819523208',CUS_MOBILE ='0903285421',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='73/2',CEN_MOO ='20',CEN_DIS ='นาทราย',CEN_DISID ='510403',CEN_AMP ='ลี้',CEN_AMPID ='5104',CEN_PROV ='ลำพูน',CEN_PROVID ='51',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.7308650000',CEN_LONGITUDE ='98.9536860000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='510403',PLANT_SOURCE_DISTRICT ='5104',PLANT_SOURCE_PROVINCE ='51',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-12',last_access_time ='16:44:56',log_status ='e',log_user ='62364_1050',log_date ='2018-05-19',ex_status = 'e',ex_datetime ='2018-11-12 16:44:56',crm_status ='a',crm_datetime ='2018-05-19 09:09:17' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805105000443';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805105000443'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451500101843',OPERATE_DATE ='2018-05-19',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700451',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='กงจักร์',CUS_SNAME ='ศรีวะรา',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1960-08-18',CUS_ADD ='152',CUS_MOO ='5',CUS_DIS ='ชุมพร',CUS_DISID ='451502',CUS_AMP ='เมยวดี',CUS_AMPID ='4515',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0810504087',CUS_MOBILE ='0810504087',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='152',CEN_MOO ='5',CEN_DIS ='ชุมพร',CEN_DISID ='451502',CEN_AMP ='เมยวดี',CEN_AMPID ='4515',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3575330000',CEN_LONGITUDE ='104.0921970000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451502',PLANT_SOURCE_DISTRICT ='4515',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-26',last_access_time ='17:33:30',log_status ='e',log_user ='65372_1227',log_date ='2018-05-26',ex_status = 'e',ex_datetime ='2018-05-26 17:33:30',crm_status ='a',crm_datetime ='2018-05-26 16:40:21' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700451';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700451'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300263778',OPERATE_DATE ='2018-05-19',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1805115500459',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='บุญหลาย',CUS_SNAME ='ลาน้อย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-07-20',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='บุพราหมณ์',CUS_DISID ='250306',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='บุพราหมณ์',CEN_DISID ='250306',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.2191260000',CEN_LONGITUDE ='101.9023130000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250306',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-19',last_access_time ='15:13:22',log_status ='a',log_user ='55496',log_date ='2018-05-19',ex_status = 'e',ex_datetime ='2018-05-19 15:13:22',crm_status ='a',crm_datetime ='2018-05-19 10:08:10' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500459';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500459'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700165178',OPERATE_DATE ='2018-05-19',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700462',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='บัวสอน',CUS_SNAME ='กาฬสิทธิ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1960-09-01',CUS_ADD ='37',CUS_MOO ='4',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0957348121',CUS_MOBILE ='0957348121',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='37',CEN_MOO ='4',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-19',last_access_time ='10:55:30',log_status ='e',log_user ='65372_1227',log_date ='2018-05-19',ex_status = 'e',ex_datetime ='2018-05-19 10:55:30',crm_status ='a',crm_datetime ='2018-05-19 10:50:50' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700462';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700462'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3470100637311',OPERATE_DATE ='2018-05-19',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1805136900464',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='เขือง',CUS_SNAME ='หาญมนตรี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1951-01-01',CUS_ADD ='107',CUS_MOO ='9',CUS_DIS ='โนนหอม',CUS_DISID ='470104',CUS_AMP ='เมืองสกลนคร',CUS_AMPID ='4701',CUS_PROV ='สกลนคร',CUS_PROVID ='47',CUS_POST ='0',CUS_TEL ='000000000',CUS_MOBILE ='0611949145',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='107',CEN_MOO ='9',CEN_DIS ='โนนหอม',CEN_DISID ='470104',CEN_AMP ='เมืองสกลนคร',CEN_AMPID ='4701',CEN_PROV ='สกลนคร',CEN_PROVID ='47',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.0526820000',CEN_LONGITUDE ='104.2124460000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='470104',PLANT_SOURCE_DISTRICT ='4701',PLANT_SOURCE_PROVINCE ='47',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-19',last_access_time ='11:38:24',log_status ='a',log_user ='58357_1369',log_date ='2018-05-19',ex_status = 'e',ex_datetime ='2018-05-19 11:38:24',crm_status ='a',crm_datetime ='2018-05-19 11:29:38' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805136900464';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805136900464'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700441019',OPERATE_DATE ='2018-05-19',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700466',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บุญตา',CUS_SNAME ='สารบรรณ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1963-03-11',CUS_ADD ='117',CUS_MOO ='1',CUS_DIS ='วังหลวง',CUS_DISID ='451006',CUS_AMP ='เสลภูมิ',CUS_AMPID ='4510',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0896900393',CUS_MOBILE ='0896900393',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='117',CEN_MOO ='1',CEN_DIS ='วังหลวง',CEN_DISID ='451006',CEN_AMP ='เสลภูมิ',CEN_AMPID ='4510',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.0858980000',CEN_LONGITUDE ='103.9825060000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451006',PLANT_SOURCE_DISTRICT ='4510',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-05',last_access_time ='11:38:27',log_status ='a',log_user ='65372_1227',log_date ='2018-05-19',ex_status = 'e',ex_datetime ='2018-06-05 11:38:27',crm_status ='a',crm_datetime ='2018-05-19 14:22:48' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700466';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700466'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3620300385896',OPERATE_DATE ='2018-05-19',DOC_NO ='',C_TYPE_CODE ='1645',SUB_BRANCH_ID ='',CUS_ID ='M-1805164500467',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='จตุรงค์',CUS_SNAME ='ศรีมันตะ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1976-01-24',CUS_ADD ='222',CUS_MOO ='',CUS_DIS ='คลองลานพัฒนา',CUS_DISID ='620303',CUS_AMP ='คลองลาน',CUS_AMPID ='6203',CUS_PROV ='กำแพงเพชร',CUS_PROVID ='62',CUS_POST ='0',CUS_TEL ='0626900745',CUS_MOBILE ='0626900745',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='222',CEN_MOO ='',CEN_DIS ='คลองลานพัฒนา',CEN_DISID ='620303',CEN_AMP ='คลองลาน',CEN_AMPID ='6203',CEN_PROV ='กำแพงเพชร',CEN_PROVID ='62',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1091530000',CEN_LONGITUDE ='99.3109130000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='620303',PLANT_SOURCE_DISTRICT ='6203',PLANT_SOURCE_PROVINCE ='62',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-19',last_access_time ='17:27:34',log_status ='a',log_user ='52299_1645',log_date ='2018-05-19',ex_status = 'e',ex_datetime ='2018-05-19 17:27:34',crm_status ='a',crm_datetime ='2018-05-19 14:27:04' WHERE C_TYPE_CODE = '1645' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805164500467';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1645' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805164500467'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900054337',OPERATE_DATE ='2018-05-21',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700481',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='นรินทร์นราช',CUS_SNAME ='ประดิษฐบุญ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1964-06-05',CUS_ADD ='183',CUS_MOO ='8',CUS_DIS ='หนองขุ่นใหญ่',CUS_DISID ='450906',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0800080080',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='183',CEN_MOO ='8',CEN_DIS ='หนองขุ่นใหญ่',CEN_DISID ='450906',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2265420000',CEN_LONGITUDE ='104.1445540000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450906',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-21',last_access_time ='08:53:09',log_status ='a',log_user ='65272_1227',log_date ='2018-05-21',ex_status = 'e',ex_datetime ='2018-05-21 08:53:09',crm_status ='a',crm_datetime ='2018-05-21 08:51:14' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700481';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700481'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900113872',OPERATE_DATE ='2018-05-21',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700489',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สวย',CUS_SNAME ='เหลาทอง',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1952-12-15',CUS_ADD ='69',CUS_MOO ='6',CUS_DIS ='กกโพธิ์',CUS_DISID ='450904',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0872454568',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='69',CEN_MOO ='6',CEN_DIS ='กกโพธิ์',CEN_DISID ='450904',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2752410000',CEN_LONGITUDE ='104.0913390000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450904',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-27',last_access_time ='12:07:33',log_status ='a',log_user ='65272_1227',log_date ='2018-05-21',ex_status = 'e',ex_datetime ='2018-05-27 12:07:33',crm_status ='a',crm_datetime ='2018-05-21 09:22:58' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700489';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700489'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310600096485',OPERATE_DATE ='2018-05-21',DOC_NO ='',C_TYPE_CODE ='1735',SUB_BRANCH_ID ='',CUS_ID ='M-1805173500496',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='กล',CUS_SNAME ='นาราช',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1976-10-25',CUS_ADD ='119',CUS_MOO ='20',CUS_DIS ='ตาจง',CUS_DISID ='310603',CUS_AMP ='ละหานทราย',CUS_AMPID ='3106',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31170',CUS_TEL ='0981183236',CUS_MOBILE ='0981183236',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='119',CEN_MOO ='20',CEN_DIS ='ตาจง',CEN_DISID ='310603',CEN_AMP ='ละหานทราย',CEN_AMPID ='3106',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31170',CEN_TEL ='',CEN_LATITUDE ='14.4190530000',CEN_LONGITUDE ='102.9432680000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='310603',PLANT_SOURCE_DISTRICT ='3106',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-10',last_access_time ='08:38:41',log_status ='e',log_user ='sr_1735',log_date ='2018-06-10',ex_status = 'e',ex_datetime ='2018-06-10 08:38:41',crm_status ='a',crm_datetime ='2018-06-10 08:22:55' WHERE C_TYPE_CODE = '1735' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805173500496';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1735' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805173500496'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1200600202727',OPERATE_DATE ='2018-05-21',DOC_NO ='',C_TYPE_CODE ='1115',SUB_BRANCH_ID ='',CUS_ID ='M-1805111500497',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทศพร',CUS_SNAME ='อุ่นเสน่หา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1992-12-01',CUS_ADD ='85',CUS_MOO ='4',CUS_DIS ='เกาะจันทร์',CUS_DISID ='201101',CUS_AMP ='เกาะจันทร์',CUS_AMPID ='2011',CUS_PROV ='ชลบุรี',CUS_PROVID ='20',CUS_POST ='20240',CUS_TEL ='0982936353',CUS_MOBILE ='0982936353',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='85',CEN_MOO ='4',CEN_DIS ='เกาะจันทร์',CEN_DISID ='201101',CEN_AMP ='เกาะจันทร์',CEN_AMPID ='2011',CEN_PROV ='ชลบุรี',CEN_PROVID ='20',CEN_POST ='20240',CEN_TEL ='',CEN_LATITUDE ='13.4150020000',CEN_LONGITUDE ='101.4024350000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='201101',PLANT_SOURCE_DISTRICT ='2011',PLANT_SOURCE_PROVINCE ='20',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-21',last_access_time ='11:46:01',log_status ='a',log_user ='49692_1115',log_date ='2018-05-21',ex_status = 'e',ex_datetime ='2018-05-21 11:46:01',crm_status ='a',crm_datetime ='2018-05-21 11:41:20' WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805111500497';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805111500497'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3620400217189',OPERATE_DATE ='2018-05-21',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1805105000499',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อนันท์',CUS_SNAME ='เขตกัน',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-06-27',CUS_ADD ='142/1',CUS_MOO ='6',CUS_DIS ='วังชะพลู',CUS_DISID ='620409',CUS_AMP ='ขาณุวรลักษบุรี',CUS_AMPID ='6204',CUS_PROV ='กำแพงเพชร',CUS_PROVID ='62',CUS_POST ='62140',CUS_TEL ='',CUS_MOBILE ='0844395397',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='142/1',CEN_MOO ='6',CEN_DIS ='วังชะพลู',CEN_DISID ='620409',CEN_AMP ='ขาณุวรลักษบุรี',CEN_AMPID ='6204',CEN_PROV ='กำแพงเพชร',CEN_PROVID ='62',CEN_POST ='62140',CEN_TEL ='',CEN_LATITUDE ='16.0352550000',CEN_LONGITUDE ='99.6817000000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='620409',PLANT_SOURCE_DISTRICT ='6204',PLANT_SOURCE_PROVINCE ='62',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-31',last_access_time ='23:53:07',log_status ='e',log_user ='59377_1050',log_date ='2018-05-21',ex_status = 'e',ex_datetime ='2018-07-31 23:53:07',crm_status ='a',crm_datetime ='2018-05-21 12:52:55' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805105000499';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805105000499'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3440700373862',OPERATE_DATE ='2018-05-21',DOC_NO ='',C_TYPE_CODE ='1736',SUB_BRANCH_ID ='',CUS_ID ='M-1805173600505',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ปรีชา',CUS_SNAME ='ปินะเก',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1974-06-28',CUS_ADD ='64',CUS_MOO ='4',CUS_DIS ='เปือยน้อย',CUS_DISID ='401101',CUS_AMP ='เปือยน้อย',CUS_AMPID ='4011',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0811178675',CUS_MOBILE ='0811178675',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='64',CEN_MOO ='4',CEN_DIS ='เปือยน้อย',CEN_DISID ='401101',CEN_AMP ='เปือยน้อย',CEN_AMPID ='4011',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.8682230000',CEN_LONGITUDE ='102.9092790000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='401101',PLANT_SOURCE_DISTRICT ='4011',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-22',last_access_time ='09:02:03',log_status ='a',log_user ='sr_1736',log_date ='2018-05-21',ex_status = 'e',ex_datetime ='2018-05-22 09:02:03',crm_status ='a',crm_datetime ='2018-05-21 16:09:50' WHERE C_TYPE_CODE = '1736' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805173600505';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1736' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805173600505'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5430700051136',OPERATE_DATE ='2018-05-21',DOC_NO ='',C_TYPE_CODE ='1433',SUB_BRANCH_ID ='',CUS_ID ='M-1805143300508',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='อุ่นเรือน',CUS_SNAME ='รักษาสัตย์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-01-09',CUS_ADD ='125/8',CUS_MOO ='8',CUS_DIS ='หนองจอก',CUS_DISID ='100302',CUS_AMP ='หนองจอก',CUS_AMPID ='1003',CUS_PROV ='กรุงเทพมหานคร',CUS_PROVID ='10',CUS_POST ='43130',CUS_TEL ='0813324330',CUS_MOBILE ='0813324330',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='125/8',CEN_MOO ='8',CEN_DIS ='หนองจอก',CEN_DISID ='100302',CEN_AMP ='หนองจอก',CEN_AMPID ='1003',CEN_PROV ='กรุงเทพมหานคร',CEN_PROVID ='10',CEN_POST ='43130',CEN_TEL ='',CEN_LATITUDE ='13.8540810000',CEN_LONGITUDE ='100.8599850000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='430701',PLANT_SOURCE_DISTRICT ='4307',PLANT_SOURCE_PROVINCE ='43',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-24',last_access_time ='11:06:15',log_status ='e',log_user ='63510_1433',log_date ='2018-05-21',ex_status = 'e',ex_datetime ='2018-05-24 11:06:15',crm_status ='a',crm_datetime ='2018-05-21 18:11:18' WHERE C_TYPE_CODE = '1433' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805143300508';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1433' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805143300508'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3420901263886',OPERATE_DATE ='2018-05-21',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1805116200509',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='แปลง',CUS_SNAME ='ชานนท์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1963-03-21',CUS_ADD ='3',CUS_MOO ='15',CUS_DIS ='โคกสำราญ',CUS_DISID ='402402',CUS_AMP ='บ้านแฮด',CUS_AMPID ='4024',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0813801340',CUS_MOBILE ='0813974075',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='3',CEN_MOO ='15',CEN_DIS ='โคกสำราญ',CEN_DISID ='402402',CEN_AMP ='บ้านแฮด',CEN_AMPID ='4024',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1803860000',CEN_LONGITUDE ='102.7063750000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='402402',PLANT_SOURCE_DISTRICT ='4024',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-31',last_access_time ='11:35:57',log_status ='a',log_user ='40192',log_date ='2018-05-21',ex_status = 'e',ex_datetime ='2018-05-31 11:35:57',crm_status ='a',crm_datetime ='2018-05-21 17:19:18' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805116200509';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805116200509'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900113759',OPERATE_DATE ='2018-05-22',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700511',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประดิษฐ์',CUS_SNAME ='พิมหอม',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1954-10-17',CUS_ADD ='12',CUS_MOO ='10',CUS_DIS ='กกโพธิ์',CUS_DISID ='450904',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0800880000',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='12',CEN_MOO ='10',CEN_DIS ='กกโพธิ์',CEN_DISID ='450904',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2752410000',CEN_LONGITUDE ='104.0913390000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450904',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-22',last_access_time ='09:39:11',log_status ='a',log_user ='65272_1227',log_date ='2018-05-22',ex_status = 'e',ex_datetime ='2018-05-22 09:39:11',crm_status ='a',crm_datetime ='2018-05-22 09:37:49' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700511';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700511'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320500910300',OPERATE_DATE ='2018-05-22',DOC_NO ='',C_TYPE_CODE ='1732',SUB_BRANCH_ID ='',CUS_ID ='M-1805173200513',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='เฉลียว',CUS_SNAME ='โกสีย์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-06-15',CUS_ADD ='27',CUS_MOO ='10',CUS_DIS ='ปรือ',CUS_DISID ='320504',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32140',CUS_TEL ='0933206314',CUS_MOBILE ='0933206314',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='27',CEN_MOO ='10',CEN_DIS ='ปรือ',CEN_DISID ='320504',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32140',CEN_TEL ='',CEN_LATITUDE ='14.6153120000',CEN_LONGITUDE ='103.2966330000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='320504',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-20',last_access_time ='22:51:34',log_status ='e',log_user ='sr_1732',log_date ='2018-05-22',ex_status = 'e',ex_datetime ='2018-10-20 22:51:34',crm_status ='a',crm_datetime ='2018-05-22 11:02:23' WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805173200513';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805173200513'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3311000888403',OPERATE_DATE ='2018-05-22',DOC_NO ='',C_TYPE_CODE ='1115',SUB_BRANCH_ID ='',CUS_ID ='M-1805111500514',ECUSTOMER_ID ='6100000980',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='2018-05-22',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='AB',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อุดม',CUS_SNAME ='พันธ์หลาบขวา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1975-10-10',CUS_ADD ='412',CUS_MOO ='6',CUS_DIS ='นาดี',CUS_DISID ='250301',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0890951957',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='412',CEN_MOO ='6',CEN_DIS ='ทุ่งโพธิ์',CEN_DISID ='250304',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.1325810000',CEN_LONGITUDE ='101.8817140000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250304',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-10',last_access_time ='14:11:56',log_status ='a',log_user ='49692_1115',log_date ='2018-05-22',ex_status = 'e',ex_datetime ='2019-06-10 14:11:56',crm_status ='a',crm_datetime ='2018-05-22 14:41:55' WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805111500514';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805111500514'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700606506',OPERATE_DATE ='2018-05-23',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700516',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ทองใส',CUS_SNAME ='ไชยมี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1962-07-18',CUS_ADD ='89',CUS_MOO ='5',CUS_DIS ='โพธิ์ศรีสว่าง',CUS_DISID ='450708',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0868894849',CUS_MOBILE ='0653166400',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='89',CEN_MOO ='5',CEN_DIS ='โพธิ์ศรีสว่าง',CEN_DISID ='450708',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2374200000',CEN_LONGITUDE ='103.9244840000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450708',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-05',last_access_time ='16:53:22',log_status ='e',log_user ='65378_1227',log_date ='2018-06-05',ex_status = 'e',ex_datetime ='2018-06-05 16:53:22',crm_status ='a',crm_datetime ='2018-06-05 16:39:15' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700516';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700516'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3411900744466',OPERATE_DATE ='2018-05-23',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1805121600518',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สิทธิชัย',CUS_SNAME ='สีสิงห์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-04-21',CUS_ADD ='142',CUS_MOO ='7',CUS_DIS ='เชียงหวาง',CUS_DISID ='411904',CUS_AMP ='เพ็ญ',CUS_AMPID ='4119',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0872184112',CUS_MOBILE ='0820000000',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='142',CEN_MOO ='7',CEN_DIS ='เชียงหวาง',CEN_DISID ='411904',CEN_AMP ='เพ็ญ',CEN_AMPID ='4119',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.6310370000',CEN_LONGITUDE ='102.8845270000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='411904',PLANT_SOURCE_DISTRICT ='4119',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-24',last_access_time ='17:01:38',log_status ='e',log_user ='62934_1216',log_date ='2018-05-24',ex_status = 'e',ex_datetime ='2018-05-24 17:01:38',crm_status ='a',crm_datetime ='2018-05-24 16:14:07' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600518';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600518'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700137883',OPERATE_DATE ='2018-05-23',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700519',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สำลี',CUS_SNAME ='ศรีพลไพ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1954-01-01',CUS_ADD ='207',CUS_MOO ='6',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0849183909',CUS_MOBILE ='0849183909',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='207',CEN_MOO ='6',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-23',last_access_time ='15:46:17',log_status ='e',log_user ='65372_1227',log_date ='2018-05-23',ex_status = 'e',ex_datetime ='2018-05-23 15:46:17',crm_status ='a',crm_datetime ='2018-05-23 15:40:34' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700519';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700519'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341900842175',OPERATE_DATE ='2018-05-23',DOC_NO ='',C_TYPE_CODE ='1055',SUB_BRANCH_ID ='',CUS_ID ='M-1805105500522',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='พิทักษ์',CUS_SNAME ='พูลดี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-11-27',CUS_ADD ='43',CUS_MOO ='5',CUS_DIS ='กุดชมภู',CUS_DISID ='341902',CUS_AMP ='พิบูลมังสาหาร',CUS_AMPID ='3419',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='0',CUS_TEL ='045959606',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='43',CEN_MOO ='5',CEN_DIS ='กุดชมภู',CEN_DISID ='341902',CEN_AMP ='พิบูลมังสาหาร',CEN_AMPID ='3419',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.2252270000',CEN_LONGITUDE ='105.2754590000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='342505',PLANT_SOURCE_DISTRICT ='3425',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-04',last_access_time ='13:49:51',log_status ='e',log_user ='65191_1055',log_date ='2018-05-28',ex_status = 'e',ex_datetime ='2018-06-04 13:49:51',crm_status ='a',crm_datetime ='2018-05-28 10:38:21' WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805105500522';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805105500522'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341900781711',OPERATE_DATE ='2018-05-23',DOC_NO ='',C_TYPE_CODE ='1732',SUB_BRANCH_ID ='',CUS_ID ='M-1805173200525',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประไพ',CUS_SNAME ='ส่งเสริม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-06-30',CUS_ADD ='371',CUS_MOO ='4',CUS_DIS ='ปรือ',CUS_DISID ='320504',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32140',CUS_TEL ='0872602344',CUS_MOBILE ='0872602344',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='371',CEN_MOO ='4',CEN_DIS ='ปรือ',CEN_DISID ='320504',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32140',CEN_TEL ='',CEN_LATITUDE ='14.6153120000',CEN_LONGITUDE ='103.2966330000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='320504',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-02',last_access_time ='15:12:25',log_status ='e',log_user ='sr_1732',log_date ='2018-05-23',ex_status = 'e',ex_datetime ='2018-11-02 15:12:25',crm_status ='a',crm_datetime ='2018-05-23 15:40:00' WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805173200525';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805173200525'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320300085186',OPERATE_DATE ='2018-05-23',DOC_NO ='',C_TYPE_CODE ='1732',SUB_BRANCH_ID ='',CUS_ID ='M-1805173200529',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เทียน',CUS_SNAME ='เงาทอง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-09-19',CUS_ADD ='79',CUS_MOO ='14',CUS_DIS ='บัวโคก',CUS_DISID ='320308',CUS_AMP ='ท่าตูม',CUS_AMPID ='3203',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32120',CUS_TEL ='0870052744',CUS_MOBILE ='0870052744',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='79',CEN_MOO ='14',CEN_DIS ='บัวโคก',CEN_DISID ='320308',CEN_AMP ='ท่าตูม',CEN_AMPID ='3203',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32120',CEN_TEL ='',CEN_LATITUDE ='15.2508160000',CEN_LONGITUDE ='103.7162590000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='320308',PLANT_SOURCE_DISTRICT ='3203',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-24',last_access_time ='14:31:07',log_status ='e',log_user ='sr_1732',log_date ='2018-05-23',ex_status = 'e',ex_datetime ='2018-10-24 14:31:07',crm_status ='a',crm_datetime ='2018-05-23 16:40:01' WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805173200529';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805173200529'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700408950',OPERATE_DATE ='2018-05-24',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700540',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='พงพจน์',CUS_SNAME ='ธงศรี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1976-05-12',CUS_ADD ='138',CUS_MOO ='12',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0908245228',CUS_MOBILE ='0908245228',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='138',CEN_MOO ='12',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-18',last_access_time ='06:06:48',log_status ='e',log_user ='65372_1227',log_date ='2018-06-05',ex_status = 'e',ex_datetime ='2019-07-18 06:06:48',crm_status ='a',crm_datetime ='2018-06-05 14:38:39' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700540';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700540'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451000987443',OPERATE_DATE ='2018-05-24',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700541',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='บรรจง',CUS_SNAME ='เหลื่อมไสย',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-10-17',CUS_ADD ='166',CUS_MOO ='10',CUS_DIS ='ภูเงิน',CUS_DISID ='451010',CUS_AMP ='เสลภูมิ',CUS_AMPID ='4510',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0914170100',CUS_MOBILE ='0914170100',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='166',CEN_MOO ='10',CEN_DIS ='ภูเงิน',CEN_DISID ='451010',CEN_AMP ='เสลภูมิ',CEN_AMPID ='4510',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.9979650000',CEN_LONGITUDE ='104.0855030000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451010',PLANT_SOURCE_DISTRICT ='4510',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-05',last_access_time ='16:24:22',log_status ='e',log_user ='65378_1227',log_date ='2018-05-24',ex_status = 'e',ex_datetime ='2018-09-05 16:24:22',crm_status ='a',crm_datetime ='2018-05-24 13:46:10' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700541';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700541'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3330300954290',OPERATE_DATE ='2018-05-24',DOC_NO ='',C_TYPE_CODE ='1726',SUB_BRANCH_ID ='',CUS_ID ='M-1805172600542',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วีรศักดิ์',CUS_SNAME ='สีฟ้า',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1969-05-21',CUS_ADD ='33',CUS_MOO ='6',CUS_DIS ='ละทาย',CUS_DISID ='330308',CUS_AMP ='กันทรารมย์',CUS_AMPID ='3303',CUS_PROV ='ศรีสะเกษ',CUS_PROVID ='33',CUS_POST ='33130',CUS_TEL ='0853115934',CUS_MOBILE ='0853115934',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='33',CEN_MOO ='6',CEN_DIS ='ละทาย',CEN_DISID ='330308',CEN_AMP ='กันทรารมย์',CEN_AMPID ='3303',CEN_PROV ='ศรีสะเกษ',CEN_PROVID ='33',CEN_POST ='33130',CEN_TEL ='',CEN_LATITUDE ='15.1642640000',CEN_LONGITUDE ='104.5853810000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='330308',PLANT_SOURCE_DISTRICT ='3303',PLANT_SOURCE_PROVINCE ='33',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-23',last_access_time ='11:51:12',log_status ='a',log_user ='sr_1726',log_date ='2018-05-24',ex_status = 'e',ex_datetime ='2019-07-23 11:51:12',crm_status ='a',crm_datetime ='2018-05-24 13:55:44' WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805172600542';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805172600542'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400700317318',OPERATE_DATE ='2018-05-24',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1805116200547',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทองพูล',CUS_SNAME ='พรมน้อย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1946-02-28',CUS_ADD ='35',CUS_MOO ='11',CUS_DIS ='บัวใหญ่',CUS_DISID ='400704',CUS_AMP ='น้ำพอง',CUS_AMPID ='4007',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0887464389',CUS_MOBILE ='0887464389',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='35',CEN_MOO ='11',CEN_DIS ='บัวใหญ่',CEN_DISID ='400704',CEN_AMP ='น้ำพอง',CEN_AMPID ='4007',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.6157960000',CEN_LONGITUDE ='102.9439540000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400704',PLANT_SOURCE_DISTRICT ='4007',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-25',last_access_time ='14:44:53',log_status ='e',log_user ='65192_1162',log_date ='2018-05-25',ex_status = 'e',ex_datetime ='2018-05-25 14:44:53',crm_status ='a',crm_datetime ='2018-05-25 14:19:52' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805116200547';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805116200547'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250500183638',OPERATE_DATE ='2018-05-25',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1805172700548',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ชาติ',CUS_SNAME ='ทุ่งกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1964-07-07',CUS_ADD ='111',CUS_MOO ='8',CUS_DIS ='ลุงเขว้า',CUS_DISID ='302207',CUS_AMP ='หนองบุนนาก',CUS_AMPID ='3022',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0982399794',CUS_MOBILE ='0982399794',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='111',CEN_MOO ='8',CEN_DIS ='ลุงเขว้า',CEN_DISID ='302207',CEN_AMP ='หนองบุนนาก',CEN_AMPID ='3022',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.8173710000',CEN_LONGITUDE ='102.3623660000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302207',PLANT_SOURCE_DISTRICT ='3022',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-27',last_access_time ='09:12:40',log_status ='a',log_user ='sr_1727',log_date ='2018-05-25',ex_status = 'e',ex_datetime ='2018-06-27 09:12:40',crm_status ='a',crm_datetime ='2018-05-25 08:17:19' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805172700548';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805172700548'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1520800072514',OPERATE_DATE ='2018-05-25',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1805105000552',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='วราภรณ์',CUS_SNAME ='สอนหล้า',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1989-03-08',CUS_ADD ='6',CUS_MOO ='3',CUS_DIS ='นาโป่ง',CUS_DISID ='520806',CUS_AMP ='เถิน',CUS_AMPID ='5208',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='52160',CUS_TEL ='054296087',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='6',CEN_MOO ='3',CEN_DIS ='นาโป่ง',CEN_DISID ='520806',CEN_AMP ='เถิน',CEN_AMPID ='5208',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='52160',CEN_TEL ='',CEN_LATITUDE ='17.6541640000',CEN_LONGITUDE ='99.1303250000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='520807',PLANT_SOURCE_DISTRICT ='5208',PLANT_SOURCE_PROVINCE ='52',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-26',last_access_time ='12:36:23',log_status ='e',log_user ='63922_1050',log_date ='2018-05-25',ex_status = 'e',ex_datetime ='2018-05-26 12:36:23',crm_status ='a',crm_datetime ='2018-05-25 10:09:14' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805105000552';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805105000552'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1270400062611',OPERATE_DATE ='2018-05-25',DOC_NO ='',C_TYPE_CODE ='1641',SUB_BRANCH_ID ='',CUS_ID ='M-1805164100553',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='พรนภา',CUS_SNAME ='พลเรือง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1997-05-06',CUS_ADD ='402',CUS_MOO ='10',CUS_DIS ='วังน้ำเย็น',CUS_DISID ='270401',CUS_AMP ='วังน้ำเย็น',CUS_AMPID ='2704',CUS_PROV ='สระแก้ว',CUS_PROVID ='27',CUS_POST ='0',CUS_TEL ='0855556430',CUS_MOBILE ='0926388546',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='402',CEN_MOO ='10',CEN_DIS ='วังน้ำเย็น',CEN_DISID ='270401',CEN_AMP ='วังน้ำเย็น',CEN_AMPID ='2704',CEN_PROV ='สระแก้ว',CEN_PROVID ='27',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.4998110000',CEN_LONGITUDE ='102.1824650000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='270401',PLANT_SOURCE_DISTRICT ='2704',PLANT_SOURCE_PROVINCE ='27',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-06',last_access_time ='16:26:54',log_status ='e',log_user ='47960_1641',log_date ='2018-05-25',ex_status = 'e',ex_datetime ='2018-07-06 16:26:54',crm_status ='a',crm_datetime ='2018-05-25 11:02:43' WHERE C_TYPE_CODE = '1641' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805164100553';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1641' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805164100553'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310700149548',OPERATE_DATE ='2018-05-25',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1805123200558',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ธง',CUS_SNAME ='โสระมรรค',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1951-08-17',CUS_ADD ='25',CUS_MOO ='3',CUS_DIS ='ไพศาล',CUS_DISID ='310713',CUS_AMP ='ประโคนชัย',CUS_AMPID ='3107',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31140',CUS_TEL ='0956054929',CUS_MOBILE ='0956054929',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='25',CEN_MOO ='3',CEN_DIS ='ไพศาล',CEN_DISID ='310713',CEN_AMP ='ประโคนชัย',CEN_AMPID ='3107',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31140',CEN_TEL ='',CEN_LATITUDE ='14.6453750000',CEN_LONGITUDE ='103.2103730000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='310713',PLANT_SOURCE_DISTRICT ='3107',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-17',last_access_time ='11:06:22',log_status ='e',log_user ='65370_1232',log_date ='2018-06-13',ex_status = 'e',ex_datetime ='2018-10-17 11:06:22',crm_status ='a',crm_datetime ='2018-06-13 13:16:17' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805123200558';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805123200558'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400700319051',OPERATE_DATE ='2018-05-25',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1805116200565',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ฉวีวรรณ์',CUS_SNAME ='ตูมโฮม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-11-13',CUS_ADD ='76',CUS_MOO ='11',CUS_DIS ='บัวใหญ่',CUS_DISID ='400704',CUS_AMP ='น้ำพอง',CUS_AMPID ='4007',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0642464318',CUS_MOBILE ='0642464318',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='76',CEN_MOO ='11',CEN_DIS ='บัวใหญ่',CEN_DISID ='400704',CEN_AMP ='น้ำพอง',CEN_AMPID ='4007',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.6157960000',CEN_LONGITUDE ='102.9439540000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400704',PLANT_SOURCE_DISTRICT ='4007',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-26',last_access_time ='14:35:27',log_status ='a',log_user ='65204_1162',log_date ='2018-05-25',ex_status = 'e',ex_datetime ='2018-05-26 14:35:27',crm_status ='a',crm_datetime ='2018-05-25 20:00:43' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805116200565';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805116200565'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='2411500024379',OPERATE_DATE ='2018-05-26',DOC_NO ='',C_TYPE_CODE ='1115',SUB_BRANCH_ID ='',CUS_ID ='M-1805111500566',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='วานิด',CUS_SNAME ='กงไกร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1973-06-10',CUS_ADD ='373',CUS_MOO ='3',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0890951957',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='373',CEN_MOO ='3',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-26',last_access_time ='07:39:42',log_status ='a',log_user ='49692_1115',log_date ='2018-05-26',ex_status = 'e',ex_datetime ='2018-05-26 07:39:42',crm_status ='a',crm_datetime ='2018-05-26 07:35:09' WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805111500566';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805111500566'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700385178',OPERATE_DATE ='2018-05-26',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700567',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประหวัด',CUS_SNAME ='วะไลศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-03-30',CUS_ADD ='28',CUS_MOO ='1',CUS_DIS ='โพธิ์ทอง',CUS_DISID ='450706',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0930915391',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='28',CEN_MOO ='1',CEN_DIS ='โพธิ์ทอง',CEN_DISID ='450706',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3140440000',CEN_LONGITUDE ='103.9344410000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450706',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-26',last_access_time ='17:43:20',log_status ='e',log_user ='65378_1227',log_date ='2018-05-26',ex_status = 'e',ex_datetime ='2018-05-26 17:43:20',crm_status ='a',crm_datetime ='2018-05-26 16:25:21' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700567';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700567'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1250200239429',OPERATE_DATE ='2018-05-26',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1805115500571',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='พรนิภา',CUS_SNAME ='จันทร์เอน',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1996-05-25',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-26',last_access_time ='10:34:45',log_status ='a',log_user ='55496',log_date ='2018-05-26',ex_status = 'e',ex_datetime ='2018-05-26 10:34:45',crm_status ='a',crm_datetime ='2018-05-26 10:26:24' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500571';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500571'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3411900797268',OPERATE_DATE ='2018-05-26',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1805121600572',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประทีป',CUS_SNAME ='โสมงาม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-12-06',CUS_ADD ='207',CUS_MOO ='3',CUS_DIS ='เพ็ญ',CUS_DISID ='411901',CUS_AMP ='เพ็ญ',CUS_AMPID ='4119',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0989709663',CUS_MOBILE ='0989709663',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='207',CEN_MOO ='3',CEN_DIS ='นาพู่',CEN_DISID ='411903',CEN_AMP ='เพ็ญ',CEN_AMPID ='4119',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.5831070000',CEN_LONGITUDE ='102.7653940000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='411901',PLANT_SOURCE_DISTRICT ='4119',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-05-30',last_access_time ='16:02:02',log_status ='e',log_user ='62934_1216',log_date ='2018-05-26',ex_status = 'e',ex_datetime ='2019-05-30 16:02:02',crm_status ='a',crm_datetime ='2018-05-26 10:41:20' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600572';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600572'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700430416',OPERATE_DATE ='2018-05-26',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700585',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สุภาพ',CUS_SNAME ='เหมือนทอง',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1947-11-14',CUS_ADD ='50',CUS_MOO ='6',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0881098633',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='50',CEN_MOO ='6',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-26',last_access_time ='19:27:48',log_status ='e',log_user ='65372_1227',log_date ='2018-06-26',ex_status = 'e',ex_datetime ='2018-06-26 19:27:48',crm_status ='a',crm_datetime ='2018-06-26 19:22:08' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700585';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700585'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3330100959476',OPERATE_DATE ='2018-05-27',DOC_NO ='',C_TYPE_CODE ='1745',SUB_BRANCH_ID ='',CUS_ID ='M-1805174500593',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุพิศ',CUS_SNAME ='วิลัย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1975-07-28',CUS_ADD ='98',CUS_MOO ='21',CUS_DIS ='ท่ากระดาน',CUS_DISID ='240802',CUS_AMP ='สนามชัยเขต',CUS_AMPID ='2408',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0545648986',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='98',CEN_MOO ='21',CEN_DIS ='ท่ากระดาน',CEN_DISID ='240802',CEN_AMP ='สนามชัยเขต',CEN_AMPID ='2408',CEN_PROV ='ฉะเชิงเทรา',CEN_PROVID ='24',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.6192950000',CEN_LONGITUDE ='101.6880800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='3',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='240802',PLANT_SOURCE_DISTRICT ='2408',PLANT_SOURCE_PROVINCE ='24',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-27',last_access_time ='13:14:39',log_status ='e',log_user ='sr_1745',log_date ='2018-05-27',ex_status = 'e',ex_datetime ='2018-05-27 13:14:39',crm_status ='a',crm_datetime ='2018-05-27 13:06:19' WHERE C_TYPE_CODE = '1745' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805174500593';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1745' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805174500593'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3240900223769',OPERATE_DATE ='2018-05-27',DOC_NO ='',C_TYPE_CODE ='1745',SUB_BRANCH_ID ='',CUS_ID ='M-1805174500594',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุพล',CUS_SNAME ='โฉมสะอาด',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1973-07-27',CUS_ADD ='17/8',CUS_MOO ='5',CUS_DIS ='วังเย็น',CUS_DISID ='240902',CUS_AMP ='แปลงยาว',CUS_AMPID ='2409',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0815586486',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='17/8',CEN_MOO ='5',CEN_DIS ='วังเย็น',CEN_DISID ='240902',CEN_AMP ='แปลงยาว',CEN_AMPID ='2409',CEN_PROV ='ฉะเชิงเทรา',CEN_PROVID ='24',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.5552220000',CEN_LONGITUDE ='101.2984090000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='3',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='240902',PLANT_SOURCE_DISTRICT ='2409',PLANT_SOURCE_PROVINCE ='24',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-27',last_access_time ='13:12:42',log_status ='e',log_user ='sr_1745',log_date ='2018-05-27',ex_status = 'e',ex_datetime ='2018-05-27 13:12:42',crm_status ='a',crm_datetime ='2018-05-27 13:10:24' WHERE C_TYPE_CODE = '1745' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805174500594';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1745' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805174500594'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320900387981',OPERATE_DATE ='2018-05-28',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1805123200600',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='พิเชษฐ์',CUS_SNAME ='มุมทอง',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1981-12-01',CUS_ADD ='70',CUS_MOO ='12',CUS_DIS ='ช่างปี่',CUS_DISID ='320910',CUS_AMP ='ศีขรภูมิ',CUS_AMPID ='3209',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='0',CUS_TEL ='0870766977',CUS_MOBILE ='0870766977',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='70',CEN_MOO ='12',CEN_DIS ='ช่างปี่',CEN_DISID ='320910',CEN_AMP ='ศีขรภูมิ',CEN_AMPID ='3209',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.9232230000',CEN_LONGITUDE ='103.6954880000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='3',CREDIT_CUSTOMER ='4.00',PLANT_SOURCE_SUBDISTRICT ='320910',PLANT_SOURCE_DISTRICT ='3209',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-01',last_access_time ='23:10:32',log_status ='a',log_user ='60436_1232',log_date ='2018-05-28',ex_status = 'e',ex_datetime ='2019-07-01 23:10:32',crm_status ='a',crm_datetime ='2018-05-28 08:49:11' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805123200600';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805123200600'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310700790472',OPERATE_DATE ='2018-05-28',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1805123200601',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สมจิต',CUS_SNAME ='คงศรี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1963-08-11',CUS_ADD ='168',CUS_MOO ='3',CUS_DIS ='หนองบอน',CUS_DISID ='310716',CUS_AMP ='ประโคนชัย',CUS_AMPID ='3107',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='0',CUS_TEL ='0852043949',CUS_MOBILE ='0852043949',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='168',CEN_MOO ='3',CEN_DIS ='หนองบอน',CEN_DISID ='310716',CEN_AMP ='ประโคนชัย',CEN_AMPID ='3107',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5423790000',CEN_LONGITUDE ='103.1444550000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='310716',PLANT_SOURCE_DISTRICT ='3107',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-04',last_access_time ='20:07:19',log_status ='a',log_user ='60436_1232',log_date ='2018-05-28',ex_status = 'e',ex_datetime ='2018-06-04 20:07:19',crm_status ='a',crm_datetime ='2018-05-28 08:56:53' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805123200601';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805123200601'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3411900344751',OPERATE_DATE ='2018-05-28',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1805121600603',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทองออน',CUS_SNAME ='กลางยศ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-08-12',CUS_ADD ='67',CUS_MOO ='10',CUS_DIS ='นาพู่',CUS_DISID ='411903',CUS_AMP ='เพ็ญ',CUS_AMPID ='4119',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0845539452',CUS_MOBILE ='0844395535',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='67',CEN_MOO ='10',CEN_DIS ='นาพู่',CEN_DISID ='411903',CEN_AMP ='เพ็ญ',CEN_AMPID ='4119',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.5831070000',CEN_LONGITUDE ='102.7653940000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='411903',PLANT_SOURCE_DISTRICT ='4119',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-30',last_access_time ='18:32:28',log_status ='e',log_user ='62934_1216',log_date ='2018-05-28',ex_status = 'e',ex_datetime ='2018-05-30 18:32:28',crm_status ='a',crm_datetime ='2018-05-28 13:57:12' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600603';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600603'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3410101128259',OPERATE_DATE ='2018-05-28',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1805121600604',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='หนูพลอย',CUS_SNAME ='อ่อนบุญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-11-03',CUS_ADD ='93',CUS_MOO ='4',CUS_DIS ='กุดสระ',CUS_DISID ='410110',CUS_AMP ='เมืองอุดรธานี',CUS_AMPID ='4101',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0804084464',CUS_MOBILE ='0804084464',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='93',CEN_MOO ='4',CEN_DIS ='กุดสระ',CEN_DISID ='410110',CEN_AMP ='เมืองอุดรธานี',CEN_AMPID ='4101',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.4682250000',CEN_LONGITUDE ='102.8092860000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='410110',PLANT_SOURCE_DISTRICT ='4101',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-08',last_access_time ='19:33:02',log_status ='e',log_user ='62934_1216',log_date ='2018-05-28',ex_status = 'e',ex_datetime ='2018-06-08 19:33:02',crm_status ='a',crm_datetime ='2018-05-28 14:27:34' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600604';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600604'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300135125',OPERATE_DATE ='2018-05-29',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1805115500615',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ประจวบ',CUS_SNAME ='รัตนะโมรา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1963-04-17',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-29',last_access_time ='14:19:53',log_status ='a',log_user ='55496',log_date ='2018-05-29',ex_status = 'e',ex_datetime ='2018-05-29 14:19:53',crm_status ='a',crm_datetime ='2018-05-29 14:14:13' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500615';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805115500615'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300800592036',OPERATE_DATE ='2018-05-29',DOC_NO ='',C_TYPE_CODE ='10',SUB_BRANCH_ID ='',CUS_ID ='M-1805001000616',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ชุติไชย',CUS_SNAME ='ชวยขุนทด',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-05-03',CUS_ADD ='54',CUS_MOO ='2',CUS_DIS ='พันชนะ',CUS_DISID ='300808',CUS_AMP ='ด่านขุนทด',CUS_AMPID ='3008',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0922573186',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='54',CEN_MOO ='2',CEN_DIS ='พันชนะ',CEN_DISID ='300808',CEN_AMP ='ด่านขุนทด',CEN_AMPID ='3008',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.2338400000',CEN_LONGITUDE ='101.7265320000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300808',PLANT_SOURCE_DISTRICT ='3008',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-29',last_access_time ='14:50:53',log_status ='a',log_user ='45092_10',log_date ='2018-05-29',ex_status = 'e',ex_datetime ='2018-05-29 14:50:53',crm_status ='a',crm_datetime ='2018-05-29 14:48:57' WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805001000616';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805001000616'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3411100527975',OPERATE_DATE ='2018-05-30',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1805121600619',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='นารี',CUS_SNAME ='สีเรือง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-03-05',CUS_ADD ='228',CUS_MOO ='12',CUS_DIS ='โพนสูง',CUS_DISID ='411104',CUS_AMP ='บ้านดุง',CUS_AMPID ='4111',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0645583151',CUS_MOBILE ='0645583151',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='228',CEN_MOO ='12',CEN_DIS ='โพนสูง',CEN_DISID ='411104',CEN_AMP ='บ้านดุง',CEN_AMPID ='4111',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.6654560000',CEN_LONGITUDE ='103.2856570000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='411104',PLANT_SOURCE_DISTRICT ='4111',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-30',last_access_time ='11:06:15',log_status ='e',log_user ='62934_1216',log_date ='2018-05-30',ex_status = 'e',ex_datetime ='2018-05-30 11:06:15',crm_status ='a',crm_datetime ='2018-05-30 09:06:18' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600619';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600619'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3670600283576',OPERATE_DATE ='2018-05-30',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1805121600624',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อารักษ์',CUS_SNAME ='รักหาญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-08-08',CUS_ADD ='14',CUS_MOO ='1',CUS_DIS ='โนนศิลา',CUS_DISID ='431004',CUS_AMP ='ปากคาด',CUS_AMPID ='4310',CUS_PROV ='บึงกาฬ',CUS_PROVID ='97',CUS_POST ='0',CUS_TEL ='090000000',CUS_MOBILE ='0810492874',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='14',CEN_MOO ='1',CEN_DIS ='ปากคาด',CEN_DISID ='431001',CEN_AMP ='ปากคาด',CEN_AMPID ='4310',CEN_PROV ='บึงกาฬ',CEN_PROVID ='97',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='18.3083290000',CEN_LONGITUDE ='103.3053870000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='431004',PLANT_SOURCE_DISTRICT ='4310',PLANT_SOURCE_PROVINCE ='97',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-25',last_access_time ='10:37:46',log_status ='e',log_user ='34731_1774',log_date ='2019-06-25',ex_status = 'e',ex_datetime ='2019-06-25 10:37:46',crm_status ='a',crm_datetime ='2019-06-25 10:00:22' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600624';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600624'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1431000012802',OPERATE_DATE ='2018-05-30',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1805121600625',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='อรวรรณ',CUS_SNAME ='ชัยเฉลิม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1986-01-11',CUS_ADD ='14',CUS_MOO ='1',CUS_DIS ='โนนศิลา',CUS_DISID ='431004',CUS_AMP ='ปากคาด',CUS_AMPID ='4310',CUS_PROV ='บึงกาฬ',CUS_PROVID ='97',CUS_POST ='0',CUS_TEL ='090000000',CUS_MOBILE ='0810492874',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='14',CEN_MOO ='1',CEN_DIS ='โนนศิลา',CEN_DISID ='431004',CEN_AMP ='ปากคาด',CEN_AMPID ='4310',CEN_PROV ='บึงกาฬ',CEN_PROVID ='97',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='18.2986320000',CEN_LONGITUDE ='103.3118250000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='431004',PLANT_SOURCE_DISTRICT ='4310',PLANT_SOURCE_PROVINCE ='97',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-31',last_access_time ='15:34:21',log_status ='e',log_user ='34731_1686',log_date ='2018-05-31',ex_status = 'e',ex_datetime ='2018-05-31 15:34:21',crm_status ='a',crm_datetime ='2018-05-31 15:28:26' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600625';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805121600625'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1300200122733',OPERATE_DATE ='2018-05-30',DOC_NO ='',C_TYPE_CODE ='1099',SUB_BRANCH_ID ='',CUS_ID ='M-1805109900627',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='4',CUS_NAME ='ขนิษฐา',CUS_SNAME ='ห่วงกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1995-01-01',CUS_ADD ='175',CUS_MOO ='1',CUS_DIS ='จระเข้หิน',CUS_DISID ='300205',CUS_AMP ='ครบุรี',CUS_AMPID ='3002',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0811867984',CUS_MOBILE ='0811867984',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='175',CEN_MOO ='1',CEN_DIS ='จระเข้หิน',CEN_DISID ='300205',CEN_AMP ='ครบุรี',CEN_AMPID ='3002',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5250980000',CEN_LONGITUDE ='102.1893310000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='3',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300205',PLANT_SOURCE_DISTRICT ='3002',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-10',last_access_time ='09:25:28',log_status ='e',log_user ='65520_1802',log_date ='2019-07-23',ex_status = 'e',ex_datetime ='2019-06-10 09:25:28',crm_status ='a',crm_datetime ='2019-07-23 17:02:52' WHERE C_TYPE_CODE = '1099' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805109900627';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1099' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805109900627'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451000760309',OPERATE_DATE ='2018-05-30',DOC_NO ='',C_TYPE_CODE ='1720',SUB_BRANCH_ID ='',CUS_ID ='M-1805172000629',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='บุญมี',CUS_SNAME ='ศิริสุวรรณ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1974-07-12',CUS_ADD ='21',CUS_MOO ='1',CUS_DIS ='โคกมะม่วง',CUS_DISID ='311204',CUS_AMP ='ปะคำ',CUS_AMPID ='3112',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31220',CUS_TEL ='0890216746',CUS_MOBILE ='0890216746',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='21',CEN_MOO ='1',CEN_DIS ='โคกมะม่วง',CEN_DISID ='311204',CEN_AMP ='ปะคำ',CEN_AMPID ='3112',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31220',CEN_TEL ='',CEN_LATITUDE ='14.4346800000',CEN_LONGITUDE ='102.6226040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='311204',PLANT_SOURCE_DISTRICT ='3112',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-15',last_access_time ='20:11:37',log_status ='e',log_user ='sr_1766',log_date ='2018-10-13',ex_status = 'e',ex_datetime ='2018-11-15 20:11:37',crm_status ='a',crm_datetime ='2018-10-13 09:54:09' WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805172000629';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805172000629'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700511611',OPERATE_DATE ='2018-05-30',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1805136900632',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บำรุง',CUS_SNAME ='ภูมิภาค',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1970-02-15',CUS_ADD ='99',CUS_MOO ='9',CUS_DIS ='สระนกแก้ว',CUS_DISID ='450712',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='99',CEN_MOO ='9',CEN_DIS ='สระนกแก้ว',CEN_DISID ='450712',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2902360000',CEN_LONGITUDE ='103.9760680000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450712',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-30',last_access_time ='20:37:11',log_status ='a',log_user ='58357_1369',log_date ='2018-05-30',ex_status = 'e',ex_datetime ='2018-05-30 20:37:11',crm_status ='a',crm_datetime ='2018-05-30 16:22:40' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805136900632';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805136900632'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3350500084558',OPERATE_DATE ='2018-05-30',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1805136900635',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='เสน่ลักษณ์',CUS_SNAME ='หอมหวล',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-01-13',CUS_ADD ='178',CUS_MOO ='2',CUS_DIS ='กระจาย',CUS_DISID ='350502',CUS_AMP ='ป่าติ้ว',CUS_AMPID ='3505',CUS_PROV ='ยโสธร',CUS_PROVID ='35',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0935455458',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='178',CEN_MOO ='2',CEN_DIS ='กระจาย',CEN_DISID ='350502',CEN_AMP ='ป่าติ้ว',CEN_AMPID ='3505',CEN_PROV ='ยโสธร',CEN_PROVID ='35',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.7811860000',CEN_LONGITUDE ='104.3189620000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='350502',PLANT_SOURCE_DISTRICT ='3505',PLANT_SOURCE_PROVINCE ='35',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-30',last_access_time ='17:00:47',log_status ='a',log_user ='58357_1369',log_date ='2018-05-30',ex_status = 'e',ex_datetime ='2018-05-30 17:00:47',crm_status ='a',crm_datetime ='2018-05-30 16:46:50' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805136900635';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805136900635'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700815610',OPERATE_DATE ='2018-05-30',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1805136900642',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='หนูเพียร',CUS_SNAME ='พลเยี่ยม',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-04-29',CUS_ADD ='32',CUS_MOO ='2',CUS_DIS ='หนองใหญ่',CUS_DISID ='450705',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='32',CEN_MOO ='2',CEN_DIS ='หนองใหญ่',CEN_DISID ='450705',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.4057880000',CEN_LONGITUDE ='103.9979550000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450705',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-30',last_access_time ='20:54:33',log_status ='a',log_user ='58357_1369',log_date ='2018-05-30',ex_status = 'e',ex_datetime ='2018-05-30 20:54:33',crm_status ='a',crm_datetime ='2018-05-30 20:50:14' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805136900642';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805136900642'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='',OPERATE_DATE ='2018-05-30',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1805146700644',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='2',CUS_NAME ='ศิราณี',CUS_SNAME ='เจริญมงคล',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1975-12-19',CUS_ADD ='311',CUS_MOO ='7',CUS_DIS ='ท่าตะเกียบ',CUS_DISID ='241001',CUS_AMP ='ท่าตะเกียบ',CUS_AMPID ='2410',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0982342534',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='311',CEN_MOO ='7',CEN_DIS ='ท่าตะเกียบ',CEN_DISID ='241001',CEN_AMP ='ท่าตะเกียบ',CEN_AMPID ='2410',CEN_PROV ='ฉะเชิงเทรา',CEN_PROVID ='24',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.5311900000',CEN_LONGITUDE ='101.6757200000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='3',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='241001',PLANT_SOURCE_DISTRICT ='2410',PLANT_SOURCE_PROVINCE ='24',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='3160300594961',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-30',last_access_time ='21:18:31',log_status ='e',log_user ='50582_1467',log_date ='2018-05-30',ex_status = 'e',ex_datetime ='2018-05-30 21:18:31',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805146700644';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805146700644'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3100202016181',OPERATE_DATE ='2018-05-30',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1805136900647',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='จันทา',CUS_SNAME ='วรรณสมบูรณ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-10-02',CUS_ADD ='22',CUS_MOO ='6',CUS_DIS ='ศรีวิลัย',CUS_DISID ='451014',CUS_AMP ='เสลภูมิ',CUS_AMPID ='4510',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='22',CEN_MOO ='6',CEN_DIS ='ศรีวิลัย',CEN_DISID ='451014',CEN_AMP ='เสลภูมิ',CEN_AMPID ='4510',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1459270000',CEN_LONGITUDE ='104.0413860000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451014',PLANT_SOURCE_DISTRICT ='4510',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-30',last_access_time ='21:28:51',log_status ='a',log_user ='58357_1369',log_date ='2018-05-30',ex_status = 'e',ex_datetime ='2018-05-30 21:28:51',crm_status ='a',crm_datetime ='2018-05-30 21:24:58' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805136900647';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805136900647'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300200101741',OPERATE_DATE ='2018-07-19',DOC_NO ='',C_TYPE_CODE ='1099',SUB_BRANCH_ID ='',CUS_ID ='M-1807109900208',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สุพิศ',CUS_SNAME ='สร้างการนอก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1998-01-01',CUS_ADD ='50',CUS_MOO ='1',CUS_DIS ='สระว่านพระยา',CUS_DISID ='300212',CUS_AMP ='ครบุรี',CUS_AMPID ='3002',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0819992365',CUS_MOBILE ='0819992365',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='50',CEN_MOO ='1',CEN_DIS ='สระว่านพระยา',CEN_DISID ='300212',CEN_AMP ='ครบุรี',CEN_AMPID ='3002',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5250980000',CEN_LONGITUDE ='102.3987580000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300212',PLANT_SOURCE_DISTRICT ='3002',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-23',last_access_time ='08:23:15',log_status ='a',log_user ='60000_1099',log_date ='2018-07-19',ex_status = 'e',ex_datetime ='2018-10-23 08:23:15',crm_status ='a',crm_datetime ='2018-07-19 14:19:42' WHERE C_TYPE_CODE = '1099' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807109900208';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1099' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807109900208'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400700596551',OPERATE_DATE ='2018-05-31',DOC_NO ='',C_TYPE_CODE ='1739',SUB_BRANCH_ID ='',CUS_ID ='M-1805173900649',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุนทร',CUS_SNAME ='จันชมพู',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1969-11-14',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='เซกา',CUS_DISID ='430901',CUS_AMP ='เซกา',CUS_AMPID ='4309',CUS_PROV ='บึงกาฬ',CUS_PROVID ='97',CUS_POST ='0',CUS_TEL ='0898611305',CUS_MOBILE ='0822356789',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='เซกา',CEN_DISID ='430901',CEN_AMP ='เซกา',CEN_AMPID ='4309',CEN_PROV ='บึงกาฬ',CEN_PROVID ='97',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.9281090000',CEN_LONGITUDE ='103.9545250000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='430901',PLANT_SOURCE_DISTRICT ='4309',PLANT_SOURCE_PROVINCE ='97',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-31',last_access_time ='10:53:17',log_status ='e',log_user ='sr_1739',log_date ='2018-05-31',ex_status = 'e',ex_datetime ='2018-05-31 10:53:17',crm_status ='a',crm_datetime ='2018-05-31 10:47:39' WHERE C_TYPE_CODE = '1739' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805173900649';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1739' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805173900649'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3321001103281',OPERATE_DATE ='2018-12-03',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1812123200034',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สิทธิชัย',CUS_SNAME ='จันทยุง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1981-05-29',CUS_ADD ='118',CUS_MOO ='5',CUS_DIS ='ศรีสุข',CUS_DISID ='321505',CUS_AMP ='ศรีณรงค์',CUS_AMPID ='3215',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='0',CUS_TEL ='0883772869',CUS_MOBILE ='0883772869',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='118',CEN_MOO ='5',CEN_DIS ='ศรีสุข',CEN_DISID ='321505',CEN_AMP ='ศรีณรงค์',CEN_AMPID ='3215',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.7723930000',CEN_LONGITUDE ='103.8285260000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='321505',PLANT_SOURCE_DISTRICT ='3215',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-20',last_access_time ='08:32:43',log_status ='a',log_user ='60436_1232',log_date ='2018-12-03',ex_status = 'e',ex_datetime ='2019-07-20 08:32:43',crm_status ='a',crm_datetime ='2018-12-03 09:41:22' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1812123200034';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1812123200034'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700350994',OPERATE_DATE ='2018-05-31',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700659',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ไพทูรย์',CUS_SNAME ='บุตรษา',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1970-03-21',CUS_ADD ='127',CUS_MOO ='8',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0870411051',CUS_MOBILE ='0870411051',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='127',CEN_MOO ='8',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-04',last_access_time ='14:52:59',log_status ='e',log_user ='65378_1227',log_date ='2018-06-04',ex_status = 'e',ex_datetime ='2018-06-04 14:52:59',crm_status ='a',crm_datetime ='2018-06-04 14:44:24' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700659';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700659'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700121138',OPERATE_DATE ='2018-05-31',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1805122700660',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='พุทธา',CUS_SNAME ='อาสาคุณ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1956-01-04',CUS_ADD ='52',CUS_MOO ='7',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0856451349',CUS_MOBILE ='0856451349',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='52',CEN_MOO ='7',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-17',last_access_time ='15:34:08',log_status ='a',log_user ='65372_1227',log_date ='2018-05-31',ex_status = 'e',ex_datetime ='2018-09-17 15:34:08',crm_status ='a',crm_datetime ='2018-05-31 19:21:45' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700660';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805122700660'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3620100003931',OPERATE_DATE ='2018-05-31',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1805105000661',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ธีระศักดิ์',CUS_SNAME ='ตั้งคสีนนทกุล',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1982-12-13',CUS_ADD ='72',CUS_MOO ='5',CUS_DIS ='นครชุม',CUS_DISID ='620105',CUS_AMP ='เมืองกำแพงเพชร',CUS_AMPID ='6201',CUS_PROV ='กำแพงเพชร',CUS_PROVID ='62',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0844375397',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='72',CEN_MOO ='5',CEN_DIS ='นครชุม',CEN_DISID ='620105',CEN_AMP ='เมืองกำแพงเพชร',CEN_AMPID ='6201',CEN_PROV ='กำแพงเพชร',CEN_PROVID ='62',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.4716460000',CEN_LONGITUDE ='99.5031740000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='520807',PLANT_SOURCE_DISTRICT ='5208',PLANT_SOURCE_PROVINCE ='52',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-13',last_access_time ='21:21:59',log_status ='e',log_user ='59377_1050',log_date ='2018-05-31',ex_status = 'e',ex_datetime ='2018-06-13 21:21:59',crm_status ='a',crm_datetime ='2018-05-31 21:33:58' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805105000661';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805105000661'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3620300423372',OPERATE_DATE ='2018-05-31',DOC_NO ='',C_TYPE_CODE ='1462',SUB_BRANCH_ID ='',CUS_ID ='M-1805146200662',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ปรีชา',CUS_SNAME ='อุทธา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1967-11-04',CUS_ADD ='16/1',CUS_MOO ='10',CUS_DIS ='คลองขลุง',CUS_DISID ='620501',CUS_AMP ='คลองขลุง',CUS_AMPID ='6205',CUS_PROV ='กำแพงเพชร',CUS_PROVID ='62',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0844375397',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='16/1',CEN_MOO ='10',CEN_DIS ='คลองขลุง',CEN_DISID ='620501',CEN_AMP ='คลองขลุง',CEN_AMPID ='6205',CEN_PROV ='กำแพงเพชร',CEN_PROVID ='62',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2028060000',CEN_LONGITUDE ='99.7187810000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='620501',PLANT_SOURCE_DISTRICT ='6205',PLANT_SOURCE_PROVINCE ='62',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-05-31',last_access_time ='21:48:55',log_status ='e',log_user ='33370_1462',log_date ='2018-05-31',ex_status = 'e',ex_datetime ='2018-05-31 21:48:55',crm_status ='a',crm_datetime ='2018-05-31 21:47:22' WHERE C_TYPE_CODE = '1462' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805146200662';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1462' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805146200662'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3240800253411',OPERATE_DATE ='2018-05-31',DOC_NO ='',C_TYPE_CODE ='10',SUB_BRANCH_ID ='',CUS_ID ='M-1805001000663',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บาง',CUS_SNAME ='สุรินทร์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-12-03',CUS_ADD ='85/1',CUS_MOO ='8',CUS_DIS ='ท่ากระดาน',CUS_DISID ='240802',CUS_AMP ='สนามชัยเขต',CUS_AMPID ='2408',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='0633723150',CUS_MOBILE ='0626305261',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='85/1',CEN_MOO ='8',CEN_DIS ='ท่ากระดาน',CEN_DISID ='240802',CEN_AMP ='สนามชัยเขต',CEN_AMPID ='2408',CEN_PROV ='ฉะเชิงเทรา',CEN_PROVID ='24',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.6192950000',CEN_LONGITUDE ='101.6880800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='240802',PLANT_SOURCE_DISTRICT ='2408',PLANT_SOURCE_PROVINCE ='24',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-30',last_access_time ='06:10:16',log_status ='a',log_user ='45092_10',log_date ='2018-05-31',ex_status = 'e',ex_datetime ='2019-06-30 06:10:16',crm_status ='a',crm_datetime ='2018-05-31 22:31:18' WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805001000663';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1805001000663'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300700182456',OPERATE_DATE ='2018-06-01',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1806172700001',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='จุฑามาศ',CUS_SNAME ='ขืดสันเทียะ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1963-07-05',CUS_ADD ='26',CUS_MOO ='1',CUS_DIS ='พลับพลา',CUS_DISID ='300702',CUS_AMP ='โชคชัย',CUS_AMPID ='3007',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30190',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='26',CEN_MOO ='1',CEN_DIS ='พลับพลา',CEN_DISID ='300702',CEN_AMP ='โชคชัย',CEN_AMPID ='3007',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30190',CEN_TEL ='',CEN_LATITUDE ='14.7177760000',CEN_LONGITUDE ='102.1440120000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='300702',PLANT_SOURCE_DISTRICT ='3007',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-01',last_access_time ='10:28:19',log_status ='a',log_user ='sr_1727',log_date ='2018-06-01',ex_status = 'e',ex_datetime ='2018-06-01 10:28:19',crm_status ='a',crm_datetime ='2018-06-01 08:49:23' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700001';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700001'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300700516206',OPERATE_DATE ='2018-06-01',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1806172700002',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ธนพร',CUS_SNAME ='เที่ยงกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-01-01',CUS_ADD ='4',CUS_MOO ='1',CUS_DIS ='ท่าเยี่ยม',CUS_DISID ='300707',CUS_AMP ='โชคชัย',CUS_AMPID ='3007',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30190',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='4',CEN_MOO ='1',CEN_DIS ='ท่าเยี่ยม',CEN_DISID ='300707',CEN_AMP ='โชคชัย',CEN_AMPID ='3007',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30190',CEN_TEL ='',CEN_LATITUDE ='14.6726110000',CEN_LONGITUDE ='102.1975710000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='300707',PLANT_SOURCE_DISTRICT ='3007',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-06',last_access_time ='09:25:43',log_status ='a',log_user ='sr_1727',log_date ='2018-06-01',ex_status = 'e',ex_datetime ='2018-09-06 09:25:43',crm_status ='a',crm_datetime ='2018-06-01 08:57:36' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700002';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700002'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300700430204',OPERATE_DATE ='2018-06-01',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1806172700003',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='สุภาวดี',CUS_SNAME ='ขวัญเกตุ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1976-04-23',CUS_ADD ='33',CUS_MOO ='3',CUS_DIS ='ท่าลาดขาว',CUS_DISID ='300705',CUS_AMP ='โชคชัย',CUS_AMPID ='3007',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30190',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='33',CEN_MOO ='3',CEN_DIS ='ท่าลาดขาว',CEN_DISID ='300705',CEN_AMP ='โชคชัย',CEN_AMPID ='3007',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30190',CEN_TEL ='',CEN_LATITUDE ='14.6892170000',CEN_LONGITUDE ='102.1471020000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='300705',PLANT_SOURCE_DISTRICT ='3007',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-28',last_access_time ='13:41:55',log_status ='a',log_user ='sr_1727',log_date ='2018-06-01',ex_status = 'e',ex_datetime ='2018-06-28 13:41:55',crm_status ='a',crm_datetime ='2018-06-01 09:05:13' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700003';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700003'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300700513223',OPERATE_DATE ='2018-06-01',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1806172700004',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สายทอง',CUS_SNAME ='เสือเครือ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1957-10-02',CUS_ADD ='61',CUS_MOO ='1',CUS_DIS ='ท่าเยี่ยม',CUS_DISID ='300707',CUS_AMP ='โชคชัย',CUS_AMPID ='3007',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30190',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='61',CEN_MOO ='1',CEN_DIS ='ท่าเยี่ยม',CEN_DISID ='300707',CEN_AMP ='โชคชัย',CEN_AMPID ='3007',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30190',CEN_TEL ='',CEN_LATITUDE ='14.6726110000',CEN_LONGITUDE ='102.1975710000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='300707',PLANT_SOURCE_DISTRICT ='3007',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-01',last_access_time ='10:30:12',log_status ='a',log_user ='sr_1727',log_date ='2018-06-01',ex_status = 'e',ex_datetime ='2018-06-01 10:30:12',crm_status ='a',crm_datetime ='2018-06-01 09:13:55' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700004';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700004'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320500762921',OPERATE_DATE ='2018-06-01',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1806123200005',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บุญทัน',CUS_SNAME ='บุญพาทำ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1950-12-02',CUS_ADD ='303',CUS_MOO ='1',CUS_DIS ='ตานี',CUS_DISID ='320514',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32140',CUS_TEL ='0870878888',CUS_MOBILE ='0987865460',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='303',CEN_MOO ='1',CEN_DIS ='ตานี',CEN_DISID ='320514',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32140',CEN_TEL ='',CEN_LATITUDE ='14.6250290000',CEN_LONGITUDE ='103.2589530000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='320514',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-20',last_access_time ='22:58:14',log_status ='e',log_user ='65370_1232',log_date ='2018-06-13',ex_status = 'e',ex_datetime ='2018-10-20 22:58:14',crm_status ='a',crm_datetime ='2018-06-13 12:52:38' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200005';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200005'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3350100887262',OPERATE_DATE ='2018-06-01',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700007',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุวรรณ',CUS_SNAME ='อุทปัตย์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1964-11-27',CUS_ADD ='104',CUS_MOO ='12',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0881098633',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='104',CEN_MOO ='12',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-12',last_access_time ='15:33:17',log_status ='e',log_user ='65372_1227',log_date ='2018-06-01',ex_status = 'e',ex_datetime ='2018-06-12 15:33:17',crm_status ='a',crm_datetime ='2018-06-01 11:25:47' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700007';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700007'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3439900121296',OPERATE_DATE ='2018-06-01',DOC_NO ='',C_TYPE_CODE ='1634',SUB_BRANCH_ID ='',CUS_ID ='M-1806163400011',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='4',CUS_NAME ='สุภาวดี',CUS_SNAME ='บุตรเจริญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-08-01',CUS_ADD ='198',CUS_MOO ='12',CUS_DIS ='โพธิ์ชัย',CUS_DISID ='430103',CUS_AMP ='เมืองหนองคาย',CUS_AMPID ='4301',CUS_PROV ='หนองคาย',CUS_PROVID ='43',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0837374424',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='198',CEN_MOO ='12',CEN_DIS ='โพธิ์ชัย',CEN_DISID ='430103',CEN_AMP ='เมืองหนองคาย',CEN_AMPID ='4301',CEN_PROV ='หนองคาย',CEN_PROVID ='43',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.8611330000',CEN_LONGITUDE ='102.7571870000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='430103',PLANT_SOURCE_DISTRICT ='4301',PLANT_SOURCE_PROVINCE ='43',vat_status ='0',type_cus ='1',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-13',last_access_time ='18:49:23',log_status ='e',log_user ='62831_bms',log_date ='2019-04-25',ex_status = 'e',ex_datetime ='2018-08-13 18:49:23',crm_status ='a',crm_datetime ='2018-08-13 18:12:07' WHERE C_TYPE_CODE = '1634' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806163400011';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1634' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806163400011'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310700149726',OPERATE_DATE ='2018-06-02',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1806123200015',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='อุไร',CUS_SNAME ='สุดแสง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1973-07-09',CUS_ADD ='28',CUS_MOO ='3',CUS_DIS ='ไพศาล',CUS_DISID ='310713',CUS_AMP ='ประโคนชัย',CUS_AMPID ='3107',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31140',CUS_TEL ='0870878888',CUS_MOBILE ='0810615310',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='28',CEN_MOO ='3',CEN_DIS ='ไพศาล',CEN_DISID ='310713',CEN_AMP ='ประโคนชัย',CEN_AMPID ='3107',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31140',CEN_TEL ='',CEN_LATITUDE ='14.6453750000',CEN_LONGITUDE ='103.2103730000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='310713',PLANT_SOURCE_DISTRICT ='3107',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-04',last_access_time ='17:13:53',log_status ='e',log_user ='65369_1232',log_date ='2018-06-02',ex_status = 'e',ex_datetime ='2018-06-04 17:13:53',crm_status ='a',crm_datetime ='2018-06-02 11:00:15' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200015';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200015'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310700149670',OPERATE_DATE ='2018-06-02',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1806123200016',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='พิชัย',CUS_SNAME ='พิมพ์รัตน์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1946-05-12',CUS_ADD ='172',CUS_MOO ='3',CUS_DIS ='ไพศาล',CUS_DISID ='310713',CUS_AMP ='ประโคนชัย',CUS_AMPID ='3107',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31140',CUS_TEL ='0810615310',CUS_MOBILE ='0810615310',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='172',CEN_MOO ='3',CEN_DIS ='ไพศาล',CEN_DISID ='310713',CEN_AMP ='ประโคนชัย',CEN_AMPID ='3107',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31140',CEN_TEL ='',CEN_LATITUDE ='14.6453750000',CEN_LONGITUDE ='103.2103730000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='310713',PLANT_SOURCE_DISTRICT ='3107',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-22',last_access_time ='13:16:36',log_status ='e',log_user ='65369_1232',log_date ='2018-06-02',ex_status = 'e',ex_datetime ='2018-11-22 13:16:36',crm_status ='a',crm_datetime ='2018-06-02 11:07:01' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200016';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200016'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5320700014126',OPERATE_DATE ='2018-06-02',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1806123200017',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ทองแดง',CUS_SNAME ='กินไธสง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1952-01-10',CUS_ADD ='51',CUS_MOO ='3',CUS_DIS ='ไพศาล',CUS_DISID ='310713',CUS_AMP ='ประโคนชัย',CUS_AMPID ='3107',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31140',CUS_TEL ='0810615310',CUS_MOBILE ='0810615310',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='51',CEN_MOO ='3',CEN_DIS ='ไพศาล',CEN_DISID ='310713',CEN_AMP ='ประโคนชัย',CEN_AMPID ='3107',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31140',CEN_TEL ='',CEN_LATITUDE ='14.6453750000',CEN_LONGITUDE ='103.2103730000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='310713',PLANT_SOURCE_DISTRICT ='3107',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-21',last_access_time ='11:29:20',log_status ='e',log_user ='65369_1232',log_date ='2018-06-02',ex_status = 'e',ex_datetime ='2018-11-21 11:29:20',crm_status ='a',crm_datetime ='2018-06-02 11:16:36' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200017';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200017'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3430600038450',OPERATE_DATE ='2018-06-04',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700027',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ธนวัฒน์',CUS_SNAME ='สิงห์ทา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-03-20',CUS_ADD ='198',CUS_MOO ='6',CUS_DIS ='เหล่าทอง',CUS_DISID ='430607',CUS_AMP ='โซ่พิสัย',CUS_AMPID ='4306',CUS_PROV ='บึงกาฬ',CUS_PROVID ='97',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0981925635',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='198',CEN_MOO ='6',CEN_DIS ='เหล่าทอง',CEN_DISID ='430607',CEN_AMP ='โซ่พิสัย',CEN_AMPID ='4306',CEN_PROV ='บึงกาฬ',CEN_PROVID ='97',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='18.1158340000',CEN_LONGITUDE ='103.4273530000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='430607',PLANT_SOURCE_DISTRICT ='4306',PLANT_SOURCE_PROVINCE ='97',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-04',last_access_time ='08:44:15',log_status ='a',log_user ='56714_1227',log_date ='2018-06-04',ex_status = 'e',ex_datetime ='2018-06-04 08:44:15',crm_status ='a',crm_datetime ='2018-06-04 08:40:42' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700027';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700027'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300200628374',OPERATE_DATE ='2018-06-04',DOC_NO ='',C_TYPE_CODE ='1728',SUB_BRANCH_ID ='',CUS_ID ='M-1806172800030',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประยงค์',CUS_SNAME ='หมอกครบุรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1988-01-08',CUS_ADD ='48',CUS_MOO ='8',CUS_DIS ='ครบุรีใต้',CUS_DISID ='300210',CUS_AMP ='ครบุรี',CUS_AMPID ='3002',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0927933490',CUS_MOBILE ='0927933490',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='48',CEN_MOO ='8',CEN_DIS ='ครบุรีใต้',CEN_DISID ='300210',CEN_AMP ='ครบุรี',CEN_AMPID ='3002',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5410500000',CEN_LONGITUDE ='102.1604920000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300210',PLANT_SOURCE_DISTRICT ='3002',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-06',last_access_time ='15:12:47',log_status ='a',log_user ='sr_1728',log_date ='2018-06-04',ex_status = 'e',ex_datetime ='2018-10-06 15:12:47',crm_status ='a',crm_datetime ='2018-06-04 09:17:16' WHERE C_TYPE_CODE = '1728' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172800030';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1728' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172800030'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341600408038',OPERATE_DATE ='2018-06-04',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700035',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='นิ่มนวล',CUS_SNAME ='สังฆะคาม',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1967-12-20',CUS_ADD ='29',CUS_MOO ='4',CUS_DIS ='นาวัง',CUS_DISID ='370110',CUS_AMP ='เมืองอำนาจเจริญ',CUS_AMPID ='3701',CUS_PROV ='อำนาจเจริญ',CUS_PROVID ='37',CUS_POST ='0',CUS_TEL ='0857745525',CUS_MOBILE ='0881098633',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='29',CEN_MOO ='4',CEN_DIS ='นาวัง',CEN_DISID ='370110',CEN_AMP ='เมืองอำนาจเจริญ',CEN_AMPID ='3701',CEN_PROV ='อำนาจเจริญ',CEN_PROVID ='37',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.9990790000',CEN_LONGITUDE ='104.5525070000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='370110',PLANT_SOURCE_DISTRICT ='3701',PLANT_SOURCE_PROVINCE ='37',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-02',last_access_time ='15:26:45',log_status ='e',log_user ='65378_1227',log_date ='2018-06-09',ex_status = 'e',ex_datetime ='2019-07-02 15:26:45',crm_status ='a',crm_datetime ='2018-06-09 11:59:10' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700035';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700035'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3330600321977',OPERATE_DATE ='2018-06-04',DOC_NO ='',C_TYPE_CODE ='1732',SUB_BRANCH_ID ='',CUS_ID ='M-1806173200040',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อธิวัฒน์',CUS_SNAME ='สุดา',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1949-02-10',CUS_ADD ='123',CUS_MOO ='5',CUS_DIS ='ลมศักดิ์',CUS_DISID ='330525',CUS_AMP ='ขุขันธ์',CUS_AMPID ='3305',CUS_PROV ='ศรีสะเกษ',CUS_PROVID ='33',CUS_POST ='0',CUS_TEL ='0819777155',CUS_MOBILE ='0981030789',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='123',CEN_MOO ='5',CEN_DIS ='ลมศักดิ์',CEN_DISID ='330525',CEN_AMP ='ขุขันธ์',CEN_AMPID ='3305',CEN_PROV ='ศรีสะเกษ',CEN_PROVID ='33',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.7550460000',CEN_LONGITUDE ='104.2985340000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='330525',PLANT_SOURCE_DISTRICT ='3305',PLANT_SOURCE_PROVINCE ='33',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-02-28',last_access_time ='12:18:33',log_status ='e',log_user ='60436_1232',log_date ='2018-09-10',ex_status = 'e',ex_datetime ='2019-02-28 12:18:33',crm_status ='a',crm_datetime ='2018-09-10 10:48:38' WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806173200040';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806173200040'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1300700003709',OPERATE_DATE ='2018-06-05',DOC_NO ='',C_TYPE_CODE ='1351',SUB_BRANCH_ID ='',CUS_ID ='M-1806135100045',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='73',CUS_NAME ='ทรัพย์เพิ่มพูนแลนด์',CUS_SNAME ='จำกัด',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1998-06-05',CUS_ADD ='138-139',CUS_MOO ='1',CUS_DIS ='โชคชัย',CUS_DISID ='300708',CUS_AMP ='โชคชัย',CUS_AMPID ='3007',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30190',CUS_TEL ='0818769418',CUS_MOBILE ='0818769418',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='138-139',CEN_MOO ='1',CEN_DIS ='โชคชัย',CEN_DISID ='300708',CEN_AMP ='โชคชัย',CEN_AMPID ='3007',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30190',CEN_TEL ='',CEN_LATITUDE ='14.7317220000',CEN_LONGITUDE ='102.1646120000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='3',CUS_GROUP ='3',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='300708',PLANT_SOURCE_DISTRICT ='3007',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-05',last_access_time ='11:39:58',log_status ='a',log_user ='63771_1351',log_date ='2018-06-05',ex_status = 'e',ex_datetime ='2018-06-05 11:39:58',crm_status ='a',crm_datetime ='2018-06-05 11:17:23' WHERE C_TYPE_CODE = '1351' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806135100045';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1351' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806135100045'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300700370139',OPERATE_DATE ='2018-06-05',DOC_NO ='',C_TYPE_CODE ='1351',SUB_BRANCH_ID ='',CUS_ID ='M-1806135100046',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ธนินทร์',CUS_SNAME ='กาญจนขุนดี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1973-11-13',CUS_ADD ='122/1',CUS_MOO ='4',CUS_DIS ='ท่าเยี่ยม',CUS_DISID ='300707',CUS_AMP ='โชคชัย',CUS_AMPID ='3007',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='122/1',CEN_MOO ='4',CEN_DIS ='ท่าเยี่ยม',CEN_DISID ='300707',CEN_AMP ='โชคชัย',CEN_AMPID ='3007',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.6726110000',CEN_LONGITUDE ='102.1975710000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300707',PLANT_SOURCE_DISTRICT ='3007',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-05',last_access_time ='13:34:28',log_status ='a',log_user ='63917_1351',log_date ='2018-06-05',ex_status = 'e',ex_datetime ='2018-06-05 13:34:28',crm_status ='a',crm_datetime ='2018-06-05 11:18:09' WHERE C_TYPE_CODE = '1351' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806135100046';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1351' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806135100046'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300200698593',OPERATE_DATE ='2018-06-05',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1806172700052',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประเสริฐ',CUS_SNAME ='สงวนพันธุ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-01-20',CUS_ADD ='131',CUS_MOO ='5',CUS_DIS ='เฉลียง',CUS_DISID ='300202',CUS_AMP ='ครบุรี',CUS_AMPID ='3002',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0849585540',CUS_MOBILE ='0849585540',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='131',CEN_MOO ='5',CEN_DIS ='เฉลียง',CEN_DISID ='300202',CEN_AMP ='ครบุรี',CEN_AMPID ='3002',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5005020000',CEN_LONGITUDE ='102.2792820000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300202',PLANT_SOURCE_DISTRICT ='3002',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-05',last_access_time ='14:21:36',log_status ='a',log_user ='sr_1727',log_date ='2018-06-05',ex_status = 'e',ex_datetime ='2018-06-05 14:21:36',crm_status ='a',crm_datetime ='2018-06-05 12:49:52' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700052';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700052'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='2309900035082',OPERATE_DATE ='2018-06-05',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1806116200054',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วริยะ',CUS_SNAME ='หวานเสนาะ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1992-10-25',CUS_ADD ='41',CUS_MOO ='1',CUS_DIS ='หัวหนอง',CUS_DISID ='401017',CUS_AMP ='บ้านไผ่',CUS_AMPID ='4010',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0819747407',CUS_MOBILE ='0819747407',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='41',CEN_MOO ='1',CEN_DIS ='หัวหนอง',CEN_DISID ='401017',CEN_AMP ='บ้านไผ่',CEN_AMPID ='4010',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.0596710000',CEN_LONGITUDE ='102.6974490000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='401017',PLANT_SOURCE_DISTRICT ='4010',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-05',last_access_time ='14:35:33',log_status ='a',log_user ='56307_1162',log_date ='2018-06-05',ex_status = 'e',ex_datetime ='2018-06-05 14:35:33',crm_status ='a',crm_datetime ='2018-06-05 14:27:09' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806116200054';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806116200054'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3401200075791',OPERATE_DATE ='2018-06-05',DOC_NO ='',C_TYPE_CODE ='1736',SUB_BRANCH_ID ='',CUS_ID ='M-1806173600055',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บุญหนา',CUS_SNAME ='เหล็กโอ่ก',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-07-14',CUS_ADD ='118',CUS_MOO ='2',CUS_DIS ='โสกนกเต็น',CUS_DISID ='401212',CUS_AMP ='พล',CUS_AMPID ='4012',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0831442386',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='118',CEN_MOO ='2',CEN_DIS ='โสกนกเต็น',CEN_DISID ='401212',CEN_AMP ='พล',CEN_AMPID ='4012',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.8497290000',CEN_LONGITUDE ='102.6909260000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='401212',PLANT_SOURCE_DISTRICT ='4012',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-05',last_access_time ='14:48:53',log_status ='a',log_user ='sr_1736',log_date ='2018-06-05',ex_status = 'e',ex_datetime ='2018-06-05 14:48:53',crm_status ='a',crm_datetime ='2018-06-05 14:39:14' WHERE C_TYPE_CODE = '1736' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806173600055';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1736' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806173600055'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700159861',OPERATE_DATE ='2018-06-06',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700062',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ชัยชนะ',CUS_SNAME ='รัตนวงศ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1945-01-01',CUS_ADD ='60',CUS_MOO ='1',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0649020476',CUS_MOBILE ='0649020476',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='60',CEN_MOO ='1',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-27',last_access_time ='09:59:23',log_status ='e',log_user ='65372_1227',log_date ='2018-06-15',ex_status = 'e',ex_datetime ='2019-06-27 09:59:23',crm_status ='a',crm_datetime ='2018-06-15 08:34:36' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700062';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700062'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3430600570763',OPERATE_DATE ='2018-06-06',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700063',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สังวาล',CUS_SNAME ='พิมพันธุ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1973-03-03',CUS_ADD ='186',CUS_MOO ='8',CUS_DIS ='บัวตูม',CUS_DISID ='430605',CUS_AMP ='โซ่พิสัย',CUS_AMPID ='4306',CUS_PROV ='บึงกาฬ',CUS_PROVID ='97',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0817995152',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='186',CEN_MOO ='8',CEN_DIS ='บัวตูม',CEN_DISID ='430605',CEN_AMP ='โซ่พิสัย',CEN_AMPID ='4306',CEN_PROV ='บึงกาฬ',CEN_PROVID ='97',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='18.1057190000',CEN_LONGITUDE ='103.3370590000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='430605',PLANT_SOURCE_DISTRICT ='4306',PLANT_SOURCE_PROVINCE ='97',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-06',last_access_time ='11:36:07',log_status ='a',log_user ='56714_1227',log_date ='2018-06-06',ex_status = 'e',ex_datetime ='2018-06-06 11:36:07',crm_status ='a',crm_datetime ='2018-06-06 11:18:50' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700063';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700063'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700849476',OPERATE_DATE ='2018-06-06',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700066',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุรพล',CUS_SNAME ='อัศวภูมิ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-06-15',CUS_ADD ='170',CUS_MOO ='2',CUS_DIS ='โนนชัยศรี',CUS_DISID ='450707',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0833458195',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='170',CEN_MOO ='2',CEN_DIS ='โนนชัยศรี',CEN_DISID ='450707',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1932450000',CEN_LONGITUDE ='103.9483450000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450707',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-01-30',last_access_time ='18:45:13',log_status ='e',log_user ='65372_1227',log_date ='2018-06-15',ex_status = 'e',ex_datetime ='2019-01-30 18:45:13',crm_status ='a',crm_datetime ='2018-06-15 17:42:48' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700066';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700066'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700395611',OPERATE_DATE ='2018-06-06',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700067',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='มะลัย',CUS_SNAME ='ภูมิอินทร์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1951-07-03',CUS_ADD ='68',CUS_MOO ='9',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0981699960',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='68',CEN_MOO ='9',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-06',last_access_time ='13:14:27',log_status ='a',log_user ='65372_1227',log_date ='2018-06-06',ex_status = 'e',ex_datetime ='2018-06-06 13:14:27',crm_status ='a',crm_datetime ='2018-06-06 13:08:08' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700067';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700067'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3460900249707',OPERATE_DATE ='2018-06-06',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1806116200071',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='พันลอง',CUS_SNAME ='บุตรโพศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-03-02',CUS_ADD ='4',CUS_MOO ='5',CUS_DIS ='นิคม',CUS_DISID ='460905',CUS_AMP ='สหัสขันธ์',CUS_AMPID ='4609',CUS_PROV ='กาฬสินธุ์',CUS_PROVID ='46',CUS_POST ='46140',CUS_TEL ='0980460956',CUS_MOBILE ='0980460956',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='4',CEN_MOO ='5',CEN_DIS ='นิคม',CEN_DISID ='460905',CEN_AMP ='สหัสขันธ์',CEN_AMPID ='4609',CEN_PROV ='กาฬสินธุ์',CEN_PROVID ='46',CEN_POST ='46140',CEN_TEL ='',CEN_LATITUDE ='16.6743470000',CEN_LONGITUDE ='103.4905240000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='460905',PLANT_SOURCE_DISTRICT ='4609',PLANT_SOURCE_PROVINCE ='46',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-06',last_access_time ='15:19:55',log_status ='a',log_user ='65192_1162',log_date ='2018-06-06',ex_status = 'e',ex_datetime ='2018-06-06 15:19:55',crm_status ='a',crm_datetime ='2018-06-06 15:07:27' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806116200071';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806116200071'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3430500379484',OPERATE_DATE ='2018-06-08',DOC_NO ='',C_TYPE_CODE ='1686',SUB_BRANCH_ID ='',CUS_ID ='M-1806168600089',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='มีชัย',CUS_SNAME ='ศรีภูธร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-05-01',CUS_ADD ='238',CUS_MOO ='15',CUS_DIS ='โซ่',CUS_DISID ='430601',CUS_AMP ='โซ่พิสัย',CUS_AMPID ='4306',CUS_PROV ='บึงกาฬ',CUS_PROVID ='97',CUS_POST ='0',CUS_TEL ='0629479570',CUS_MOBILE ='0629479570',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='238',CEN_MOO ='15',CEN_DIS ='โซ่',CEN_DISID ='430601',CEN_AMP ='โซ่พิสัย',CEN_AMPID ='4306',CEN_PROV ='บึงกาฬ',CEN_PROVID ='97',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='18.0397890000',CEN_LONGITUDE ='103.4410860000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='430601',PLANT_SOURCE_DISTRICT ='4306',PLANT_SOURCE_PROVINCE ='97',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-15',last_access_time ='15:49:21',log_status ='a',log_user ='34731_1686',log_date ='2018-06-08',ex_status = 'e',ex_datetime ='2019-07-15 15:49:21',crm_status ='a',crm_datetime ='2018-06-08 07:13:54' WHERE C_TYPE_CODE = '1686' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806168600089';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1686' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806168600089'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3240800253402',OPERATE_DATE ='2018-06-08',DOC_NO ='',C_TYPE_CODE ='1115',SUB_BRANCH_ID ='',CUS_ID ='M-1806111500090',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ทองใบ',CUS_SNAME ='สุรินทร์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1943-08-17',CUS_ADD ='31',CUS_MOO ='8',CUS_DIS ='ท่ากระดาน',CUS_DISID ='240802',CUS_AMP ='สนามชัยเขต',CUS_AMPID ='2408',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0966645559',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='31',CEN_MOO ='8',CEN_DIS ='ท่ากระดาน',CEN_DISID ='240802',CEN_AMP ='สนามชัยเขต',CEN_AMPID ='2408',CEN_PROV ='ฉะเชิงเทรา',CEN_PROVID ='24',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.6192950000',CEN_LONGITUDE ='101.6880800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='240802',PLANT_SOURCE_DISTRICT ='2408',PLANT_SOURCE_PROVINCE ='24',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-01-28',last_access_time ='10:21:23',log_status ='a',log_user ='49692_1115',log_date ='2018-06-08',ex_status = 'e',ex_datetime ='2019-01-28 10:21:23',crm_status ='a',crm_datetime ='2018-06-08 09:01:55' WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806111500090';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806111500090'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1449900107033',OPERATE_DATE ='2018-06-08',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700093',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุเมธ',CUS_SNAME ='วงศาบาล',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1987-08-28',CUS_ADD ='99',CUS_MOO ='9',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0641478571',CUS_MOBILE ='0641478517',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='99',CEN_MOO ='9',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-08',last_access_time ='10:13:59',log_status ='a',log_user ='65378_1227',log_date ='2018-06-08',ex_status = 'e',ex_datetime ='2018-06-08 10:13:59',crm_status ='a',crm_datetime ='2018-06-08 10:07:15' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700093';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700093'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='',OPERATE_DATE ='2018-06-08',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1806146700094',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='ไว',CUS_SNAME ='งามวงษ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1983-02-18',CUS_ADD ='399',CUS_MOO ='4',CUS_DIS ='ท่ากระดาน',CUS_DISID ='240802',CUS_AMP ='สนามชัยเขต',CUS_AMPID ='2408',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0843513799',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='399',CEN_MOO ='4',CEN_DIS ='ท่ากระดาน',CEN_DISID ='240802',CEN_AMP ='สนามชัยเขต',CEN_AMPID ='2408',CEN_PROV ='ฉะเชิงเทรา',CEN_PROVID ='24',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.6192950000',CEN_LONGITUDE ='101.6880800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='240802',PLANT_SOURCE_DISTRICT ='2408',PLANT_SOURCE_PROVINCE ='24',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-11',last_access_time ='21:26:55',log_status ='e',log_user ='55496_1467',log_date ='2018-10-15',ex_status = 'e',ex_datetime ='2018-06-11 21:26:55',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806146700094';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806146700094'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3401900210313',OPERATE_DATE ='2018-06-08',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1806116200096',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='เสถียน',CUS_SNAME ='ศรีมูลโท',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1970-09-05',CUS_ADD ='23',CUS_MOO ='7',CUS_DIS ='เขาสวนกวาง',CUS_DISID ='401901',CUS_AMP ='เขาสวนกวาง',CUS_AMPID ='4019',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='40280',CUS_TEL ='0860426506',CUS_MOBILE ='0642464318',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='23',CEN_MOO ='7',CEN_DIS ='เขาสวนกวาง',CEN_DISID ='401901',CEN_AMP ='เขาสวนกวาง',CEN_AMPID ='4019',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='40280',CEN_TEL ='',CEN_LATITUDE ='16.8682910000',CEN_LONGITUDE ='102.8608700000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='401901',PLANT_SOURCE_DISTRICT ='4019',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-08',last_access_time ='16:44:01',log_status ='a',log_user ='65192_1162',log_date ='2018-06-08',ex_status = 'e',ex_datetime ='2018-06-08 16:44:01',crm_status ='a',crm_datetime ='2018-06-08 13:46:49' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806116200096';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806116200096'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451500143848',OPERATE_DATE ='2018-06-08',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700097',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุพัด',CUS_SNAME ='กุตัน',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-03-31',CUS_ADD ='84',CUS_MOO ='11',CUS_DIS ='ชุมพร',CUS_DISID ='451502',CUS_AMP ='เมยวดี',CUS_AMPID ='4515',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0881098633',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='84',CEN_MOO ='11',CEN_DIS ='ชุมพร',CEN_DISID ='451502',CEN_AMP ='เมยวดี',CEN_AMPID ='4515',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3575330000',CEN_LONGITUDE ='104.0921970000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451502',PLANT_SOURCE_DISTRICT ='4515',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-08',last_access_time ='15:35:57',log_status ='a',log_user ='65372_1227',log_date ='2018-06-08',ex_status = 'e',ex_datetime ='2018-06-08 15:35:57',crm_status ='a',crm_datetime ='2018-06-08 15:13:03' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700097';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700097'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1311100028639',OPERATE_DATE ='2018-06-08',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1806115500098',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='4',CUS_NAME ='อารีรัตน์',CUS_SNAME ='จงรัมย์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1985-04-23',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0924701077',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-14',last_access_time ='14:25:25',log_status ='a',log_user ='55496',log_date ='2018-06-08',ex_status = 'e',ex_datetime ='2018-07-14 14:25:25',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500098';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500098'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1620400096911',OPERATE_DATE ='2018-06-08',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700099',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='จำลอง',CUS_SNAME ='ศรีเมือง',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1987-02-17',CUS_ADD ='37',CUS_MOO ='6',CUS_DIS ='หนองขุ่นใหญ่',CUS_DISID ='450906',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0935428407',CUS_MOBILE ='0935428407',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='37',CEN_MOO ='6',CEN_DIS ='หนองขุ่นใหญ่',CEN_DISID ='450906',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2265420000',CEN_LONGITUDE ='104.1445540000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450906',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-08',last_access_time ='15:34:35',log_status ='a',log_user ='65378_1227',log_date ='2018-06-08',ex_status = 'e',ex_datetime ='2018-06-08 15:34:35',crm_status ='a',crm_datetime ='2018-06-08 15:28:37' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700099';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700099'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1101401647437',OPERATE_DATE ='2018-06-08',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1806115500101',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อภิชาติ',CUS_SNAME ='พวงพืช',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1989-05-25',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='หนองกี่',CUS_DISID ='250211',CUS_AMP ='กบินทร์บุรี',CUS_AMPID ='2502',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0835669021',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='หนองกี่',CEN_DISID ='250211',CEN_AMP ='กบินทร์บุรี',CEN_AMPID ='2502',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0639860000',CEN_LONGITUDE ='101.8109890000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-14',last_access_time ='15:46:31',log_status ='e',log_user ='55496',log_date ='2018-06-08',ex_status = 'e',ex_datetime ='2018-09-14 15:46:31',crm_status ='a',crm_datetime ='2018-06-08 16:06:52' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500101';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500101'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1440400090613',OPERATE_DATE ='2018-06-09',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1806172700106',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='จตุพล',CUS_SNAME ='นามพุทธา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1987-02-23',CUS_ADD ='26',CUS_MOO ='2',CUS_DIS ='ท่าขอนยาง',CUS_DISID ='440404',CUS_AMP ='กันทรวิชัย',CUS_AMPID ='4404',CUS_PROV ='มหาสารคาม',CUS_PROVID ='44',CUS_POST ='44150',CUS_TEL ='0971197039',CUS_MOBILE ='0971197039',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='26',CEN_MOO ='2',CEN_DIS ='ท่าขอนยาง',CEN_DISID ='440404',CEN_AMP ='กันทรวิชัย',CEN_AMPID ='4404',CEN_PROV ='มหาสารคาม',CEN_PROVID ='44',CEN_POST ='44150',CEN_TEL ='',CEN_LATITUDE ='16.2387390000',CEN_LONGITUDE ='103.2704540000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='440403',PLANT_SOURCE_DISTRICT ='4404',PLANT_SOURCE_PROVINCE ='44',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-25',last_access_time ='14:27:55',log_status ='e',log_user ='sr_1727',log_date ='2018-06-09',ex_status = 'e',ex_datetime ='2018-06-25 14:27:55',crm_status ='a',crm_datetime ='2018-06-09 09:58:11' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700106';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700106'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3311101038880',OPERATE_DATE ='2018-06-09',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1806123200108',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='พาณิชย์',CUS_SNAME ='สะรางรัมย์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1980-05-20',CUS_ADD ='17',CUS_MOO ='8',CUS_DIS ='ด่าน',CUS_DISID ='320605',CUS_AMP ='กาบเชิง',CUS_AMPID ='3206',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32210',CUS_TEL ='',CUS_MOBILE ='0982478916',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='17',CEN_MOO ='8',CEN_DIS ='ด่าน',CEN_DISID ='320605',CEN_AMP ='กาบเชิง',CEN_AMPID ='3206',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32210',CEN_TEL ='',CEN_LATITUDE ='14.4803090000',CEN_LONGITUDE ='103.7114520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='320605',PLANT_SOURCE_DISTRICT ='3206',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-09',last_access_time ='10:25:49',log_status ='a',log_user ='52575_1232',log_date ='2018-06-09',ex_status = 'e',ex_datetime ='2018-06-09 10:25:49',crm_status ='a',crm_datetime ='2018-06-09 10:22:31' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200108';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200108'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1610200003332',OPERATE_DATE ='2018-06-09',DOC_NO ='',C_TYPE_CODE ='1433',SUB_BRANCH_ID ='',CUS_ID ='M-1806143300109',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='54',CUS_NAME ='ดุสิต',CUS_SNAME ='ตั้งกมลศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1984-07-07',CUS_ADD ='1',CUS_MOO ='3',CUS_DIS ='พระพุทธบาท',CUS_DISID ='430704',CUS_AMP ='ศรีเชียงใหม่',CUS_AMPID ='4307',CUS_PROV ='หนองคาย',CUS_PROVID ='43',CUS_POST ='43130',CUS_TEL ='0856053343',CUS_MOBILE ='0856053343',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='4',CEN_MOO ='4',CEN_DIS ='หนองกระทุ่ม',CEN_DISID ='610208',CEN_AMP ='ทัพทัน',CEN_AMPID ='6102',CEN_PROV ='อุทัยธานี',CEN_PROVID ='61',CEN_POST ='43130',CEN_TEL ='',CEN_LATITUDE ='15.4976870000',CEN_LONGITUDE ='99.8042680000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='430704',PLANT_SOURCE_DISTRICT ='4307',PLANT_SOURCE_PROVINCE ='43',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-04',last_access_time ='10:15:51',log_status ='e',log_user ='sr_1723',log_date ='2018-06-09',ex_status = 'e',ex_datetime ='2018-07-04 10:15:51',crm_status ='a',crm_datetime ='2018-06-09 14:47:15' WHERE C_TYPE_CODE = '1433' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806143300109';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1433' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806143300109'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1341900108904',OPERATE_DATE ='2018-06-09',DOC_NO ='',C_TYPE_CODE ='1055',SUB_BRANCH_ID ='',CUS_ID ='M-1806105500110',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วิษณุ',CUS_SNAME ='พูลทรัพย์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1987-11-09',CUS_ADD ='70',CUS_MOO ='5',CUS_DIS ='กุดชมภู',CUS_DISID ='341902',CUS_AMP ='พิบูลมังสาหาร',CUS_AMPID ='3419',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='0',CUS_TEL ='045959606',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='70',CEN_MOO ='5',CEN_DIS ='กุดชมภู',CEN_DISID ='341902',CEN_AMP ='พิบูลมังสาหาร',CEN_AMPID ='3419',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.2252270000',CEN_LONGITUDE ='105.2754590000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='341902',PLANT_SOURCE_DISTRICT ='3419',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-09',last_access_time ='13:19:29',log_status ='a',log_user ='65205_1055',log_date ='2018-06-09',ex_status = 'e',ex_datetime ='2018-06-09 13:19:29',crm_status ='a',crm_datetime ='2018-06-09 12:59:39' WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806105500110';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806105500110'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341900841543',OPERATE_DATE ='2018-06-09',DOC_NO ='',C_TYPE_CODE ='1055',SUB_BRANCH_ID ='',CUS_ID ='M-1806105500111',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ถวิล',CUS_SNAME ='พูลไชย',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-12-29',CUS_ADD ='156',CUS_MOO ='5',CUS_DIS ='กุดชมภู',CUS_DISID ='341902',CUS_AMP ='พิบูลมังสาหาร',CUS_AMPID ='3419',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='0',CUS_TEL ='045959606',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='156',CEN_MOO ='5',CEN_DIS ='กุดชมภู',CEN_DISID ='341902',CEN_AMP ='พิบูลมังสาหาร',CEN_AMPID ='3419',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.2252270000',CEN_LONGITUDE ='105.2754590000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='342505',PLANT_SOURCE_DISTRICT ='3425',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-09',last_access_time ='13:19:24',log_status ='a',log_user ='65191_1055',log_date ='2018-06-09',ex_status = 'e',ex_datetime ='2018-06-09 13:19:24',crm_status ='a',crm_datetime ='2018-06-09 13:01:48' WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806105500111';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806105500111'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1311200005819',OPERATE_DATE ='2018-06-09',DOC_NO ='',C_TYPE_CODE ='1720',SUB_BRANCH_ID ='',CUS_ID ='M-1806172000112',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='4',CUS_NAME ='พิมพา',CUS_SNAME ='พันจะริต',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1984-08-02',CUS_ADD ='176/79',CUS_MOO ='2',CUS_DIS ='โคกมะม่วง',CUS_DISID ='311204',CUS_AMP ='ปะคำ',CUS_AMPID ='3112',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31220',CUS_TEL ='0982295139',CUS_MOBILE ='0931063119',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='206',CEN_MOO ='8',CEN_DIS ='กุดโบสถ์',CEN_DISID ='300304',CEN_AMP ='เสิงสาง',CEN_AMPID ='3003',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30330',CEN_TEL ='',CEN_LATITUDE ='14.4303580000',CEN_LONGITUDE ='102.5285340000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='311204',PLANT_SOURCE_DISTRICT ='3112',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-30',last_access_time ='15:15:14',log_status ='e',log_user ='sr_1766',log_date ='2018-09-16',ex_status = 'e',ex_datetime ='2018-10-30 15:15:14',crm_status ='a',crm_datetime ='2018-09-16 15:45:56' WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172000112';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172000112'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3100600607465',OPERATE_DATE ='2018-06-10',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700116',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='โกมล',CUS_SNAME ='ผลอุดม',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1963-01-27',CUS_ADD ='199',CUS_MOO ='5',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0870874380',CUS_MOBILE ='0870874380',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='199',CEN_MOO ='5',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-10',last_access_time ='12:29:16',log_status ='a',log_user ='65378_1227',log_date ='2018-06-10',ex_status = 'e',ex_datetime ='2018-06-10 12:29:16',crm_status ='a',crm_datetime ='2018-06-10 12:25:51' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700116';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700116'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1401400011684',OPERATE_DATE ='2018-06-10',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700118',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='นิพนธ์',CUS_SNAME ='อินทิแสน',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1985-05-13',CUS_ADD ='1',CUS_MOO ='7',CUS_DIS ='ท่านางแนว',CUS_DISID ='401403',CUS_AMP ='แวงน้อย',CUS_AMPID ='4014',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0800064797',CUS_MOBILE ='0800064797',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='1',CEN_MOO ='7',CEN_DIS ='ท่านางแนว',CEN_DISID ='401403',CEN_AMP ='แวงน้อย',CEN_AMPID ='4014',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.8626090000',CEN_LONGITUDE ='102.3427960000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='401403',PLANT_SOURCE_DISTRICT ='4014',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-10',last_access_time ='12:43:07',log_status ='a',log_user ='65378_1227',log_date ='2018-06-10',ex_status = 'e',ex_datetime ='2018-06-10 12:43:07',crm_status ='a',crm_datetime ='2018-06-10 12:37:54' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700118';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700118'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1311100110696',OPERATE_DATE ='2018-06-11',DOC_NO ='',C_TYPE_CODE ='1523',SUB_BRANCH_ID ='',CUS_ID ='M-1806152300121',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='นิภาวรรณ',CUS_SNAME ='จำเริญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1987-11-21',CUS_ADD ='23',CUS_MOO ='13',CUS_DIS ='ดงพลอง',CUS_DISID ='312202',CUS_AMP ='แคนดง',CUS_AMPID ='3122',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31150',CUS_TEL ='0969454119',CUS_MOBILE ='0969454119',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='23',CEN_MOO ='13',CEN_DIS ='ดงพลอง',CEN_DISID ='312202',CEN_AMP ='แคนดง',CEN_AMPID ='3122',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31150',CEN_TEL ='',CEN_LATITUDE ='15.3114230000',CEN_LONGITUDE ='103.1577800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='312202',PLANT_SOURCE_DISTRICT ='3122',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-21',last_access_time ='16:51:32',log_status ='a',log_user ='60118_1523',log_date ='2018-06-11',ex_status = 'e',ex_datetime ='2018-12-21 16:51:32',crm_status ='a',crm_datetime ='2018-06-11 09:07:28' WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300121';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300121'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3311100983017',OPERATE_DATE ='2018-06-11',DOC_NO ='',C_TYPE_CODE ='1523',SUB_BRANCH_ID ='',CUS_ID ='M-1806152300124',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ลำพวย',CUS_SNAME ='ศรีคำ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-06-05',CUS_ADD ='48',CUS_MOO ='8',CUS_DIS ='ดงพลอง',CUS_DISID ='312202',CUS_AMP ='แคนดง',CUS_AMPID ='3122',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31150',CUS_TEL ='0969454119',CUS_MOBILE ='0969454119',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='48',CEN_MOO ='8',CEN_DIS ='ดงพลอง',CEN_DISID ='312202',CEN_AMP ='แคนดง',CEN_AMPID ='3122',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31150',CEN_TEL ='',CEN_LATITUDE ='15.3114230000',CEN_LONGITUDE ='103.1577800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='312202',PLANT_SOURCE_DISTRICT ='3122',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-21',last_access_time ='16:50:31',log_status ='a',log_user ='60118_1523',log_date ='2018-06-11',ex_status = 'e',ex_datetime ='2018-12-21 16:50:31',crm_status ='a',crm_datetime ='2018-06-11 10:03:05' WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300124';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300124'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='2311100029609',OPERATE_DATE ='2018-06-11',DOC_NO ='',C_TYPE_CODE ='1523',SUB_BRANCH_ID ='',CUS_ID ='M-1806152300127',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เจตริน',CUS_SNAME ='สุทโธ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1982-03-02',CUS_ADD ='63',CUS_MOO ='8',CUS_DIS ='ดงพลอง',CUS_DISID ='312202',CUS_AMP ='แคนดง',CUS_AMPID ='3122',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31150',CUS_TEL ='0611709457',CUS_MOBILE ='0611709457',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='63',CEN_MOO ='8',CEN_DIS ='ดงพลอง',CEN_DISID ='312202',CEN_AMP ='แคนดง',CEN_AMPID ='3122',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31150',CEN_TEL ='',CEN_LATITUDE ='15.3114230000',CEN_LONGITUDE ='103.1577800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='312202',PLANT_SOURCE_DISTRICT ='3122',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-21',last_access_time ='16:48:00',log_status ='a',log_user ='60118_1523',log_date ='2018-06-11',ex_status = 'e',ex_datetime ='2018-12-21 16:48:00',crm_status ='a',crm_datetime ='2018-06-11 11:55:33' WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300127';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300127'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3311100984307',OPERATE_DATE ='2018-06-11',DOC_NO ='',C_TYPE_CODE ='1523',SUB_BRANCH_ID ='',CUS_ID ='M-1806152300128',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ผล',CUS_SNAME ='ศรีคำ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1946-12-01',CUS_ADD ='107',CUS_MOO ='13',CUS_DIS ='ดงพลอง',CUS_DISID ='312202',CUS_AMP ='แคนดง',CUS_AMPID ='3122',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31150',CUS_TEL ='090334312',CUS_MOBILE ='0908153312',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='107',CEN_MOO ='13',CEN_DIS ='ดงพลอง',CEN_DISID ='312202',CEN_AMP ='แคนดง',CEN_AMPID ='3122',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31150',CEN_TEL ='',CEN_LATITUDE ='15.3114230000',CEN_LONGITUDE ='103.1577800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='312202',PLANT_SOURCE_DISTRICT ='3122',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-21',last_access_time ='16:46:49',log_status ='a',log_user ='60118_1523',log_date ='2018-06-11',ex_status = 'e',ex_datetime ='2018-12-21 16:46:49',crm_status ='a',crm_datetime ='2018-06-11 13:13:32' WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300128';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300128'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900486288',OPERATE_DATE ='2018-06-11',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700129',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='บุญเพ็ง',CUS_SNAME ='พนมเขต',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1977-06-01',CUS_ADD ='220',CUS_MOO ='1',CUS_DIS ='ท่าสีดา',CUS_DISID ='450909',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0611522286',CUS_MOBILE ='0611522286',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='220',CEN_MOO ='1',CEN_DIS ='ท่าสีดา',CEN_DISID ='450909',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2054440000',CEN_LONGITUDE ='104.2128750000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450909',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-13',last_access_time ='13:16:11',log_status ='a',log_user ='65378_1227',log_date ='2018-06-11',ex_status = 'e',ex_datetime ='2018-06-13 13:16:11',crm_status ='a',crm_datetime ='2018-06-11 14:16:44' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700129';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700129'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700158783',OPERATE_DATE ='2018-06-11',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700130',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทินภัทร',CUS_SNAME ='ภูมิภาค',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-04-08',CUS_ADD ='101',CUS_MOO ='2',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0982234402',CUS_MOBILE ='0982234402',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='101',CEN_MOO ='2',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-12',last_access_time ='16:18:38',log_status ='a',log_user ='65378_1227',log_date ='2018-06-11',ex_status = 'e',ex_datetime ='2018-06-12 16:18:38',crm_status ='a',crm_datetime ='2018-06-11 14:29:26' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700130';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700130'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300119880',OPERATE_DATE ='2018-06-12',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1806115500137',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ทองเมฆ',CUS_SNAME ='ศรีอุรมย์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-09-02',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-22',last_access_time ='09:52:09',log_status ='a',log_user ='55496',log_date ='2018-06-12',ex_status = 'e',ex_datetime ='2018-06-22 09:52:09',crm_status ='a',crm_datetime ='2018-06-12 14:45:55' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500137';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500137'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1311400055470',OPERATE_DATE ='2018-06-12',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1806172700138',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อุทัย',CUS_SNAME ='จันทร์สมุด',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1989-11-26',CUS_ADD ='79',CUS_MOO ='8',CUS_DIS ='เมืองฝ้าย',CUS_DISID ='311406',CUS_AMP ='หนองหงส์',CUS_AMPID ='3114',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31240',CUS_TEL ='0898163010',CUS_MOBILE ='0898163630',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='79',CEN_MOO ='8',CEN_DIS ='เมืองฝ้าย',CEN_DISID ='311406',CEN_AMP ='หนองหงส์',CEN_AMPID ='3114',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31240',CEN_TEL ='',CEN_LATITUDE ='14.8210220000',CEN_LONGITUDE ='102.7225110000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='311406',PLANT_SOURCE_DISTRICT ='3114',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-12',last_access_time ='14:55:31',log_status ='a',log_user ='sr_1727',log_date ='2018-06-12',ex_status = 'e',ex_datetime ='2018-06-12 14:55:31',crm_status ='a',crm_datetime ='2018-06-12 14:47:38' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700138';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700138'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3461400207950',OPERATE_DATE ='2018-06-12',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1806115500139',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='รัศมี',CUS_SNAME ='ทองเงิน',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-02-07',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0632386134',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-12',last_access_time ='14:58:30',log_status ='a',log_user ='55496',log_date ='2018-06-12',ex_status = 'e',ex_datetime ='2018-06-12 14:58:30',crm_status ='a',crm_datetime ='2018-06-12 14:54:51' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500139';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500139'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3102001915270',OPERATE_DATE ='2018-06-12',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1806123200144',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สมพร',CUS_SNAME ='ศรีสุริยชัย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1949-06-01',CUS_ADD ='53',CUS_MOO ='5',CUS_DIS ='โคกมะขาม',CUS_DISID ='310718',CUS_AMP ='ประโคนชัย',CUS_AMPID ='3107',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31140',CUS_TEL ='0819490940',CUS_MOBILE ='0819490940',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='53',CEN_MOO ='5',CEN_DIS ='โคกมะขาม',CEN_DISID ='310718',CEN_AMP ='ประโคนชัย',CEN_AMPID ='3107',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31140',CEN_TEL ='',CEN_LATITUDE ='14.5789320000',CEN_LONGITUDE ='103.1453130000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='320514',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-13',last_access_time ='09:56:31',log_status ='e',log_user ='65370_1232',log_date ='2018-06-13',ex_status = 'e',ex_datetime ='2018-06-13 09:56:31',crm_status ='a',crm_datetime ='2018-06-13 13:09:34' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200144';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200144'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3350100223101',OPERATE_DATE ='2018-06-13',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1806136900148',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='นุชศรา',CUS_SNAME ='กาลจักร',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1982-05-28',CUS_ADD ='31/2',CUS_MOO ='13',CUS_DIS ='คำเตย',CUS_DISID ='350904',CUS_AMP ='ไทยเจริญ',CUS_AMPID ='3509',CUS_PROV ='ยโสธร',CUS_PROVID ='35',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0872480831',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='31/2',CEN_MOO ='13',CEN_DIS ='คำเตย',CEN_DISID ='350904',CEN_AMP ='ไทยเจริญ',CEN_AMPID ='3509',CEN_PROV ='ยโสธร',CEN_PROVID ='35',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.0860630000',CEN_LONGITUDE ='104.4095990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='350904',PLANT_SOURCE_DISTRICT ='3509',PLANT_SOURCE_PROVINCE ='35',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-12',last_access_time ='13:36:09',log_status ='a',log_user ='58357_1369',log_date ='2018-06-13',ex_status = 'e',ex_datetime ='2019-07-12 13:36:09',crm_status ='a',crm_datetime ='2018-06-13 09:10:22' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806136900148';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806136900148'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700398512',OPERATE_DATE ='2018-06-13',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700151',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สมปอง',CUS_SNAME ='ทองโชติ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1977-11-13',CUS_ADD ='159',CUS_MOO ='9',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0893768978',CUS_MOBILE ='0881098633',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='159',CEN_MOO ='9',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-18',last_access_time ='13:47:30',log_status ='a',log_user ='65372_1227',log_date ='2018-06-13',ex_status = 'e',ex_datetime ='2018-06-18 13:47:30',crm_status ='a',crm_datetime ='2018-06-13 14:54:32' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700151';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700151'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5450700002127',OPERATE_DATE ='2018-06-13',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700153',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ละมุล',CUS_SNAME ='เสนาวงศ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-08-04',CUS_ADD ='117',CUS_MOO ='9',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0893768978',CUS_MOBILE ='0881098633',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='117',CEN_MOO ='9',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-18',last_access_time ='13:50:49',log_status ='a',log_user ='65372_1227',log_date ='2018-06-13',ex_status = 'e',ex_datetime ='2018-06-18 13:50:49',crm_status ='a',crm_datetime ='2018-06-13 15:04:23' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700153';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700153'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1311290011058',OPERATE_DATE ='2018-06-13',DOC_NO ='',C_TYPE_CODE ='1720',SUB_BRANCH_ID ='',CUS_ID ='M-1806172000154',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='นิตยา',CUS_SNAME ='วงเวียน',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='พงษ์นที',MARRY_SNAME ='โพธิ์นางรอง',CUS_OLD ='1985-12-20',CUS_ADD ='171/1',CUS_MOO ='3',CUS_DIS ='โคกมะม่วง',CUS_DISID ='311204',CUS_AMP ='ปะคำ',CUS_AMPID ='3112',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31220',CUS_TEL ='0843319057',CUS_MOBILE ='0843319057',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='163/3',CEN_MOO ='6',CEN_DIS ='โคกมะม่วง',CEN_DISID ='311204',CEN_AMP ='ปะคำ',CEN_AMPID ='3112',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31220',CEN_TEL ='',CEN_LATITUDE ='14.4346800000',CEN_LONGITUDE ='102.6226040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='311204',PLANT_SOURCE_DISTRICT ='3112',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-24',last_access_time ='13:57:41',log_status ='e',log_user ='65187_1720',log_date ='2018-06-14',ex_status = 'e',ex_datetime ='2018-09-24 13:57:41',crm_status ='a',crm_datetime ='2018-06-14 08:56:09' WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172000154';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172000154'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700162063',OPERATE_DATE ='2018-06-13',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700155',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='พิรดา',CUS_SNAME ='พระสว่าง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-02-23',CUS_ADD ='148',CUS_MOO ='3',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0881098633',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='148',CEN_MOO ='3',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-31',last_access_time ='19:18:45',log_status ='a',log_user ='65372_1227',log_date ='2018-06-13',ex_status = 'e',ex_datetime ='2018-08-31 19:18:45',crm_status ='a',crm_datetime ='2018-06-13 15:23:51' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700155';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700155'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700162047',OPERATE_DATE ='2018-06-13',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700156',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อวยชัย',CUS_SNAME ='พระสว่าง',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1944-06-19',CUS_ADD ='1',CUS_MOO ='4',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0888109863',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='1',CEN_MOO ='4',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-04-24',last_access_time ='11:16:38',log_status ='a',log_user ='65372_1227',log_date ='2018-06-13',ex_status = 'e',ex_datetime ='2019-04-24 11:16:38',crm_status ='a',crm_datetime ='2018-06-13 15:30:39' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700156';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700156'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5400700001546',OPERATE_DATE ='2018-06-14',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1806116200160',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='วันทอง',CUS_SNAME ='คำอินทร์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1935-08-01',CUS_ADD ='75',CUS_MOO ='11',CUS_DIS ='บัวใหญ่',CUS_DISID ='400704',CUS_AMP ='น้ำพอง',CUS_AMPID ='4007',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='40140',CUS_TEL ='0938325616',CUS_MOBILE ='0938325616',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='75',CEN_MOO ='11',CEN_DIS ='บัวใหญ่',CEN_DISID ='400704',CEN_AMP ='น้ำพอง',CEN_AMPID ='4007',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='40140',CEN_TEL ='',CEN_LATITUDE ='16.6157960000',CEN_LONGITUDE ='102.9439540000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400704',PLANT_SOURCE_DISTRICT ='4007',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-04',last_access_time ='16:26:23',log_status ='a',log_user ='65192_1162',log_date ='2018-06-14',ex_status = 'e',ex_datetime ='2018-09-04 16:26:23',crm_status ='a',crm_datetime ='2018-06-14 08:45:16' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806116200160';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806116200160'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700099817',OPERATE_DATE ='2018-06-14',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700171',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='บังอร',CUS_SNAME ='สานุศาสตร์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-06-15',CUS_ADD ='207',CUS_MOO ='4',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0862405016',CUS_MOBILE ='0862405016',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='207',CEN_MOO ='4',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-14',last_access_time ='16:19:17',log_status ='a',log_user ='65378_1227',log_date ='2018-06-14',ex_status = 'e',ex_datetime ='2018-06-14 16:19:17',crm_status ='a',crm_datetime ='2018-06-14 16:14:22' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700171';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700171'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1471200010994',OPERATE_DATE ='2018-07-19',DOC_NO ='',C_TYPE_CODE ='1055',SUB_BRANCH_ID ='',CUS_ID ='M-1807105500212',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='อรอุมา',CUS_SNAME ='วงศ์ธร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1984-05-02',CUS_ADD ='84',CUS_MOO ='11',CUS_DIS ='นิคมลำโดมน้อย',CUS_DISID ='342504',CUS_AMP ='สิรินธร',CUS_AMPID ='3425',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='34350',CUS_TEL ='0874433143',CUS_MOBILE ='0874433143',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='84',CEN_MOO ='11',CEN_DIS ='นิคมลำโดมน้อย',CEN_DISID ='342504',CEN_AMP ='สิรินธร',CEN_AMPID ='3425',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='34350',CEN_TEL ='',CEN_LATITUDE ='15.2295330000',CEN_LONGITUDE ='105.4196550000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='342504',PLANT_SOURCE_DISTRICT ='3425',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-19',last_access_time ='17:38:30',log_status ='a',log_user ='46986_1055',log_date ='2018-07-19',ex_status = 'e',ex_datetime ='2018-07-19 17:38:30',crm_status ='a',crm_datetime ='2018-07-19 17:18:46' WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807105500212';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807105500212'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3350600215573',OPERATE_DATE ='2018-09-11',DOC_NO ='',C_TYPE_CODE ='1726',SUB_BRANCH_ID ='',CUS_ID ='M-1809172600142',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทองลา',CUS_SNAME ='นามบุญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-10-22',CUS_ADD ='5',CUS_MOO ='6',CUS_DIS ='สงยาง',CUS_DISID ='350610',CUS_AMP ='มหาชนะชัย',CUS_AMPID ='3506',CUS_PROV ='ยโสธร',CUS_PROVID ='35',CUS_POST ='35130',CUS_TEL ='0807687605',CUS_MOBILE ='0807687605',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='5',CEN_MOO ='6',CEN_DIS ='สงยาง',CEN_DISID ='350610',CEN_AMP ='มหาชนะชัย',CEN_AMPID ='3506',CEN_PROV ='ยโสธร',CEN_PROVID ='35',CEN_POST ='35130',CEN_TEL ='',CEN_LATITUDE ='15.4559970000',CEN_LONGITUDE ='104.2354060000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='350610',PLANT_SOURCE_DISTRICT ='3506',PLANT_SOURCE_PROVINCE ='35',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-11',last_access_time ='10:59:29',log_status ='a',log_user ='sr_1726',log_date ='2018-09-11',ex_status = 'e',ex_datetime ='2018-09-11 10:59:29',crm_status ='a',crm_datetime ='2018-09-11 08:37:08' WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172600142';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172600142'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3311100985931',OPERATE_DATE ='2018-06-15',DOC_NO ='',C_TYPE_CODE ='1523',SUB_BRANCH_ID ='',CUS_ID ='M-1806152300179',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ทองขัน',CUS_SNAME ='โครตจันทึก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-06-15',CUS_ADD ='73',CUS_MOO ='13',CUS_DIS ='ดงพลอง',CUS_DISID ='312202',CUS_AMP ='แคนดง',CUS_AMPID ='3122',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31150',CUS_TEL ='0969454119',CUS_MOBILE ='0969454119',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='73',CEN_MOO ='13',CEN_DIS ='ดงพลอง',CEN_DISID ='312202',CEN_AMP ='แคนดง',CEN_AMPID ='3122',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31150',CEN_TEL ='',CEN_LATITUDE ='15.3114230000',CEN_LONGITUDE ='103.1577800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='312202',PLANT_SOURCE_DISTRICT ='3122',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-21',last_access_time ='16:53:22',log_status ='a',log_user ='60118_1523',log_date ='2018-06-15',ex_status = 'e',ex_datetime ='2018-12-21 16:53:22',crm_status ='a',crm_datetime ='2018-06-15 10:54:20' WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300179';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300179'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3319900166843',OPERATE_DATE ='2018-06-15',DOC_NO ='',C_TYPE_CODE ='1523',SUB_BRANCH_ID ='',CUS_ID ='M-1806152300182',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สำราญ',CUS_SNAME ='ธนูชาญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1950-02-25',CUS_ADD ='225',CUS_MOO ='2',CUS_DIS ='ในเมือง',CUS_DISID ='310101',CUS_AMP ='เมืองบุรีรัมย์',CUS_AMPID ='3101',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31150',CUS_TEL ='0868690608',CUS_MOBILE ='0868690608',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='225',CEN_MOO ='2',CEN_DIS ='ในเมือง',CEN_DISID ='310101',CEN_AMP ='เมืองบุรีรัมย์',CEN_AMPID ='3101',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31150',CEN_TEL ='',CEN_LATITUDE ='14.9950330000',CEN_LONGITUDE ='103.1101230000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='3.00',PLANT_SOURCE_SUBDISTRICT ='310101',PLANT_SOURCE_DISTRICT ='3101',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-21',last_access_time ='16:52:25',log_status ='a',log_user ='60118_1523',log_date ='2018-06-15',ex_status = 'e',ex_datetime ='2018-12-21 16:52:25',crm_status ='a',crm_datetime ='2018-06-15 13:45:15' WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300182';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300182'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400101726440',OPERATE_DATE ='2018-06-15',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700183',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประจิต',CUS_SNAME ='สอนสะอาด',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1964-05-15',CUS_ADD ='279',CUS_MOO ='3',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0981699960',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='279',CEN_MOO ='3',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-01-19',last_access_time ='13:50:06',log_status ='a',log_user ='65372_1227',log_date ='2018-06-15',ex_status = 'e',ex_datetime ='2019-01-19 13:50:06',crm_status ='a',crm_datetime ='2018-06-15 13:58:13' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700183';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700183'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451500122883',OPERATE_DATE ='2018-06-15',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700184',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='กระบวน',CUS_SNAME ='พลเยี่ยม',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-01-23',CUS_ADD ='5',CUS_MOO ='13',CUS_DIS ='ชุมพร',CUS_DISID ='451502',CUS_AMP ='เมยวดี',CUS_AMPID ='4515',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0981699960',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='5',CEN_MOO ='13',CEN_DIS ='ชุมพร',CEN_DISID ='451502',CEN_AMP ='เมยวดี',CEN_AMPID ='4515',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3575330000',CEN_LONGITUDE ='104.0921970000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451502',PLANT_SOURCE_DISTRICT ='4515',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-29',last_access_time ='16:52:20',log_status ='a',log_user ='65372_1227',log_date ='2018-06-15',ex_status = 'e',ex_datetime ='2018-06-29 16:52:20',crm_status ='a',crm_datetime ='2018-06-15 14:06:22' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700184';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700184'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320500531376',OPERATE_DATE ='2018-06-15',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1806123200189',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='วันทา',CUS_SNAME ='ใยพิมพ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-03-19',CUS_ADD ='62',CUS_MOO ='6',CUS_DIS ='ละเวี้ย',CUS_DISID ='310705',CUS_AMP ='ประโคนชัย',CUS_AMPID ='3107',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31140',CUS_TEL ='0806007930',CUS_MOBILE ='0806007930',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='62',CEN_MOO ='6',CEN_DIS ='ละเวี้ย',CEN_DISID ='310705',CEN_AMP ='ประโคนชัย',CEN_AMPID ='3107',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31140',CEN_TEL ='',CEN_LATITUDE ='14.5759410000',CEN_LONGITUDE ='103.1938930000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='310705',PLANT_SOURCE_DISTRICT ='3107',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-20',last_access_time ='22:55:58',log_status ='e',log_user ='65369_1232',log_date ='2018-06-15',ex_status = 'e',ex_datetime ='2018-10-20 22:55:58',crm_status ='a',crm_datetime ='2018-06-15 16:43:23' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200189';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200189'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341900494533',OPERATE_DATE ='2018-06-16',DOC_NO ='',C_TYPE_CODE ='1055',SUB_BRANCH_ID ='',CUS_ID ='M-1806105500193',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='แปลง',CUS_SNAME ='ดวงสินธุ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-11-08',CUS_ADD ='350',CUS_MOO ='2',CUS_DIS ='นิคมลำโดมน้อย',CUS_DISID ='342504',CUS_AMP ='สิรินธร',CUS_AMPID ='3425',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='350',CEN_MOO ='2',CEN_DIS ='นิคมลำโดมน้อย',CEN_DISID ='342504',CEN_AMP ='สิรินธร',CEN_AMPID ='3425',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.2295330000',CEN_LONGITUDE ='105.4196550000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='342504',PLANT_SOURCE_DISTRICT ='3425',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-16',last_access_time ='11:14:46',log_status ='a',log_user ='65205_1055',log_date ='2018-06-16',ex_status = 'e',ex_datetime ='2018-06-16 11:14:46',crm_status ='a',crm_datetime ='2018-06-16 10:22:04' WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806105500193';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806105500193'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1459900256608',OPERATE_DATE ='2018-06-16',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700199',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ศรัญย่า ',CUS_SNAME ='สารบรรณ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1991-09-05',CUS_ADD ='157',CUS_MOO ='2',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0624058325',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='157',CEN_MOO ='2',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-23',last_access_time ='16:24:06',log_status ='a',log_user ='65372_1227',log_date ='2018-06-16',ex_status = 'e',ex_datetime ='2018-06-23 16:24:06',crm_status ='a',crm_datetime ='2018-06-16 19:36:41' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700199';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700199'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250200602830',OPERATE_DATE ='2018-06-18',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1806115500212',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เหลื่อม',CUS_SNAME ='ร่มสุกข์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1947-03-23',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0623309165',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-10',last_access_time ='09:37:45',log_status ='e',log_user ='55496',log_date ='2018-07-11',ex_status = 'e',ex_datetime ='2018-08-10 09:37:45',crm_status ='a',crm_datetime ='2018-07-11 10:56:20' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500212';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500212'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250200551836',OPERATE_DATE ='2018-06-18',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1806115500214',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วิเชียร',CUS_SNAME ='เงินลา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1970-09-24',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='หนองกี่',CUS_DISID ='250211',CUS_AMP ='กบินทร์บุรี',CUS_AMPID ='2502',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0812962644',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='หนองกี่',CEN_DISID ='250211',CEN_AMP ='กบินทร์บุรี',CEN_AMPID ='2502',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0639860000',CEN_LONGITUDE ='101.8109890000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250211',PLANT_SOURCE_DISTRICT ='2502',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-18',last_access_time ='14:40:26',log_status ='a',log_user ='55496',log_date ='2018-06-18',ex_status = 'e',ex_datetime ='2018-06-18 14:40:26',crm_status ='a',crm_datetime ='2018-06-18 11:47:46' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500214';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500214'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451000899153',OPERATE_DATE ='2018-08-03',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700031',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='บรรทม',CUS_SNAME ='ผิลมาตร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-02-14',CUS_ADD ='6',CUS_MOO ='13',CUS_DIS ='ภูเงิน',CUS_DISID ='451010',CUS_AMP ='เสลภูมิ',CUS_AMPID ='4510',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0883244856',CUS_MOBILE ='0883244856',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='6',CEN_MOO ='13',CEN_DIS ='ภูเงิน',CEN_DISID ='451010',CEN_AMP ='เสลภูมิ',CEN_AMPID ='4510',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.9979650000',CEN_LONGITUDE ='104.0855030000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='451010',PLANT_SOURCE_DISTRICT ='4510',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-08',last_access_time ='16:54:54',log_status ='e',log_user ='62077_1227',log_date ='2018-08-03',ex_status = 'e',ex_datetime ='2018-08-08 16:54:54',crm_status ='a',crm_datetime ='2018-08-03 16:09:29' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700031';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700031'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320500926320',OPERATE_DATE ='2018-06-18',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1806123200216',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ทัศนีย์วรรณ',CUS_SNAME ='ขอจงดี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-04-16',CUS_ADD ='188',CUS_MOO ='12',CUS_DIS ='กังแอน',CUS_DISID ='320501',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32140',CUS_TEL ='0872454261',CUS_MOBILE ='0872454261',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='188',CEN_MOO ='12',CEN_DIS ='กังแอน',CEN_DISID ='320501',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32140',CEN_TEL ='',CEN_LATITUDE ='14.6516860000',CEN_LONGITUDE ='103.4165380000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='7.00',PLANT_SOURCE_SUBDISTRICT ='320501',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-29',last_access_time ='18:44:58',log_status ='e',log_user ='65370_1232',log_date ='2018-06-18',ex_status = 'e',ex_datetime ='2018-08-29 18:44:58',crm_status ='a',crm_datetime ='2018-06-18 13:54:44' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200216';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200216'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250200586575',OPERATE_DATE ='2018-06-18',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1806115500217',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บุญศรี',CUS_SNAME ='บุดดา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1950-02-15',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='หนองกี่',CUS_DISID ='250211',CUS_AMP ='กบินทร์บุรี',CUS_AMPID ='2502',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='หนองกี่',CEN_DISID ='250211',CEN_AMP ='กบินทร์บุรี',CEN_AMPID ='2502',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0639860000',CEN_LONGITUDE ='101.8109890000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250201',PLANT_SOURCE_DISTRICT ='2502',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-18',last_access_time ='14:42:31',log_status ='a',log_user ='55496',log_date ='2018-06-18',ex_status = 'e',ex_datetime ='2018-06-18 14:42:31',crm_status ='a',crm_datetime ='2018-06-18 14:35:14' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500217';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500217'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1410100250151',OPERATE_DATE ='2018-06-18',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1806116200220',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='ชัยชนะ',CUS_SNAME ='พัวะทอง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1992-07-06',CUS_ADD ='83',CUS_MOO ='13',CUS_DIS ='เสอเพลอ',CUS_DISID ='410409',CUS_AMP ='กุมภวาปี',CUS_AMPID ='4104',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0833598322',CUS_MOBILE ='0833598322',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='83',CEN_MOO ='13',CEN_DIS ='เสอเพลอ',CEN_DISID ='410409',CEN_AMP ='กุมภวาปี',CEN_AMPID ='4104',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.1794480000',CEN_LONGITUDE ='102.8995590000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='410409',PLANT_SOURCE_DISTRICT ='4104',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-28',last_access_time ='16:46:36',log_status ='e',log_user ='40192',log_date ='2018-06-19',ex_status = 'e',ex_datetime ='2019-06-28 16:46:36',crm_status ='a',crm_datetime ='2018-06-19 08:03:32' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806116200220';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806116200220'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700161229',OPERATE_DATE ='2018-06-18',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700225',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='นางน้อย',CUS_SNAME ='ปิตฝ่าย',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1900-06-18',CUS_ADD ='85',CUS_MOO ='1',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098603',CUS_MOBILE ='0881098633',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='85',CEN_MOO ='1',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-08',last_access_time ='13:14:13',log_status ='e',log_user ='65372_1227',log_date ='2018-07-04',ex_status = 'e',ex_datetime ='2019-07-08 13:14:13',crm_status ='a',crm_datetime ='2018-07-04 20:39:18' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700225';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700225'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320900641411',OPERATE_DATE ='2018-06-19',DOC_NO ='',C_TYPE_CODE ='1523',SUB_BRANCH_ID ='',CUS_ID ='M-1806152300231',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='บุญลุ',CUS_SNAME ='วิฒิยา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-10-11',CUS_ADD ='180',CUS_MOO ='7',CUS_DIS ='สนามชัย',CUS_DISID ='311114',CUS_AMP ='สตึก',CUS_AMPID ='3111',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31150',CUS_TEL ='0817184403',CUS_MOBILE ='0636149863',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='180',CEN_MOO ='7',CEN_DIS ='สนามชัย',CEN_DISID ='311114',CEN_AMP ='สตึก',CEN_AMPID ='3111',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31150',CEN_TEL ='',CEN_LATITUDE ='15.2311900000',CEN_LONGITUDE ='103.3480450000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='311114',PLANT_SOURCE_DISTRICT ='3111',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-19',last_access_time ='11:00:01',log_status ='e',log_user ='63957_1523',log_date ='2018-06-19',ex_status = 'e',ex_datetime ='2018-06-19 11:00:01',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300231';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806152300231'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320101332213',OPERATE_DATE ='2018-06-19',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1806123200242',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='ปาด',CUS_SNAME ='สืบเพ็ง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-10-31',CUS_ADD ='104',CUS_MOO ='12',CUS_DIS ='ไพศาล',CUS_DISID ='310713',CUS_AMP ='ประโคนชัย',CUS_AMPID ='3107',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31240',CUS_TEL ='',CUS_MOBILE ='0990190567',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='104',CEN_MOO ='12',CEN_DIS ='ไพศาล',CEN_DISID ='310713',CEN_AMP ='ประโคนชัย',CEN_AMPID ='3107',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31240',CEN_TEL ='',CEN_LATITUDE ='14.6453750000',CEN_LONGITUDE ='103.2103730000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='310713',PLANT_SOURCE_DISTRICT ='3107',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-01-04',last_access_time ='22:50:14',log_status ='e',log_user ='56283.bms',log_date ='2019-01-23',ex_status = 'e',ex_datetime ='2019-01-04 22:50:14',crm_status ='a',crm_datetime ='2019-01-04 22:44:49' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200242';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806123200242'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1459900571996',OPERATE_DATE ='2018-06-19',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700244',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='สุรัญชนา',CUS_SNAME ='สอนสะอาด',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1981-06-02',CUS_ADD ='301',CUS_MOO ='12',CUS_DIS ='สระนกแก้ว',CUS_DISID ='450712',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0881098633',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='301',CEN_MOO ='12',CEN_DIS ='สระนกแก้ว',CEN_DISID ='450712',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2902360000',CEN_LONGITUDE ='103.9760680000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450712',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-02',last_access_time ='17:51:22',log_status ='a',log_user ='65372_1227',log_date ='2018-06-19',ex_status = 'e',ex_datetime ='2018-07-02 17:51:22',crm_status ='a',crm_datetime ='2018-06-19 13:33:18' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700244';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700244'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3520400162717',OPERATE_DATE ='2018-07-26',DOC_NO ='',C_TYPE_CODE ='1363',SUB_BRANCH_ID ='',CUS_ID ='M-1807136300270',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='วรวิทย์',CUS_SNAME ='สุสะระ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1974-12-17',CUS_ADD ='81',CUS_MOO ='2',CUS_DIS ='เสริมซ้าย',CUS_DISID ='520403',CUS_AMP ='เสริมงาม',CUS_AMPID ='5204',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0810295779',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='81',CEN_MOO ='2',CEN_DIS ='เสริมซ้าย',CEN_DISID ='520403',CEN_AMP ='เสริมงาม',CEN_AMPID ='5204',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='18.0027340000',CEN_LONGITUDE ='99.1905780000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='3',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='520403',PLANT_SOURCE_DISTRICT ='5204',PLANT_SOURCE_PROVINCE ='52',vat_status ='0',type_cus ='1',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-10',last_access_time ='16:01:47',log_status ='e',log_user ='sr_1722',log_date ='2018-10-10',ex_status = 'e',ex_datetime ='2018-10-10 16:01:47',crm_status ='a',crm_datetime ='2018-10-10 15:58:15' WHERE C_TYPE_CODE = '1363' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807136300270';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1363' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807136300270'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900107082',OPERATE_DATE ='2018-06-20',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700253',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ชาญชัย ',CUS_SNAME ='ลาดหนองขุ่น',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1933-06-08',CUS_ADD ='107',CUS_MOO ='12',CUS_DIS ='กกโพธิ์',CUS_DISID ='450904',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0985627637',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='107',CEN_MOO ='12',CEN_DIS ='กกโพธิ์',CEN_DISID ='450904',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2752410000',CEN_LONGITUDE ='104.0913390000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450904',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-20',last_access_time ='17:25:39',log_status ='a',log_user ='65372_1227',log_date ='2018-06-20',ex_status = 'e',ex_datetime ='2018-06-20 17:25:39',crm_status ='a',crm_datetime ='2018-06-20 17:18:37' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700253';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700253'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700286234',OPERATE_DATE ='2018-09-02',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700025',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ชนะชัย',CUS_SNAME ='อนันตภูมิ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1980-02-24',CUS_ADD ='26',CUS_MOO ='12',CUS_DIS ='แวง',CUS_DISID ='450701',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0918286525',CUS_MOBILE ='0918286525',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='26',CEN_MOO ='12',CEN_DIS ='แวง',CEN_DISID ='450701',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3344720000',CEN_LONGITUDE ='103.9952090000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450701',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-13',last_access_time ='16:30:16',log_status ='a',log_user ='56342_1227',log_date ='2018-09-02',ex_status = 'e',ex_datetime ='2018-12-13 16:30:16',crm_status ='a',crm_datetime ='2018-09-02 16:59:28' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700025';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700025'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250200562111',OPERATE_DATE ='2018-06-22',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1806115500265',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ลัดดา',CUS_SNAME ='แดงประเสริฐ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1958-05-26',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='หนองกี่',CUS_DISID ='250211',CUS_AMP ='กบินทร์บุรี',CUS_AMPID ='2502',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0879815323',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='หนองกี่',CEN_DISID ='250211',CEN_AMP ='กบินทร์บุรี',CEN_AMPID ='2502',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0639860000',CEN_LONGITUDE ='101.8109890000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250211',PLANT_SOURCE_DISTRICT ='2502',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-22',last_access_time ='09:50:20',log_status ='a',log_user ='55496',log_date ='2018-06-22',ex_status = 'e',ex_datetime ='2018-06-22 09:50:20',crm_status ='a',crm_datetime ='2018-06-22 09:36:32' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500265';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500265'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3401200111100',OPERATE_DATE ='2018-06-22',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1806115500267',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บัวลัย',CUS_SNAME ='ยอดสง่า',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-01-30',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='หนองแวงนางเบ้า',CEN_DISID ='401209',CEN_AMP ='พล',CEN_AMPID ='4012',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.8883670000',CEN_LONGITUDE ='102.6280980000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-22',last_access_time ='09:48:14',log_status ='a',log_user ='55496',log_date ='2018-06-22',ex_status = 'e',ex_datetime ='2018-06-22 09:48:14',crm_status ='a',crm_datetime ='2018-06-22 09:46:21' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500267';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500267'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3401000884873',OPERATE_DATE ='2018-06-22',DOC_NO ='',C_TYPE_CODE ='1736',SUB_BRANCH_ID ='',CUS_ID ='M-1806173600270',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ตุ้ม',CUS_SNAME ='พิมบัง',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1964-12-31',CUS_ADD ='39',CUS_MOO ='10',CUS_DIS ='บ้านลาน',CUS_DISID ='401009',CUS_AMP ='บ้านไผ่',CUS_AMPID ='4010',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='40110',CUS_TEL ='',CUS_MOBILE ='0948722079',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='39',CEN_MOO ='10',CEN_DIS ='บ้านลาน',CEN_DISID ='401009',CEN_AMP ='บ้านไผ่',CEN_AMPID ='4010',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='40110',CEN_TEL ='',CEN_LATITUDE ='16.0161160000',CEN_LONGITUDE ='102.8128050000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='401009',PLANT_SOURCE_DISTRICT ='4010',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-22',last_access_time ='13:15:29',log_status ='a',log_user ='sr_1736',log_date ='2018-06-22',ex_status = 'e',ex_datetime ='2018-06-22 13:15:29',crm_status ='a',crm_datetime ='2018-06-22 12:06:10' WHERE C_TYPE_CODE = '1736' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806173600270';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1736' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806173600270'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1401200061564',OPERATE_DATE ='2018-06-22',DOC_NO ='',C_TYPE_CODE ='1736',SUB_BRANCH_ID ='',CUS_ID ='M-1806173600271',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทองพูล',CUS_SNAME ='วงค์ธรรม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1992-03-08',CUS_ADD ='30',CUS_MOO ='7',CUS_DIS ='โสกนกเต็น',CUS_DISID ='401212',CUS_AMP ='พล',CUS_AMPID ='4012',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0924795165',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='30',CEN_MOO ='7',CEN_DIS ='โสกนกเต็น',CEN_DISID ='401212',CEN_AMP ='พล',CEN_AMPID ='4012',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.8497290000',CEN_LONGITUDE ='102.6909260000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='401212',PLANT_SOURCE_DISTRICT ='4012',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-22',last_access_time ='13:19:09',log_status ='a',log_user ='sr_1736',log_date ='2018-06-22',ex_status = 'e',ex_datetime ='2018-06-22 13:19:09',crm_status ='a',crm_datetime ='2018-06-22 12:14:36' WHERE C_TYPE_CODE = '1736' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806173600271';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1736' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806173600271'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3460300062142',OPERATE_DATE ='2018-06-22',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1806116200274',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บุญล้อม',CUS_SNAME ='กุดถวิล',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1956-06-04',CUS_ADD ='203',CUS_MOO ='5',CUS_DIS ='บึงวิชัย',CUS_DISID ='460108',CUS_AMP ='เมืองกาฬสินธุ์',CUS_AMPID ='4601',CUS_PROV ='กาฬสินธุ์',CUS_PROVID ='46',CUS_POST ='0',CUS_TEL ='0935428407',CUS_MOBILE ='0935428407',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='203',CEN_MOO ='5',CEN_DIS ='บึงวิชัย',CEN_DISID ='460108',CEN_AMP ='เมืองกาฬสินธุ์',CEN_AMPID ='4601',CEN_PROV ='กาฬสินธุ์',CEN_PROVID ='46',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.5269490000',CEN_LONGITUDE ='103.4918980000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='460108',PLANT_SOURCE_DISTRICT ='4601',PLANT_SOURCE_PROVINCE ='46',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-18',last_access_time ='09:41:42',log_status ='a',log_user ='65378_1162',log_date ='2018-06-22',ex_status = 'e',ex_datetime ='2018-07-18 09:41:42',crm_status ='a',crm_datetime ='2018-06-22 16:38:00' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806116200274';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806116200274'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450100552839',OPERATE_DATE ='2018-08-18',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700180',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วีระพงษ์ ',CUS_SNAME ='แก้วกาญจน์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1978-08-13',CUS_ADD ='28',CUS_MOO ='3',CUS_DIS ='ขอนแก่น',CUS_DISID ='450104',CUS_AMP ='เมืองร้อยเอ็ด',CUS_AMPID ='4501',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0430000000',CUS_MOBILE ='0985149825',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='28',CEN_MOO ='3',CEN_DIS ='ขอนแก่น',CEN_DISID ='450104',CEN_AMP ='เมืองร้อยเอ็ด',CEN_AMPID ='4501',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.0195810000',CEN_LONGITUDE ='103.6084560000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450104',PLANT_SOURCE_DISTRICT ='4501',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-18',last_access_time ='15:26:08',log_status ='e',log_user ='65372_1227',log_date ='2018-08-18',ex_status = 'e',ex_datetime ='2018-08-18 15:26:08',crm_status ='a',crm_datetime ='2018-08-18 15:02:01' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700180';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700180'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700154761',OPERATE_DATE ='2018-06-25',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700287',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='ถนัด',CUS_SNAME ='พวงทวี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1974-01-19',CUS_ADD ='165',CUS_MOO ='2',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0854609917',CUS_MOBILE ='0854609917',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='165',CEN_MOO ='2',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='0',type_cus ='1',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-15',last_access_time ='17:30:13',log_status ='e',log_user ='64058_1227',log_date ='2018-12-23',ex_status = 'e',ex_datetime ='2019-07-15 17:30:13',crm_status ='a',crm_datetime ='2018-08-15 15:26:46' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700287';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700287'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3411100400410',OPERATE_DATE ='2018-06-25',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1806121600291',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประสาทชัย',CUS_SNAME ='ทิพยาลัย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1967-11-03',CUS_ADD ='190',CUS_MOO ='13',CUS_DIS ='บ้านดุง',CUS_DISID ='411102',CUS_AMP ='บ้านดุง',CUS_AMPID ='4111',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0818722706',CUS_MOBILE ='0818722706',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='190',CEN_MOO ='13',CEN_DIS ='บ้านดุง',CEN_DISID ='411102',CEN_AMP ='บ้านดุง',CEN_AMPID ='4111',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.7050860000',CEN_LONGITUDE ='103.2571180000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='411102',PLANT_SOURCE_DISTRICT ='4111',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-05-07',last_access_time ='07:36:28',log_status ='e',log_user ='62934_1216',log_date ='2018-06-25',ex_status = 'e',ex_datetime ='2019-05-07 07:36:28',crm_status ='a',crm_datetime ='2018-06-25 18:19:18' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806121600291';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806121600291'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250200581891',OPERATE_DATE ='2018-06-25',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1806115500292',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='พรพิลัย',CUS_SNAME ='ทาภู่',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1973-02-01',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='ทุ่งโพธิ์',CUS_DISID ='250304',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0800946560',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='ทุ่งโพธิ์',CEN_DISID ='250304',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.1325810000',CEN_LONGITUDE ='101.8817140000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250304',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-25',last_access_time ='19:06:59',log_status ='a',log_user ='55496',log_date ='2018-06-25',ex_status = 'e',ex_datetime ='2018-06-25 19:06:59',crm_status ='a',crm_datetime ='2018-06-25 19:04:32' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500292';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500292'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3411100167863',OPERATE_DATE ='2018-06-25',DOC_NO ='',C_TYPE_CODE ='1686',SUB_BRANCH_ID ='',CUS_ID ='M-1806168600293',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='กมลรักษ์',CUS_SNAME ='ศรีชนะ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-02-05',CUS_ADD ='27',CUS_MOO ='3',CUS_DIS ='บ้านม่วง',CUS_DISID ='411111',CUS_AMP ='บ้านดุง',CUS_AMPID ='4111',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0817582427',CUS_MOBILE ='0817582427',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='27',CEN_MOO ='3',CEN_DIS ='บ้านม่วง',CEN_DISID ='411111',CEN_AMP ='บ้านดุง',CEN_AMPID ='4111',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.6715940000',CEN_LONGITUDE ='103.3415010000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='411111',PLANT_SOURCE_DISTRICT ='4111',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-05-23',last_access_time ='09:26:58',log_status ='a',log_user ='34731_1686',log_date ='2018-06-25',ex_status = 'e',ex_datetime ='2019-05-23 09:26:58',crm_status ='a',crm_datetime ='2018-06-25 20:49:14' WHERE C_TYPE_CODE = '1686' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806168600293';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1686' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806168600293'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3411100230344',OPERATE_DATE ='2018-06-25',DOC_NO ='',C_TYPE_CODE ='1686',SUB_BRANCH_ID ='',CUS_ID ='M-1806168600294',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='นิสัยดี',CUS_SNAME ='บุตรม่วง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1970-08-18',CUS_ADD ='117',CUS_MOO ='6',CUS_DIS ='บ้านม่วง',CUS_DISID ='411111',CUS_AMP ='บ้านดุง',CUS_AMPID ='4111',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0817582427',CUS_MOBILE ='0817582427',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='117',CEN_MOO ='6',CEN_DIS ='บ้านม่วง',CEN_DISID ='411111',CEN_AMP ='บ้านดุง',CEN_AMPID ='4111',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.6715940000',CEN_LONGITUDE ='103.3415010000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='411111',PLANT_SOURCE_DISTRICT ='4111',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-27',last_access_time ='17:19:47',log_status ='a',log_user ='34731_1686',log_date ='2018-06-25',ex_status = 'e',ex_datetime ='2018-06-27 17:19:47',crm_status ='a',crm_datetime ='2018-06-25 20:58:12' WHERE C_TYPE_CODE = '1686' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806168600294';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1686' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806168600294'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3302200251019',OPERATE_DATE ='2018-06-26',DOC_NO ='',C_TYPE_CODE ='1351',SUB_BRANCH_ID ='',CUS_ID ='M-1806135100301',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='แมน',CUS_SNAME ='แปะกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-09-05',CUS_ADD ='90',CUS_MOO ='7',CUS_DIS ='แหลมทอง',CUS_DISID ='302205',CUS_AMP ='หนองบุนนาก',CUS_AMPID ='3022',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0862559698',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='90',CEN_MOO ='7',CEN_DIS ='แหลมทอง',CEN_DISID ='302205',CEN_AMP ='หนองบุนนาก',CEN_AMPID ='3022',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.7828500000',CEN_LONGITUDE ='102.3122410000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302205',PLANT_SOURCE_DISTRICT ='3022',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-04',last_access_time ='14:18:46',log_status ='e',log_user ='65548_1351',log_date ='2018-11-25',ex_status = 'e',ex_datetime ='2018-10-04 14:18:46',crm_status ='a',crm_datetime ='2018-08-15 09:15:49' WHERE C_TYPE_CODE = '1351' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806135100301';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1351' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806135100301'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3521100191844',OPERATE_DATE ='2018-06-26',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1806105000302',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วิทยา',CUS_SNAME ='จันทร์เทพ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1952-06-11',CUS_ADD ='37/3',CUS_MOO ='3',CUS_DIS ='สบปราบ',CUS_DISID ='521101',CUS_AMP ='สบปราบ',CUS_AMPID ='5211',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='52170',CUS_TEL ='0857195941',CUS_MOBILE ='0857195941',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='37/3',CEN_MOO ='3',CEN_DIS ='สบปราบ',CEN_DISID ='521101',CEN_AMP ='สบปราบ',CEN_AMPID ='5211',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='52170',CEN_TEL ='',CEN_LATITUDE ='17.8808200000',CEN_LONGITUDE ='99.3376920000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='10.00',PLANT_SOURCE_SUBDISTRICT ='521101',PLANT_SOURCE_DISTRICT ='5211',PLANT_SOURCE_PROVINCE ='52',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-26',last_access_time ='15:23:52',log_status ='e',log_user ='63922_1050',log_date ='2018-06-26',ex_status = 'e',ex_datetime ='2018-06-26 15:23:52',crm_status ='a',crm_datetime ='2018-06-26 15:12:09' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806105000302';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806105000302'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700158520',OPERATE_DATE ='2018-06-26',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700303',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บุญมี',CUS_SNAME ='ปิดฝ่าย',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1947-06-13',CUS_ADD ='152',CUS_MOO ='1',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0984596863',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='152',CEN_MOO ='1',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-05',last_access_time ='17:48:23',log_status ='e',log_user ='65372_1227',log_date ='2018-07-04',ex_status = 'e',ex_datetime ='2018-07-05 17:48:23',crm_status ='a',crm_datetime ='2018-07-04 16:26:46' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700303';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700303'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='4240800007850',OPERATE_DATE ='2018-06-28',DOC_NO ='',C_TYPE_CODE ='1714',SUB_BRANCH_ID ='',CUS_ID ='M-1806171400318',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='2',CUS_NAME ='แสงทอง',CUS_SNAME ='กิลารักษ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-06-10',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='ท่ากระดาน',CUS_DISID ='240802',CUS_AMP ='สนามชัยเขต',CUS_AMPID ='2408',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0808352029',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='ท่ากระดาน',CEN_DISID ='240802',CEN_AMP ='สนามชัยเขต',CEN_AMPID ='2408',CEN_PROV ='ฉะเชิงเทรา',CEN_PROVID ='24',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.6192950000',CEN_LONGITUDE ='101.6880800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='3',CUS_GROUP ='3',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='240802',PLANT_SOURCE_DISTRICT ='2408',PLANT_SOURCE_PROVINCE ='24',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-04-29',last_access_time ='21:22:29',log_status ='e',log_user ='52299_1645',log_date ='2018-08-09',ex_status = 'e',ex_datetime ='2019-04-29 21:22:29',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1714' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806171400318';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1714' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806171400318'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700094220',OPERATE_DATE ='2018-06-28',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700320',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมาน',CUS_SNAME ='ศรีไชยยา',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1944-02-02',CUS_ADD ='78',CUS_MOO ='2',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='08871095334',CUS_MOBILE ='0897562385',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='78',CEN_MOO ='2',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-28',last_access_time ='19:23:53',log_status ='a',log_user ='65372_1227',log_date ='2018-06-28',ex_status = 'e',ex_datetime ='2018-06-28 19:23:53',crm_status ='a',crm_datetime ='2018-06-28 19:16:24' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700320';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700320'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250700129939',OPERATE_DATE ='2018-06-29',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1806115500321',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อุใด',CUS_SNAME ='สุสร้อย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1962-08-05',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='คำโตนด',CUS_DISID ='250706',CUS_AMP ='ประจันตคาม',CUS_AMPID ='2507',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0925290946',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='คำโตนด',CEN_DISID ='250706',CEN_AMP ='ประจันตคาม',CEN_AMPID ='2507',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.1079420000',CEN_LONGITUDE ='101.5658570000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-31',last_access_time ='15:50:18',log_status ='a',log_user ='55496',log_date ='2018-06-29',ex_status = 'e',ex_datetime ='2018-07-31 15:50:18',crm_status ='a',crm_datetime ='2018-06-29 09:24:54' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500321';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806115500321'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3302000874861',OPERATE_DATE ='2018-06-30',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1806172700331',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุธี',CUS_SNAME ='แม่นสอนลา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-06-01',CUS_ADD ='187',CUS_MOO ='14',CUS_DIS ='สีสุก',CUS_DISID ='300604',CUS_AMP ='จักราช',CUS_AMPID ='3006',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='187',CEN_MOO ='14',CEN_DIS ='สีสุก',CEN_DISID ='300604',CEN_AMP ='จักราช',CEN_AMPID ='3006',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.8996680000',CEN_LONGITUDE ='102.4021910000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300601',PLANT_SOURCE_DISTRICT ='3006',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-30',last_access_time ='09:36:16',log_status ='a',log_user ='sr_1727',log_date ='2018-06-30',ex_status = 'e',ex_datetime ='2018-06-30 09:36:16',crm_status ='a',crm_datetime ='2018-06-30 09:19:22' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700331';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806172700331'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1411900019072',OPERATE_DATE ='2018-06-30',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1806121600334',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='อลิษา',CUS_SNAME ='อุภัยพรม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1984-10-11',CUS_ADD ='47',CUS_MOO ='2',CUS_DIS ='เชียงหวาง',CUS_DISID ='411904',CUS_AMP ='เพ็ญ',CUS_AMPID ='4119',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0872184112',CUS_MOBILE ='0800000000',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='47',CEN_MOO ='2',CEN_DIS ='เชียงหวาง',CEN_DISID ='411904',CEN_AMP ='เพ็ญ',CEN_AMPID ='4119',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.6310370000',CEN_LONGITUDE ='102.8845270000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='411904',PLANT_SOURCE_DISTRICT ='4119',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-19',last_access_time ='12:47:50',log_status ='e',log_user ='62934_1216',log_date ='2018-06-30',ex_status = 'e',ex_datetime ='2019-06-19 12:47:50',crm_status ='a',crm_datetime ='2018-06-30 10:52:54' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806121600334';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806121600334'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5450700004723',OPERATE_DATE ='2018-06-30',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1806122700336',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อนนท์',CUS_SNAME ='คำแดงไสย์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1984-06-05',CUS_ADD ='10',CUS_MOO ='1',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0984894971',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='10',CEN_MOO ='1',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-30',last_access_time ='14:31:47',log_status ='a',log_user ='65372_1227',log_date ='2018-06-30',ex_status = 'e',ex_datetime ='2018-06-30 14:31:47',crm_status ='a',crm_datetime ='2018-06-30 11:36:47' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700336';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806122700336'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3251200112281',OPERATE_DATE ='2019-01-22',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1901115500945',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประนอม',CUS_SNAME ='มานพ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='ก',MARRY_SNAME ='ก',CUS_OLD ='1960-10-15',CUS_ADD ='344',CUS_MOO ='6',CUS_DIS ='ทุ่งโพธิ์',CUS_DISID ='250304',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='25220',CUS_TEL ='',CUS_MOBILE ='0894324656',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='344',CEN_MOO ='6',CEN_DIS ='ทุ่งโพธิ์',CEN_DISID ='250304',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='25220',CEN_TEL ='',CEN_LATITUDE ='14.1325810000',CEN_LONGITUDE ='101.8817140000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250304',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-01-24',last_access_time ='17:14:41',log_status ='a',log_user ='34598_1155',log_date ='2019-01-22',ex_status = 'e',ex_datetime ='2019-01-24 17:14:41',crm_status ='a',crm_datetime ='2019-01-22 08:50:55' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1901115500945';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1901115500945'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5450700049743',OPERATE_DATE ='2018-06-30',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1806136900340',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='บุญสม',CUS_SNAME ='สอนมะณี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-08-15',CUS_ADD ='21',CUS_MOO ='2',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0847931124',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='21',CEN_MOO ='2',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-30',last_access_time ='20:00:09',log_status ='a',log_user ='58357_1369',log_date ='2018-06-30',ex_status = 'e',ex_datetime ='2018-06-30 20:00:09',crm_status ='a',crm_datetime ='2018-06-30 19:56:54' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806136900340';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806136900340'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700392697',OPERATE_DATE ='2018-06-30',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1806136900341',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='เสงี่ยม',CUS_SNAME ='ทิพย์สุรีย์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-04-05',CUS_ADD ='180',CUS_MOO ='1',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='180',CEN_MOO ='1',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-06-30',last_access_time ='20:08:19',log_status ='a',log_user ='58357_1369',log_date ='2018-06-30',ex_status = 'e',ex_datetime ='2018-06-30 20:08:19',crm_status ='a',crm_datetime ='2018-06-30 20:05:17' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806136900341';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1806136900341'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300600564365',OPERATE_DATE ='2018-07-02',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1807172700004',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สุกานดา',CUS_SNAME ='ดงกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1969-12-23',CUS_ADD ='285',CUS_MOO ='14',CUS_DIS ='สีสุก',CUS_DISID ='300604',CUS_AMP ='จักราช',CUS_AMPID ='3006',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0895047458',CUS_MOBILE ='0848748113',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='285',CEN_MOO ='14',CEN_DIS ='สีสุก',CEN_DISID ='300604',CEN_AMP ='จักราช',CEN_AMPID ='3006',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.8996680000',CEN_LONGITUDE ='102.4021910000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300604',PLANT_SOURCE_DISTRICT ='3006',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-21',last_access_time ='08:43:34',log_status ='a',log_user ='sr_1727',log_date ='2018-07-02',ex_status = 'e',ex_datetime ='2018-11-21 08:43:34',crm_status ='a',crm_datetime ='2018-07-02 10:56:35' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172700004';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172700004'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3302200060175',OPERATE_DATE ='2018-10-04',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1810172700078',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อดุลย์',CUS_SNAME ='สิงห์ทะเล',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-01-09',CUS_ADD ='58',CUS_MOO ='6',CUS_DIS ='ลุงเขว้า',CUS_DISID ='302207',CUS_AMP ='หนองบุนนาก',CUS_AMPID ='3022',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30410',CUS_TEL ='0640988809',CUS_MOBILE ='0640988809',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='58',CEN_MOO ='6',CEN_DIS ='ลุงเขว้า',CEN_DISID ='302207',CEN_AMP ='หนองบุนนาก',CEN_AMPID ='3022',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30410',CEN_TEL ='',CEN_LATITUDE ='14.8173710000',CEN_LONGITUDE ='102.3623660000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302207',PLANT_SOURCE_DISTRICT ='3022',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-17',last_access_time ='14:02:56',log_status ='e',log_user ='sr_1727',log_date ='2018-11-07',ex_status = 'e',ex_datetime ='2018-12-17 14:02:56',crm_status ='a',crm_datetime ='2018-11-07 10:45:22' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1810172700078';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1810172700078'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450600545637',OPERATE_DATE ='2018-07-03',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700016',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สง่า',CUS_SNAME ='โพธาราม',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1984-02-01',CUS_ADD ='246',CUS_MOO ='12',CUS_DIS ='หนองใหญ่',CUS_DISID ='450705',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0902754979',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='246',CEN_MOO ='12',CEN_DIS ='หนองใหญ่',CEN_DISID ='450705',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.4057880000',CEN_LONGITUDE ='103.9979550000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450705',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-14',last_access_time ='19:26:52',log_status ='a',log_user ='65372_1227',log_date ='2018-07-03',ex_status = 'e',ex_datetime ='2018-07-14 19:26:52',crm_status ='a',crm_datetime ='2018-07-03 15:24:28' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700016';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700016'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3330500814033',OPERATE_DATE ='2018-07-04',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1807115500023',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='มนตรี',CUS_SNAME ='ศรีอุรมย์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1951-04-11',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-04',last_access_time ='15:44:00',log_status ='a',log_user ='55496',log_date ='2018-07-04',ex_status = 'e',ex_datetime ='2018-07-04 15:44:00',crm_status ='a',crm_datetime ='2018-07-04 15:41:22' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500023';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500023'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1450700111225',OPERATE_DATE ='2018-07-04',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700030',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ปิยพรรณ',CUS_SNAME ='พลเยี่ยม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1991-05-13',CUS_ADD ='148',CUS_MOO ='4',CUS_DIS ='แวง',CUS_DISID ='450701',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0957896576',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='148',CEN_MOO ='4',CEN_DIS ='แวง',CEN_DISID ='450701',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3344720000',CEN_LONGITUDE ='103.9952090000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450701',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-05',last_access_time ='17:28:37',log_status ='a',log_user ='65372_1227',log_date ='2018-07-04',ex_status = 'e',ex_datetime ='2018-07-05 17:28:37',crm_status ='a',crm_datetime ='2018-07-04 20:32:07' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700030';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700030'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3360300436337',OPERATE_DATE ='2018-07-05',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1807116200038',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='ไพบูลย์ ',CUS_SNAME ='เรียงบุญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-12-26',CUS_ADD ='77',CUS_MOO ='7',CUS_DIS ='ลาดใหญ่',CUS_DISID ='360111',CUS_AMP ='เมืองชัยภูมิ',CUS_AMPID ='3601',CUS_PROV ='ชัยภูมิ',CUS_PROVID ='36',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0982464318',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='77',CEN_MOO ='7',CEN_DIS ='ลาดใหญ่',CEN_DISID ='360111',CEN_AMP ='เมืองชัยภูมิ',CEN_AMPID ='3601',CEN_PROV ='ชัยภูมิ',CEN_PROVID ='36',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.7856460000',CEN_LONGITUDE ='102.2023770000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='360111',PLANT_SOURCE_DISTRICT ='3601',PLANT_SOURCE_PROVINCE ='36',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-05',last_access_time ='16:53:33',log_status ='e',log_user ='60000_1177',log_date ='2018-09-26',ex_status = 'e',ex_datetime ='2018-07-05 16:53:33',crm_status ='a',crm_datetime ='2018-07-05 16:44:51' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200038';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200038'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700903161',OPERATE_DATE ='2018-07-05',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700039',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เสถียร',CUS_SNAME ='เพชรแสน',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1969-07-01',CUS_ADD ='93',CUS_MOO ='11',CUS_DIS ='พรมสวรรค์',CUS_DISID ='450711',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0981046913',CUS_MOBILE ='0981046913',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='93',CEN_MOO ='11',CEN_DIS ='พรมสวรรค์',CEN_DISID ='450711',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1976960000',CEN_LONGITUDE ='104.0719410000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450711',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-05',last_access_time ='21:39:46',log_status ='a',log_user ='65372_1227',log_date ='2018-07-05',ex_status = 'e',ex_datetime ='2018-07-05 21:39:46',crm_status ='a',crm_datetime ='2018-07-05 20:06:10' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700039';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700039'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3200600834240',OPERATE_DATE ='2018-07-06',DOC_NO ='',C_TYPE_CODE ='1115',SUB_BRANCH_ID ='',CUS_ID ='M-1807111500040',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วัจนา',CUS_SNAME ='นิลแช่ม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-01-15',CUS_ADD ='44',CUS_MOO ='5',CUS_DIS ='เกาะจันทร์',CUS_DISID ='201101',CUS_AMP ='เกาะจันทร์',CUS_AMPID ='2011',CUS_PROV ='ชลบุรี',CUS_PROVID ='20',CUS_POST ='0',CUS_TEL ='0652184212',CUS_MOBILE ='0652184212',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='44',CEN_MOO ='5',CEN_DIS ='เกาะจันทร์',CEN_DISID ='201101',CEN_AMP ='เกาะจันทร์',CEN_AMPID ='2011',CEN_PROV ='ชลบุรี',CEN_PROVID ='20',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.4150020000',CEN_LONGITUDE ='101.4024350000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='201101',PLANT_SOURCE_DISTRICT ='2011',PLANT_SOURCE_PROVINCE ='20',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-06',last_access_time ='07:48:49',log_status ='a',log_user ='49692_1115',log_date ='2018-07-06',ex_status = 'e',ex_datetime ='2018-07-06 07:48:49',crm_status ='a',crm_datetime ='2018-07-06 07:42:38' WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807111500040';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807111500040'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400700037056',OPERATE_DATE ='2018-07-06',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1807172700047',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประกายเพ็ชร',CUS_SNAME ='จังพล',CUS_STATUS ='โสด',CUS_SEX ='1',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-10-05',CUS_ADD ='8',CUS_MOO ='2',CUS_DIS ='เฉลียง',CUS_DISID ='300202',CUS_AMP ='ครบุรี',CUS_AMPID ='3002',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30250',CUS_TEL ='0857767537',CUS_MOBILE ='0857767537',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='8',CEN_MOO ='2',CEN_DIS ='เฉลียง',CEN_DISID ='300202',CEN_AMP ='ครบุรี',CEN_AMPID ='3002',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30250',CEN_TEL ='',CEN_LATITUDE ='14.5005020000',CEN_LONGITUDE ='102.2792820000',PIC_PATH ='2018/customer/profile/',PIC_FILENAME ='M-1807172700047_20180706143421_1.jpg',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300202',PLANT_SOURCE_DISTRICT ='3002',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-07',last_access_time ='09:02:58',log_status ='e',log_user ='sr_1727',log_date ='2018-07-07',ex_status = 'e',ex_datetime ='2018-07-07 09:02:58',crm_status ='a',crm_datetime ='2018-07-07 08:32:46' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172700047';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172700047'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341700284756',OPERATE_DATE ='2018-07-06',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1807136900048',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุพรรณ',CUS_SNAME ='ใจน้อย',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1969-08-11',CUS_ADD ='214',CUS_MOO ='8',CUS_DIS ='เสนางคนิคม',CUS_DISID ='370501',CUS_AMP ='เสนางคนิคม',CUS_AMPID ='3705',CUS_PROV ='อำนาจเจริญ',CUS_PROVID ='37',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='214',CEN_MOO ='8',CEN_DIS ='เสนางคนิคม',CEN_DISID ='370501',CEN_AMP ='เสนางคนิคม',CEN_AMPID ='3705',CEN_PROV ='อำนาจเจริญ',CEN_PROVID ='37',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.0397090000',CEN_LONGITUDE ='104.6692370000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='370501',PLANT_SOURCE_DISTRICT ='3705',PLANT_SOURCE_PROVINCE ='37',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-06',last_access_time ='14:49:44',log_status ='a',log_user ='58357_1369',log_date ='2018-07-06',ex_status = 'e',ex_datetime ='2018-07-06 14:49:44',crm_status ='a',crm_datetime ='2018-07-06 14:45:19' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807136900048';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807136900048'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300300144701',OPERATE_DATE ='2018-07-07',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1807136900060',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ระบาย',CUS_SNAME ='พันธ์จำนงค์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-02-23',CUS_ADD ='42/1',CUS_MOO ='2',CUS_DIS ='โนนสมบูรณ์',CUS_DISID ='300303',CUS_AMP ='เสิงสาง',CUS_AMPID ='3003',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='42/1',CEN_MOO ='2',CEN_DIS ='โนนสมบูรณ์',CEN_DISID ='300303',CEN_AMP ='เสิงสาง',CEN_AMPID ='3003',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.3535390000',CEN_LONGITUDE ='102.4324040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300303',PLANT_SOURCE_DISTRICT ='3003',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-07',last_access_time ='15:19:14',log_status ='a',log_user ='58357_1369',log_date ='2018-07-07',ex_status = 'e',ex_datetime ='2018-07-07 15:19:14',crm_status ='a',crm_datetime ='2018-07-07 14:57:27' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807136900060';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807136900060'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700410504',OPERATE_DATE ='2018-07-09',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700087',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ใหมแท้',CUS_SNAME ='วรรณสุขี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1950-02-07',CUS_ADD ='15',CUS_MOO ='1',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0902298210',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='15',CEN_MOO ='1',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-09',last_access_time ='19:01:00',log_status ='a',log_user ='65372_1227',log_date ='2018-07-09',ex_status = 'e',ex_datetime ='2018-07-09 19:01:00',crm_status ='a',crm_datetime ='2018-07-09 15:12:15' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700087';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700087'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1450700148307',OPERATE_DATE ='2018-07-09',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700090',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='เกตุสุดา',CUS_SNAME ='เปลรินทร์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1990-05-16',CUS_ADD ='217',CUS_MOO ='10',CUS_DIS ='อุ่มเม่า',CUS_DISID ='450709',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0657822226',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='217',CEN_MOO ='10',CEN_DIS ='อุ่มเม่า',CEN_DISID ='450709',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2571970000',CEN_LONGITUDE ='103.8515280000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-10',last_access_time ='19:25:26',log_status ='a',log_user ='65372_1227',log_date ='2018-07-09',ex_status = 'e',ex_datetime ='2018-07-10 19:25:26',crm_status ='a',crm_datetime ='2018-07-09 16:37:53' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700090';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700090'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900006308',OPERATE_DATE ='2018-07-09',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700094',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เพลิน',CUS_SNAME ='บุญแสนรัญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1982-04-06',CUS_ADD ='25',CUS_MOO ='1',CUS_DIS ='กกโพธิ์',CUS_DISID ='450904',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0615152163',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='25',CEN_MOO ='1',CEN_DIS ='กกโพธิ์',CEN_DISID ='450904',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2752410000',CEN_LONGITUDE ='104.0913390000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450904',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-10',last_access_time ='21:15:34',log_status ='a',log_user ='65372_1227',log_date ='2018-07-09',ex_status = 'e',ex_datetime ='2018-07-10 21:15:34',crm_status ='a',crm_datetime ='2018-07-09 17:18:54' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700094';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700094'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300200714122',OPERATE_DATE ='2018-07-10',DOC_NO ='',C_TYPE_CODE ='1351',SUB_BRANCH_ID ='',CUS_ID ='M-1807135100106',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='รังสรรค์',CUS_SNAME ='เขียนเจริญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1970-06-06',CUS_ADD ='414',CUS_MOO ='9',CUS_DIS ='จระเข้หิน',CUS_DISID ='300205',CUS_AMP ='ครบุรี',CUS_AMPID ='3002',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0860166171',CUS_MOBILE ='0860166171',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='414',CEN_MOO ='9',CEN_DIS ='จระเข้หิน',CEN_DISID ='300205',CEN_AMP ='ครบุรี',CEN_AMPID ='3002',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5250980000',CEN_LONGITUDE ='102.1893310000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300205',PLANT_SOURCE_DISTRICT ='3002',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-04',last_access_time ='13:43:22',log_status ='a',log_user ='63917_1351',log_date ='2018-07-10',ex_status = 'e',ex_datetime ='2018-10-04 13:43:22',crm_status ='a',crm_datetime ='2018-07-10 13:41:10' WHERE C_TYPE_CODE = '1351' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807135100106';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1351' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807135100106'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1250300043224',OPERATE_DATE ='2018-07-11',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1807115500120',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อภิเษก',CUS_SNAME ='นนท์บุญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1988-02-29',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0631977876',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-12',last_access_time ='13:51:20',log_status ='a',log_user ='55496',log_date ='2018-07-11',ex_status = 'e',ex_datetime ='2018-07-12 13:51:20',crm_status ='a',crm_datetime ='2018-07-11 13:42:32' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500120';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500120'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320500903371',OPERATE_DATE ='2018-07-12',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1807123200133',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='จร',CUS_SNAME ='วงศ์กนก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1941-06-08',CUS_ADD ='63',CUS_MOO ='10',CUS_DIS ='ปรือ',CUS_DISID ='320504',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32140',CUS_TEL ='0812823448',CUS_MOBILE ='0812823448',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='63',CEN_MOO ='10',CEN_DIS ='ปรือ',CEN_DISID ='320504',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32140',CEN_TEL ='',CEN_LATITUDE ='14.6153120000',CEN_LONGITUDE ='103.2966330000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='10.00',PLANT_SOURCE_SUBDISTRICT ='320504',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-12',last_access_time ='10:35:08',log_status ='e',log_user ='63706_1232',log_date ='2018-07-12',ex_status = 'e',ex_datetime ='2018-07-12 10:35:08',crm_status ='a',crm_datetime ='2018-07-12 10:26:00' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807123200133';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807123200133'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3520900145897',OPERATE_DATE ='2018-07-12',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1807105000135',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทองสุก',CUS_SNAME ='จิวเดช',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-08-11',CUS_ADD ='241',CUS_MOO ='7',CUS_DIS ='หนองบัวใต้',CUS_DISID ='630113',CUS_AMP ='เมืองตาก',CUS_AMPID ='6301',CUS_PROV ='ตาก',CUS_PROVID ='63',CUS_POST ='0',CUS_TEL ='0986746096',CUS_MOBILE ='0986746096',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='241',CEN_MOO ='7',CEN_DIS ='หนองบัวใต้',CEN_DISID ='630113',CEN_AMP ='เมืองตาก',CEN_AMPID ='6301',CEN_PROV ='ตาก',CEN_PROVID ='63',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.8236020000',CEN_LONGITUDE ='99.1289520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='30.00',PLANT_SOURCE_SUBDISTRICT ='630113',PLANT_SOURCE_DISTRICT ='6301',PLANT_SOURCE_PROVINCE ='63',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-27',last_access_time ='16:58:06',log_status ='e',log_user ='63922_1050',log_date ='2018-07-12',ex_status = 'e',ex_datetime ='2018-08-27 16:58:06',crm_status ='a',crm_datetime ='2018-07-12 13:24:21' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807105000135';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807105000135'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700128663',OPERATE_DATE ='2018-07-12',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700137',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='บุญเฮียง',CUS_SNAME ='พัฒนโชคไพศาล',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1962-01-05',CUS_ADD ='39',CUS_MOO ='8',CUS_DIS ='สว่าง',CUS_DISID ='450704',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0988268962',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='39',CEN_MOO ='8',CEN_DIS ='สว่าง',CEN_DISID ='450704',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2308280000',CEN_LONGITUDE ='104.0034480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450704',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-12',last_access_time ='16:29:58',log_status ='a',log_user ='65372_1227',log_date ='2018-07-12',ex_status = 'e',ex_datetime ='2018-07-12 16:29:58',crm_status ='a',crm_datetime ='2018-07-12 14:54:12' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700137';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700137'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3100902883091',OPERATE_DATE ='2018-07-13',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1807116200142',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ปัญญา',CUS_SNAME ='จารย์โพธิ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1942-04-20',CUS_ADD ='201',CUS_MOO ='11',CUS_DIS ='ท่าสะอาด',CUS_DISID ='430909',CUS_AMP ='เซกา',CUS_AMPID ='4309',CUS_PROV ='บึงกาฬ',CUS_PROVID ='97',CUS_POST ='0',CUS_TEL ='0890260481',CUS_MOBILE ='0819076617',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='201',CEN_MOO ='11',CEN_DIS ='ท่าสะอาด',CEN_DISID ='430909',CEN_AMP ='เซกา',CEN_AMPID ='4309',CEN_PROV ='บึงกาฬ',CEN_PROVID ='97',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.9486870000',CEN_LONGITUDE ='103.7720490000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='430909',PLANT_SOURCE_DISTRICT ='4309',PLANT_SOURCE_PROVINCE ='97',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-25',last_access_time ='10:49:15',log_status ='a',log_user ='56714_1162',log_date ='2018-07-13',ex_status = 'e',ex_datetime ='2019-06-25 10:49:15',crm_status ='a',crm_datetime ='2018-07-13 09:49:40' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200142';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200142'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250700357702',OPERATE_DATE ='2018-07-13',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1807115500145',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='อังศนา',CUS_SNAME ='อุทิศ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1973-04-05',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='บุฝ้าย',CUS_DISID ='250707',CUS_AMP ='ประจันตคาม',CUS_AMPID ='2507',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='บุฝ้าย',CEN_DISID ='250707',CEN_AMP ='ประจันตคาม',CEN_AMPID ='2507',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.1711970000',CEN_LONGITUDE ='101.5740970000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250707',PLANT_SOURCE_DISTRICT ='2507',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-08',last_access_time ='09:54:19',log_status ='a',log_user ='50180_1155',log_date ='2018-07-13',ex_status = 'e',ex_datetime ='2018-11-08 09:54:19',crm_status ='a',crm_datetime ='2018-07-13 10:52:05' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500145';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500145'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1250200088650',OPERATE_DATE ='2018-07-13',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1807115500146',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='คมสัน',CUS_SNAME ='กับชัย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1987-03-23',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='บ่อทอง',CUS_DISID ='250210',CUS_AMP ='กบินทร์บุรี',CUS_AMPID ='2502',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0646947962',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='บ่อทอง',CEN_DISID ='250210',CEN_AMP ='กบินทร์บุรี',CEN_AMPID ='2502',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.9300690000',CEN_LONGITUDE ='101.8425750000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250210',PLANT_SOURCE_DISTRICT ='2502',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-13',last_access_time ='11:51:46',log_status ='a',log_user ='55496',log_date ='2018-07-13',ex_status = 'e',ex_datetime ='2018-07-13 11:51:46',crm_status ='a',crm_datetime ='2018-07-13 11:40:56' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500146';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500146'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5410600132461',OPERATE_DATE ='2018-07-13',DOC_NO ='',C_TYPE_CODE ='1757',SUB_BRANCH_ID ='',CUS_ID ='M-1807175700149',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ธันวะดี',CUS_SNAME ='ชาแท่น',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-12-14',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='คอนสาย',CUS_DISID ='412404',CUS_AMP ='กู่แก้ว',CUS_AMPID ='4124',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0981796296',CUS_MOBILE ='0981796296',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='ค้อใหญ่',CEN_DISID ='412403',CEN_AMP ='กู่แก้ว',CEN_AMPID ='4124',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.2100060000',CEN_LONGITUDE ='103.1430980000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='412404',PLANT_SOURCE_DISTRICT ='4124',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-21',last_access_time ='08:57:48',log_status ='e',log_user ='61045_1757',log_date ='2018-07-13',ex_status = 'e',ex_datetime ='2018-07-21 08:57:48',crm_status ='a',crm_datetime ='2018-07-13 21:32:20' WHERE C_TYPE_CODE = '1757' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807175700149';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1757' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807175700149'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300088411',OPERATE_DATE ='2018-07-13',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1807115500151',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมคิด',CUS_SNAME ='ทับสุข',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1969-02-23',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0895608018',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-21',last_access_time ='13:38:10',log_status ='a',log_user ='55496',log_date ='2018-07-13',ex_status = 'e',ex_datetime ='2018-07-21 13:38:10',crm_status ='a',crm_datetime ='2018-07-13 16:05:24' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500151';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500151'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3410600542395',OPERATE_DATE ='2018-07-14',DOC_NO ='',C_TYPE_CODE ='1757',SUB_BRANCH_ID ='',CUS_ID ='M-1807175700153',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='แดงต้อย',CUS_SNAME ='เสน่ห์ดี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-04-14',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='คอนสาย',CUS_DISID ='412404',CUS_AMP ='กู่แก้ว',CUS_AMPID ='4124',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0982783234',CUS_MOBILE ='0982783234',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='คอนสาย',CEN_DISID ='412404',CEN_AMP ='กู่แก้ว',CEN_AMPID ='4124',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.1776490000',CEN_LONGITUDE ='103.1163670000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='412404',PLANT_SOURCE_DISTRICT ='4124',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-17',last_access_time ='10:07:06',log_status ='e',log_user ='38781_1757',log_date ='2018-07-17',ex_status = 'e',ex_datetime ='2018-07-17 10:07:06',crm_status ='a',crm_datetime ='2018-07-17 09:47:27' WHERE C_TYPE_CODE = '1757' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807175700153';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1757' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807175700153'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400700158279',OPERATE_DATE ='2018-07-14',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1807116200154',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ทองกรม',CUS_SNAME ='แสนบุญ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1969-05-06',CUS_ADD ='13',CUS_MOO ='11',CUS_DIS ='ทรายมูล',CUS_DISID ='400709',CUS_AMP ='น้ำพอง',CUS_AMPID ='4007',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0918033665',CUS_MOBILE ='0918033665',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='13',CEN_MOO ='11',CEN_DIS ='ทรายมูล',CEN_DISID ='400709',CEN_AMP ='น้ำพอง',CEN_AMPID ='4007',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.6865150000',CEN_LONGITUDE ='102.9116820000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400709',PLANT_SOURCE_DISTRICT ='4007',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-04',last_access_time ='15:47:51',log_status ='a',log_user ='65378_1162',log_date ='2018-07-14',ex_status = 'e',ex_datetime ='2018-09-04 15:47:51',crm_status ='a',crm_datetime ='2018-07-14 09:06:27' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200154';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200154'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3401900147816',OPERATE_DATE ='2018-07-14',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1807116200156',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ปริมาศ',CUS_SNAME ='อุดทาทอง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1978-06-06',CUS_ADD ='70',CUS_MOO ='12',CUS_DIS ='ดงเมืองแอม',CUS_DISID ='401902',CUS_AMP ='เขาสวนกวาง',CUS_AMPID ='4019',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0933987669',CUS_MOBILE ='0933987669',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='70',CEN_MOO ='12',CEN_DIS ='ดงเมืองแอม',CEN_DISID ='401902',CEN_AMP ='เขาสวนกวาง',CEN_AMPID ='4019',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.8544910000',CEN_LONGITUDE ='102.7764130000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='401902',PLANT_SOURCE_DISTRICT ='4019',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-14',last_access_time ='09:51:41',log_status ='a',log_user ='65192_1162',log_date ='2018-07-14',ex_status = 'e',ex_datetime ='2018-07-14 09:51:41',crm_status ='a',crm_datetime ='2018-07-14 09:44:07' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200156';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200156'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1250200140520',OPERATE_DATE ='2018-07-14',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1807115500157',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='4',CUS_NAME ='กุลฤดี',CUS_SNAME ='อ่อนอรุณ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1990-05-20',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='0882058125',CUS_MOBILE ='0882058125',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='3',CUS_GROUP ='3',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-05-07',last_access_time ='16:56:45',log_status ='e',log_user ='34598_1194',log_date ='2019-01-28',ex_status = 'e',ex_datetime ='2019-05-07 16:56:45',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500157';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500157'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900073684',OPERATE_DATE ='2018-07-14',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700160',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='คำพอง',CUS_SNAME ='สุริโย',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1967-02-01',CUS_ADD ='73',CUS_MOO ='7',CUS_DIS ='โคกสว่าง',CUS_DISID ='450905',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0955599997',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='73',CEN_MOO ='7',CEN_DIS ='โคกสว่าง',CEN_DISID ='450905',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3039940000',CEN_LONGITUDE ='104.2719270000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450905',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-14',last_access_time ='12:28:35',log_status ='a',log_user ='65372_1227',log_date ='2018-07-14',ex_status = 'e',ex_datetime ='2018-07-14 12:28:35',crm_status ='a',crm_datetime ='2018-07-14 11:51:51' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700160';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700160'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3340701525411',OPERATE_DATE ='2018-07-14',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700163',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='อุไล',CUS_SNAME ='กุลวงษ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1960-06-08',CUS_ADD ='13',CUS_MOO ='2',CUS_DIS ='แก้ง',CUS_DISID ='340712',CUS_AMP ='เดชอุดม',CUS_AMPID ='3407',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0850419855',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='13',CEN_MOO ='2',CEN_DIS ='แก้ง',CEN_DISID ='340712',CEN_AMP ='เดชอุดม',CEN_AMPID ='3407',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.6815790000',CEN_LONGITUDE ='105.0262070000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='340712',PLANT_SOURCE_DISTRICT ='3407',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-14',last_access_time ='20:50:57',log_status ='e',log_user ='65372_1227',log_date ='2018-07-17',ex_status = 'e',ex_datetime ='2018-09-14 20:50:57',crm_status ='a',crm_datetime ='2018-07-17 13:03:19' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700163';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700163'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3340701515807',OPERATE_DATE ='2018-07-14',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700164',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บุญมี ',CUS_SNAME ='จันทนาด',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-03-25',CUS_ADD ='248',CUS_MOO ='2',CUS_DIS ='แก้ง',CUS_DISID ='340712',CUS_AMP ='เดชอุดม',CUS_AMPID ='3407',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0860598567',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='248',CEN_MOO ='2',CEN_DIS ='แก้ง',CEN_DISID ='340712',CEN_AMP ='เดชอุดม',CEN_AMPID ='3407',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.6815790000',CEN_LONGITUDE ='105.0262070000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='340712',PLANT_SOURCE_DISTRICT ='3407',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-14',last_access_time ='20:12:43',log_status ='a',log_user ='65372_1227',log_date ='2018-07-14',ex_status = 'e',ex_datetime ='2018-09-14 20:12:43',crm_status ='a',crm_datetime ='2018-07-14 14:08:49' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700164';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700164'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3301700960271',OPERATE_DATE ='2018-07-15',DOC_NO ='',C_TYPE_CODE ='1729',SUB_BRANCH_ID ='',CUS_ID ='M-1807172900171',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บุญศรี',CUS_SNAME ='แสนคำ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-07-01',CUS_ADD ='60',CUS_MOO ='10',CUS_DIS ='ไพล',CUS_DISID ='302904',CUS_AMP ='ลำทะเมนชัย',CUS_AMPID ='3029',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0644645294',CUS_MOBILE ='0644645294',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='60',CEN_MOO ='10',CEN_DIS ='ไพล',CEN_DISID ='302904',CEN_AMP ='ลำทะเมนชัย',CEN_AMPID ='3029',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.3636530000',CEN_LONGITUDE ='102.9357150000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302904',PLANT_SOURCE_DISTRICT ='3029',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-22',last_access_time ='08:42:55',log_status ='a',log_user ='sr_1729',log_date ='2018-07-15',ex_status = 'e',ex_datetime ='2018-08-22 08:42:55',crm_status ='a',crm_datetime ='2018-07-15 20:12:52' WHERE C_TYPE_CODE = '1729' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172900171';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1729' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172900171'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3301500880941',OPERATE_DATE ='2018-07-15',DOC_NO ='',C_TYPE_CODE ='1729',SUB_BRANCH_ID ='',CUS_ID ='M-1807172900172',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เกรียงไกร',CUS_SNAME ='สอพิมาย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1976-07-01',CUS_ADD ='11',CUS_MOO ='18',CUS_DIS ='ในเมือง',CUS_DISID ='301501',CUS_AMP ='พิมาย',CUS_AMPID ='3015',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0843466766',CUS_MOBILE ='0843466766',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='11',CEN_MOO ='18',CEN_DIS ='ในเมือง',CEN_DISID ='301501',CEN_AMP ='พิมาย',CEN_AMPID ='3015',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.2093250000',CEN_LONGITUDE ='102.4955750000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='301501',PLANT_SOURCE_DISTRICT ='3015',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-23',last_access_time ='14:58:10',log_status ='a',log_user ='sr_1729',log_date ='2018-07-15',ex_status = 'e',ex_datetime ='2018-07-23 14:58:10',crm_status ='a',crm_datetime ='2018-07-15 20:19:06' WHERE C_TYPE_CODE = '1729' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172900172';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1729' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172900172'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3311200084928',OPERATE_DATE ='2018-07-16',DOC_NO ='',C_TYPE_CODE ='1720',SUB_BRANCH_ID ='',CUS_ID ='M-1807172000174',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='สวรรค์',CUS_SNAME ='ประจำจันทร์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1956-01-01',CUS_ADD ='172',CUS_MOO ='4',CUS_DIS ='โคกมะม่วง',CUS_DISID ='311204',CUS_AMP ='ปะคำ',CUS_AMPID ='3112',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31220',CUS_TEL ='0872535372',CUS_MOBILE ='0872535372',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='172',CEN_MOO ='4',CEN_DIS ='โคกมะม่วง',CEN_DISID ='311204',CEN_AMP ='ปะคำ',CEN_AMPID ='3112',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31220',CEN_TEL ='',CEN_LATITUDE ='14.4346800000',CEN_LONGITUDE ='102.6226040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='311204',PLANT_SOURCE_DISTRICT ='3112',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-16',last_access_time ='13:54:20',log_status ='e',log_user ='sr_1766',log_date ='2018-10-16',ex_status = 'e',ex_datetime ='2018-10-16 13:54:20',crm_status ='a',crm_datetime ='2018-10-16 13:45:15' WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172000174';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172000174'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='2240600016212',OPERATE_DATE ='2018-07-17',DOC_NO ='',C_TYPE_CODE ='1641',SUB_BRANCH_ID ='',CUS_ID ='M-1807164100181',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สำราญ',CUS_SNAME ='แก้วคำ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1998-07-01',CUS_ADD ='132',CUS_MOO ='10',CUS_DIS ='ท่ากระดาน',CUS_DISID ='240802',CUS_AMP ='สนามชัยเขต',CUS_AMPID ='2408',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='0',CUS_MOBILE ='0983342123',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='132',CEN_MOO ='10',CEN_DIS ='ท่ากระดาน',CEN_DISID ='240802',CEN_AMP ='สนามชัยเขต',CEN_AMPID ='2408',CEN_PROV ='ฉะเชิงเทรา',CEN_PROVID ='24',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.6192950000',CEN_LONGITUDE ='101.6880800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='240802',PLANT_SOURCE_DISTRICT ='2408',PLANT_SOURCE_PROVINCE ='24',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-10',last_access_time ='09:16:56',log_status ='e',log_user ='47960_1641',log_date ='2018-07-17',ex_status = 'e',ex_datetime ='2018-08-10 09:16:56',crm_status ='a',crm_datetime ='2018-07-17 08:45:32' WHERE C_TYPE_CODE = '1641' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807164100181';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1641' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807164100181'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1302200080285',OPERATE_DATE ='2018-07-18',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1807172700190',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='คมกริช',CUS_SNAME ='กลักกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1995-01-12',CUS_ADD ='63',CUS_MOO ='11',CUS_DIS ='หนองหัวแรต',CUS_DISID ='302204',CUS_AMP ='หนองบุนนาก',CUS_AMPID ='3022',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30410',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='63',CEN_MOO ='11',CEN_DIS ='หนองหัวแรต',CEN_DISID ='302204',CEN_AMP ='หนองบุนนาก',CEN_AMPID ='3022',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30410',CEN_TEL ='',CEN_LATITUDE ='14.7098060000',CEN_LONGITUDE ='102.3019410000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302204',PLANT_SOURCE_DISTRICT ='3022',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-03',last_access_time ='09:34:33',log_status ='a',log_user ='sr_1727',log_date ='2018-07-18',ex_status = 'e',ex_datetime ='2018-08-03 09:34:33',crm_status ='a',crm_datetime ='2018-07-18 09:29:36' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172700190';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172700190'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3660100955826',OPERATE_DATE ='2018-07-18',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1807123200195',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='รุ่งทิวาร์พร',CUS_SNAME ='ภู่เพชร',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-06-30',CUS_ADD ='37',CUS_MOO ='9',CUS_DIS ='หนองสรวง',CUS_DISID ='190405',CUS_AMP ='วิหารแดง',CUS_AMPID ='1904',CUS_PROV ='สระบุรี',CUS_PROVID ='19',CUS_POST ='0',CUS_TEL ='0801591628',CUS_MOBILE ='0801591628',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='37',CEN_MOO ='9',CEN_DIS ='หนองสรวง',CEN_DISID ='190405',CEN_AMP ='วิหารแดง',CEN_AMPID ='1904',CEN_PROV ='สระบุรี',CEN_PROVID ='19',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.3390700000',CEN_LONGITUDE ='100.9751700000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='190405',PLANT_SOURCE_DISTRICT ='1904',PLANT_SOURCE_PROVINCE ='19',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-01',last_access_time ='23:41:29',log_status ='e',log_user ='60436_1232',log_date ='2018-07-18',ex_status = 'e',ex_datetime ='2019-07-01 23:41:29',crm_status ='a',crm_datetime ='2018-07-18 14:42:48' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807123200195';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807123200195'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341900593221',OPERATE_DATE ='2018-07-19',DOC_NO ='',C_TYPE_CODE ='1055',SUB_BRANCH_ID ='',CUS_ID ='M-1807105500205',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='มะลิ',CUS_SNAME ='แก่นอ้วน',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1998-07-21',CUS_ADD ='13',CUS_MOO ='5',CUS_DIS ='นิคมลำโดมน้อย',CUS_DISID ='342504',CUS_AMP ='สิรินธร',CUS_AMPID ='3425',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='0',CUS_TEL ='045959606',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='13',CEN_MOO ='5',CEN_DIS ='นิคมลำโดมน้อย',CEN_DISID ='342504',CEN_AMP ='สิรินธร',CEN_AMPID ='3425',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.2295330000',CEN_LONGITUDE ='105.4196550000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='342505',PLANT_SOURCE_DISTRICT ='3425',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-19',last_access_time ='11:52:36',log_status ='a',log_user ='65191_1055',log_date ='2018-07-19',ex_status = 'e',ex_datetime ='2018-07-19 11:52:36',crm_status ='a',crm_datetime ='2018-07-19 11:29:50' WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807105500205';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807105500205'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3460100277668',OPERATE_DATE ='2018-07-19',DOC_NO ='',C_TYPE_CODE ='1055',SUB_BRANCH_ID ='',CUS_ID ='M-1807105500206',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='จินดา',CUS_SNAME ='สระน้ำอ้อม ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1956-06-20',CUS_ADD ='134',CUS_MOO ='9',CUS_DIS ='โพนทอง',CUS_DISID ='460119',CUS_AMP ='เมืองกาฬสินธุ์',CUS_AMPID ='4601',CUS_PROV ='กาฬสินธุ์',CUS_PROVID ='46',CUS_POST ='0',CUS_TEL ='045959606',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='134',CEN_MOO ='9',CEN_DIS ='โพนทอง',CEN_DISID ='460119',CEN_AMP ='เมืองกาฬสินธุ์',CEN_AMPID ='4601',CEN_PROV ='กาฬสินธุ์',CEN_PROVID ='46',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.4769130000',CEN_LONGITUDE ='103.5516360000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='460119',PLANT_SOURCE_DISTRICT ='4601',PLANT_SOURCE_PROVINCE ='46',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-19',last_access_time ='11:58:35',log_status ='a',log_user ='65205_1055',log_date ='2018-07-19',ex_status = 'e',ex_datetime ='2018-07-19 11:58:35',crm_status ='a',crm_datetime ='2018-07-19 11:53:42' WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807105500206';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807105500206'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341900593914',OPERATE_DATE ='2018-07-19',DOC_NO ='',C_TYPE_CODE ='1055',SUB_BRANCH_ID ='',CUS_ID ='M-1807105500207',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประยูร',CUS_SNAME ='แสนทวีสุข',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1941-05-07',CUS_ADD ='9',CUS_MOO ='5',CUS_DIS ='นิคมลำโดมน้อย',CUS_DISID ='342504',CUS_AMP ='สิรินธร',CUS_AMPID ='3425',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='0',CUS_TEL ='045959606',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='9',CEN_MOO ='5',CEN_DIS ='นิคมลำโดมน้อย',CEN_DISID ='342504',CEN_AMP ='สิรินธร',CEN_AMPID ='3425',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.2295330000',CEN_LONGITUDE ='105.4196550000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='342505',PLANT_SOURCE_DISTRICT ='3425',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-19',last_access_time ='13:50:36',log_status ='a',log_user ='65191_1055',log_date ='2018-07-19',ex_status = 'e',ex_datetime ='2018-07-19 13:50:36',crm_status ='a',crm_datetime ='2018-07-19 13:45:19' WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807105500207';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807105500207'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='',OPERATE_DATE ='2018-07-19',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1807116200211',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='อนุพงษ์',CUS_SNAME ='โพธิ์ขาว',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-11-06',CUS_ADD ='105',CUS_MOO ='',CUS_DIS ='โนนท่อน',CUS_DISID ='400118',CUS_AMP ='เมืองขอนแก่น',CUS_AMPID ='4001',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0945397712',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='105',CEN_MOO ='',CEN_DIS ='โนนท่อน',CEN_DISID ='400118',CEN_AMP ='เมืองขอนแก่น',CEN_AMPID ='4001',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.5842100000',CEN_LONGITUDE ='102.8423310000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='0',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400118',PLANT_SOURCE_DISTRICT ='4001',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='0000-00-00',last_access_time ='00:00:00',log_status ='e',log_user ='34731_1162',log_date ='2018-07-19',ex_status = 'e',ex_datetime ='0000-00-00 00:00:00',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200211';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200211'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1311200108936',OPERATE_DATE ='2018-07-19',DOC_NO ='',C_TYPE_CODE ='1720',SUB_BRANCH_ID ='',CUS_ID ='M-1807172000215',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='คฑาทิต',CUS_SNAME ='นามบุรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='2000-01-15',CUS_ADD ='35/3',CUS_MOO ='2',CUS_DIS ='โคกมะม่วง',CUS_DISID ='311204',CUS_AMP ='ปะคำ',CUS_AMPID ='3112',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31220',CUS_TEL ='0653386427',CUS_MOBILE ='0653386427',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='35/3',CEN_MOO ='2',CEN_DIS ='โคกมะม่วง',CEN_DISID ='311204',CEN_AMP ='ปะคำ',CEN_AMPID ='3112',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31220',CEN_TEL ='',CEN_LATITUDE ='14.4346800000',CEN_LONGITUDE ='102.6226040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='311204',PLANT_SOURCE_DISTRICT ='3112',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-16',last_access_time ='15:42:38',log_status ='e',log_user ='sr_1766',log_date ='2018-09-08',ex_status = 'e',ex_datetime ='2018-09-16 15:42:38',crm_status ='a',crm_datetime ='2018-09-08 08:54:10' WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172000215';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172000215'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300041422',OPERATE_DATE ='2018-07-20',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1807115500221',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมเกียรติ',CUS_SNAME ='โพธิ์สม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1981-07-25',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0623868218',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-02-27',last_access_time ='14:31:36',log_status ='e',log_user ='34598_1805',log_date ='2019-02-20',ex_status = 'e',ex_datetime ='2019-02-27 14:31:36',crm_status ='a',crm_datetime ='2019-02-20 10:47:50' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500221';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500221'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3410500149985',OPERATE_DATE ='2018-07-21',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1807116200224',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประมวล',CUS_SNAME ='ศรีชาทุม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1973-08-25',CUS_ADD ='90',CUS_MOO ='15',CUS_DIS ='ดงเมืองแอม',CUS_DISID ='401902',CUS_AMP ='เขาสวนกวาง',CUS_AMPID ='4019',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0610833387',CUS_MOBILE ='0610833387',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='90',CEN_MOO ='15',CEN_DIS ='ดงเมืองแอม',CEN_DISID ='401902',CEN_AMP ='เขาสวนกวาง',CEN_AMPID ='4019',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.8544910000',CEN_LONGITUDE ='102.7764130000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='10.00',PLANT_SOURCE_SUBDISTRICT ='401902',PLANT_SOURCE_DISTRICT ='4019',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-21',last_access_time ='10:24:17',log_status ='a',log_user ='56307_1162',log_date ='2018-07-21',ex_status = 'e',ex_datetime ='2018-07-21 10:24:17',crm_status ='a',crm_datetime ='2018-07-21 10:17:50' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200224';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200224'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5450900009214',OPERATE_DATE ='2018-07-21',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1807136900229',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุริโย',CUS_SNAME ='วินทะชัย',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1983-06-11',CUS_ADD ='6',CUS_MOO ='5',CUS_DIS ='ท่าสีดา',CUS_DISID ='450909',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='6',CEN_MOO ='5',CEN_DIS ='ท่าสีดา',CEN_DISID ='450909',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2054440000',CEN_LONGITUDE ='104.2128750000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450909',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-04',last_access_time ='09:45:25',log_status ='e',log_user ='55851_1227',log_date ='2018-07-27',ex_status = 'e',ex_datetime ='2018-08-04 09:45:25',crm_status ='a',crm_datetime ='2018-07-27 10:41:15' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807136900229';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807136900229'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3311200090928',OPERATE_DATE ='2018-07-21',DOC_NO ='',C_TYPE_CODE ='1720',SUB_BRANCH_ID ='',CUS_ID ='M-1807172000231',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ธวัชชัย',CUS_SNAME ='คุตรสูตร',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1983-08-15',CUS_ADD ='177',CUS_MOO ='3',CUS_DIS ='โคกมะม่วง',CUS_DISID ='311204',CUS_AMP ='ปะคำ',CUS_AMPID ='3112',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31220',CUS_TEL ='0809386154',CUS_MOBILE ='0809386154',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='177',CEN_MOO ='3',CEN_DIS ='ปะคำ',CEN_DISID ='311201',CEN_AMP ='ปะคำ',CEN_AMPID ='3112',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31220',CEN_TEL ='',CEN_LATITUDE ='14.4393350000',CEN_LONGITUDE ='102.7283480000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='311204',PLANT_SOURCE_DISTRICT ='3112',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-06',last_access_time ='15:20:56',log_status ='e',log_user ='65187_1720',log_date ='2018-07-21',ex_status = 'e',ex_datetime ='2018-11-06 15:20:56',crm_status ='a',crm_datetime ='2018-07-21 20:44:21' WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172000231';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172000231'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3301700731710',OPERATE_DATE ='2018-07-23',DOC_NO ='',C_TYPE_CODE ='10',SUB_BRANCH_ID ='',CUS_ID ='M-1807001000239',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='วิภาดา',CUS_SNAME ='จันทร์มณี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1980-08-20',CUS_ADD ='39',CUS_MOO ='13',CUS_DIS ='ช่องแมว',CUS_DISID ='302903',CUS_AMP ='ลำทะเมนชัย',CUS_AMPID ='3029',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0885704309',CUS_MOBILE ='0885704309',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='39',CEN_MOO ='13',CEN_DIS ='ช่องแมว',CEN_DISID ='302903',CEN_AMP ='ลำทะเมนชัย',CEN_AMPID ='3029',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.2921330000',CEN_LONGITUDE ='102.8519440000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302903',PLANT_SOURCE_DISTRICT ='3029',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-23',last_access_time ='14:52:47',log_status ='a',log_user ='45092_10',log_date ='2018-07-23',ex_status = 'e',ex_datetime ='2018-07-23 14:52:47',crm_status ='a',crm_datetime ='2018-07-23 11:51:51' WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807001000239';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807001000239'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3361000327894',OPERATE_DATE ='2018-07-23',DOC_NO ='',C_TYPE_CODE ='1736',SUB_BRANCH_ID ='',CUS_ID ='M-1807173600241',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='โอภาส',CUS_SNAME ='ประพงษ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-09-20',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='บ้านเพชร',CUS_DISID ='361006',CUS_AMP ='ภูเขียว',CUS_AMPID ='3610',CUS_PROV ='ชัยภูมิ',CUS_PROVID ='36',CUS_POST ='0',CUS_TEL ='0876414902',CUS_MOBILE ='0876414902',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='บ้านเพชร',CEN_DISID ='361006',CEN_AMP ='ภูเขียว',CEN_AMPID ='3610',CEN_PROV ='ชัยภูมิ',CEN_PROVID ='36',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3346360000',CEN_LONGITUDE ='102.2731020000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='361006',PLANT_SOURCE_DISTRICT ='3610',PLANT_SOURCE_PROVINCE ='36',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-02',last_access_time ='19:31:05',log_status ='a',log_user ='sr_1736',log_date ='2018-07-23',ex_status = 'e',ex_datetime ='2018-08-02 19:31:05',crm_status ='a',crm_datetime ='2018-07-23 13:42:33' WHERE C_TYPE_CODE = '1736' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807173600241';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1736' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807173600241'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='2320500032479',OPERATE_DATE ='2019-03-28',DOC_NO ='',C_TYPE_CODE ='1619',SUB_BRANCH_ID ='',CUS_ID ='M-1903161900312',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='ทรงพล',CUS_SNAME ='พัชรานุ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1989-08-19',CUS_ADD ='15',CUS_MOO ='8',CUS_DIS ='กันตวจระมวล',CUS_DISID ='320516',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='0',CUS_TEL ='0623282422',CUS_MOBILE ='0623282422',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='15',CEN_MOO ='8',CEN_DIS ='กันตวจระมวล',CEN_DISID ='320516',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.6086680000',CEN_LONGITUDE ='103.5491470000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='320516',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-19',last_access_time ='14:25:13',log_status ='e',log_user ='65535_1619',log_date ='2019-03-28',ex_status = 'e',ex_datetime ='2019-06-19 14:25:13',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1619' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1903161900312';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1619' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1903161900312'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3401600049703',OPERATE_DATE ='2018-07-24',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1807121600251',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='คมสันต์',CUS_SNAME ='ขาวหยวก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1980-09-27',CUS_ADD ='120',CUS_MOO ='3',CUS_DIS ='กุดขอนแก่น',CUS_DISID ='401605',CUS_AMP ='ภูเวียง',CUS_AMPID ='4016',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0815784944',CUS_MOBILE ='0815784944',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='120',CEN_MOO ='3',CEN_DIS ='กุดขอนแก่น',CEN_DISID ='401605',CEN_AMP ='ภูเวียง',CEN_AMPID ='4016',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.5763130000',CEN_LONGITUDE ='102.5000380000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='3',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='401605',PLANT_SOURCE_DISTRICT ='4016',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-24',last_access_time ='13:51:56',log_status ='a',log_user ='34731_1216',log_date ='2018-07-24',ex_status = 'e',ex_datetime ='2018-07-24 13:51:56',crm_status ='a',crm_datetime ='2018-07-24 13:37:45' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807121600251';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807121600251'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300088356',OPERATE_DATE ='2018-07-24',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1807115500252',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมพงษ์',CUS_SNAME ='ฝอยทอง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1973-01-31',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='แก่งดินสอ',CUS_DISID ='250305',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0848725146',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='แก่งดินสอ',CEN_DISID ='250305',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0753090000',CEN_LONGITUDE ='101.9311520000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250305',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-24',last_access_time ='16:20:10',log_status ='a',log_user ='55496',log_date ='2018-07-24',ex_status = 'e',ex_datetime ='2018-07-24 16:20:10',crm_status ='a',crm_datetime ='2018-07-24 14:10:52' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500252';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807115500252'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1341900003266',OPERATE_DATE ='2018-07-26',DOC_NO ='',C_TYPE_CODE ='1726',SUB_BRANCH_ID ='',CUS_ID ='M-1807172600269',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='กัลยา',CUS_SNAME ='ใจกล้า',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1984-01-23',CUS_ADD ='276',CUS_MOO ='11',CUS_DIS ='คันไร่',CUS_DISID ='342501',CUS_AMP ='สิรินธร',CUS_AMPID ='3425',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='34350',CUS_TEL ='0874429914',CUS_MOBILE ='0874429914',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='276',CEN_MOO ='11',CEN_DIS ='คันไร่',CEN_DISID ='342501',CEN_AMP ='สิรินธร',CEN_AMPID ='3425',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='34350',CEN_TEL ='',CEN_LATITUDE ='15.2639820000',CEN_LONGITUDE ='105.3091050000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='342501',PLANT_SOURCE_DISTRICT ='3425',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-04',last_access_time ='11:11:36',log_status ='a',log_user ='sr_1726',log_date ='2018-07-26',ex_status = 'e',ex_datetime ='2018-08-04 11:11:36',crm_status ='a',crm_datetime ='2018-07-26 12:07:40' WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172600269';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172600269'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1320500178882',OPERATE_DATE ='2018-07-26',DOC_NO ='',C_TYPE_CODE ='1732',SUB_BRANCH_ID ='',CUS_ID ='M-1807173200274',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ศศิธร',CUS_SNAME ='สุขวิทย์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1991-10-25',CUS_ADD ='74',CUS_MOO ='3',CUS_DIS ='ปรือ',CUS_DISID ='320504',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32140',CUS_TEL ='0877578409',CUS_MOBILE ='0877578409',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='74',CEN_MOO ='3',CEN_DIS ='ปรือ',CEN_DISID ='320504',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32140',CEN_TEL ='',CEN_LATITUDE ='14.6153120000',CEN_LONGITUDE ='103.2966330000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='15.00',PLANT_SOURCE_SUBDISTRICT ='320504',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-26',last_access_time ='11:59:55',log_status ='e',log_user ='sr_1732',log_date ='2018-07-26',ex_status = 'e',ex_datetime ='2018-11-26 11:59:55',crm_status ='a',crm_datetime ='2018-07-26 15:48:45' WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807173200274';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807173200274'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1450900075524',OPERATE_DATE ='2018-07-26',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700275',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ศักดา',CUS_SNAME ='จงใจสิทธิ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1989-08-28',CUS_ADD ='19',CUS_MOO ='11',CUS_DIS ='รอบเมือง',CUS_DISID ='450907',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0640383270',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='19',CEN_MOO ='11',CEN_DIS ='รอบเมือง',CEN_DISID ='450907',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3115730000',CEN_LONGITUDE ='104.2137340000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450907',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-12',last_access_time ='15:08:54',log_status ='e',log_user ='55851_1227',log_date ='2018-07-26',ex_status = 'e',ex_datetime ='2019-06-12 15:08:54',crm_status ='a',crm_datetime ='2018-07-26 16:22:43' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700275';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700275'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1240600095637',OPERATE_DATE ='2018-07-26',DOC_NO ='',C_TYPE_CODE ='1732',SUB_BRANCH_ID ='',CUS_ID ='M-1807173200278',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='น้ำผึ้ง',CUS_SNAME ='มณเทียน',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1991-05-14',CUS_ADD ='89',CUS_MOO ='10',CUS_DIS ='สังขะ',CUS_DISID ='321001',CUS_AMP ='สังขะ',CUS_AMPID ='3210',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32150',CUS_TEL ='0923422846',CUS_MOBILE ='0923422846',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='89',CEN_MOO ='10',CEN_DIS ='สังขะ',CEN_DISID ='321001',CEN_AMP ='สังขะ',CEN_AMPID ='3210',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32150',CEN_TEL ='',CEN_LATITUDE ='14.6360740000',CEN_LONGITUDE ='103.8532450000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='15.00',PLANT_SOURCE_SUBDISTRICT ='321001',PLANT_SOURCE_DISTRICT ='3210',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-26',last_access_time ='11:37:06',log_status ='e',log_user ='sr_1732',log_date ='2018-07-26',ex_status = 'e',ex_datetime ='2018-10-26 11:37:06',crm_status ='a',crm_datetime ='2018-07-26 17:07:37' WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807173200278';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807173200278'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1410500063685',OPERATE_DATE ='2018-07-27',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1807116200284',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='สุวรรณ๊',CUS_SNAME ='เสารศริริ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1990-03-19',CUS_ADD ='106',CUS_MOO ='10',CUS_DIS ='โพธิ์ศรีสำราญ',CUS_DISID ='410503',CUS_AMP ='โนนสะอาด',CUS_AMPID ='4105',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0613131097',CUS_MOBILE ='0613131097',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='106',CEN_MOO ='10',CEN_DIS ='โพธิ์ศรีสำราญ',CEN_DISID ='410503',CEN_AMP ='โนนสะอาด',CEN_AMPID ='4105',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.9815350000',CEN_LONGITUDE ='102.8502380000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='10.00',PLANT_SOURCE_SUBDISTRICT ='410503',PLANT_SOURCE_DISTRICT ='4105',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-27',last_access_time ='15:29:58',log_status ='e',log_user ='63966_1162',log_date ='2018-07-27',ex_status = 'e',ex_datetime ='2018-07-27 15:29:58',crm_status ='a',crm_datetime ='2018-07-27 15:25:41' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200284';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807116200284'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700270567',OPERATE_DATE ='2018-07-27',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1807136900286',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมพงษ์',CUS_SNAME ='พลเยี่ยม',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-01-14',CUS_ADD ='221',CUS_MOO ='6',CUS_DIS ='แวง',CUS_DISID ='450701',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='221',CEN_MOO ='6',CEN_DIS ='แวง',CEN_DISID ='450701',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3344720000',CEN_LONGITUDE ='103.9952090000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450701',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-27',last_access_time ='19:56:25',log_status ='a',log_user ='58357_1369',log_date ='2018-07-27',ex_status = 'e',ex_datetime ='2018-07-27 19:56:25',crm_status ='a',crm_datetime ='2018-07-27 19:53:24' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807136900286';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807136900286'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3411900193877',OPERATE_DATE ='2018-07-28',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1807121600287',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สายยัญ',CUS_SNAME ='ไผ่ป้อง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1980-09-08',CUS_ADD ='35',CUS_MOO ='2',CUS_DIS ='เชียงหวาง',CUS_DISID ='411904',CUS_AMP ='เพ็ญ',CUS_AMPID ='4119',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0872184112',CUS_MOBILE ='0872184112',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='35',CEN_MOO ='2',CEN_DIS ='เชียงหวาง',CEN_DISID ='411904',CEN_AMP ='เพ็ญ',CEN_AMPID ='4119',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.6310370000',CEN_LONGITUDE ='102.8845270000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='411904',PLANT_SOURCE_DISTRICT ='4119',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-09',last_access_time ='15:15:09',log_status ='a',log_user ='34731_1216',log_date ='2018-07-28',ex_status = 'e',ex_datetime ='2018-10-09 15:15:09',crm_status ='a',crm_datetime ='2018-07-28 08:03:48' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807121600287';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807121600287'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3521100026835',OPERATE_DATE ='2018-07-30',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1807105000291',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ชัยฤกษ์',CUS_SNAME ='ธัญญเจริญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-11-26',CUS_ADD ='164',CUS_MOO ='2',CUS_DIS ='สบปราบ',CUS_DISID ='521101',CUS_AMP ='สบปราบ',CUS_AMPID ='5211',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='52170',CUS_TEL ='0956754758',CUS_MOBILE ='0956754758',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='164',CEN_MOO ='2',CEN_DIS ='สบปราบ',CEN_DISID ='521101',CEN_AMP ='สบปราบ',CEN_AMPID ='5211',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='52170',CEN_TEL ='',CEN_LATITUDE ='17.8808200000',CEN_LONGITUDE ='99.3376920000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='15.00',PLANT_SOURCE_SUBDISTRICT ='521101',PLANT_SOURCE_DISTRICT ='5211',PLANT_SOURCE_PROVINCE ='52',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-03',last_access_time ='14:18:53',log_status ='e',log_user ='63922_1050',log_date ='2018-07-30',ex_status = 'e',ex_datetime ='2018-10-03 14:18:53',crm_status ='a',crm_datetime ='2018-07-30 09:37:53' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807105000291';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807105000291'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1410600137281',OPERATE_DATE ='2018-07-30',DOC_NO ='',C_TYPE_CODE ='1757',SUB_BRANCH_ID ='',CUS_ID ='M-1807175700293',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมนึก',CUS_SNAME ='จันทสิทธิ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1988-04-21',CUS_ADD ='119',CUS_MOO ='7',CUS_DIS ='คอนสาย',CUS_DISID ='412404',CUS_AMP ='กู่แก้ว',CUS_AMPID ='4124',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0622507060',CUS_MOBILE ='0622507060',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='119',CEN_MOO ='7',CEN_DIS ='ค้อใหญ่',CEN_DISID ='412403',CEN_AMP ='กู่แก้ว',CEN_AMPID ='4124',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.2100060000',CEN_LONGITUDE ='103.1430980000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='412404',PLANT_SOURCE_DISTRICT ='4124',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-30',last_access_time ='12:03:21',log_status ='a',log_user ='38781_1757',log_date ='2018-07-30',ex_status = 'e',ex_datetime ='2018-07-30 12:03:21',crm_status ='a',crm_datetime ='2018-07-30 11:46:37' WHERE C_TYPE_CODE = '1757' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807175700293';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1757' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807175700293'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3620500968291',OPERATE_DATE ='2018-07-30',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700295',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='มงคล',CUS_SNAME ='บุตรศาตร์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-03-25',CUS_ADD ='116',CUS_MOO ='2',CUS_DIS ='หนองขุ่นใหญ่',CUS_DISID ='450906',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45210',CUS_TEL ='043039703',CUS_MOBILE ='0657642886',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='116',CEN_MOO ='2',CEN_DIS ='หนองขุ่นใหญ่',CEN_DISID ='450906',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45210',CEN_TEL ='',CEN_LATITUDE ='16.2265420000',CEN_LONGITUDE ='104.1445540000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450906',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-30',last_access_time ='13:04:27',log_status ='a',log_user ='62077_1227',log_date ='2018-07-30',ex_status = 'e',ex_datetime ='2018-07-30 13:04:27',crm_status ='a',crm_datetime ='2018-07-30 12:10:40' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700295';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700295'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5311100073220',OPERATE_DATE ='2018-07-30',DOC_NO ='',C_TYPE_CODE ='476',SUB_BRANCH_ID ='',CUS_ID ='M-1807047600296',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='แสงเดือน',CUS_SNAME ='เสนาไทย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1953-02-05',CUS_ADD ='14',CUS_MOO ='8',CUS_DIS ='ดงพลอง',CUS_DISID ='312202',CUS_AMP ='แคนดง',CUS_AMPID ='3122',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31150',CUS_TEL ='0986194120',CUS_MOBILE ='0986194120',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='14',CEN_MOO ='8',CEN_DIS ='ดงพลอง',CEN_DISID ='312202',CEN_AMP ='แคนดง',CEN_AMPID ='3122',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31150',CEN_TEL ='',CEN_LATITUDE ='15.3114230000',CEN_LONGITUDE ='103.1577800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='312202',PLANT_SOURCE_DISTRICT ='3122',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-03',last_access_time ='10:33:25',log_status ='e',log_user ='42960_476',log_date ='2018-07-30',ex_status = 'e',ex_datetime ='2018-08-03 10:33:25',crm_status ='a',crm_datetime ='2018-07-30 14:49:23' WHERE C_TYPE_CODE = '476' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807047600296';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '476' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807047600296'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451500114473',OPERATE_DATE ='2018-07-30',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700298',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='กิจสนา',CUS_SNAME ='ชมบุตรศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-01-24',CUS_ADD ='158',CUS_MOO ='7',CUS_DIS ='ชุมพร',CUS_DISID ='451502',CUS_AMP ='เมยวดี',CUS_AMPID ='4515',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45250',CUS_TEL ='043039703',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='158',CEN_MOO ='7',CEN_DIS ='ชุมพร',CEN_DISID ='451502',CEN_AMP ='เมยวดี',CEN_AMPID ='4515',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45250',CEN_TEL ='',CEN_LATITUDE ='16.3575330000',CEN_LONGITUDE ='104.0921970000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451502',PLANT_SOURCE_DISTRICT ='4515',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-30',last_access_time ='15:01:23',log_status ='a',log_user ='56342_1227',log_date ='2018-07-30',ex_status = 'e',ex_datetime ='2018-07-30 15:01:23',crm_status ='a',crm_datetime ='2018-07-30 14:52:43' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700298';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700298'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700407121',OPERATE_DATE ='2018-07-31',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700308',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='สุกัญญา',CUS_SNAME ='กุลสุวรรณ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1976-04-20',CUS_ADD ='68',CUS_MOO ='12',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45110',CUS_TEL ='0844212256',CUS_MOBILE ='0844212256',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='68',CEN_MOO ='12',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45110',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-31',last_access_time ='16:17:39',log_status ='a',log_user ='55851_1227',log_date ='2018-07-31',ex_status = 'e',ex_datetime ='2018-07-31 16:17:39',crm_status ='a',crm_datetime ='2018-07-31 11:52:00' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700308';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700308'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1320100054761',OPERATE_DATE ='2018-07-31',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1807172700312',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='สุวรรณี',CUS_SNAME ='สังเวียนดี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1986-01-01',CUS_ADD ='110',CUS_MOO ='9',CUS_DIS ='ท่าสว่าง',CUS_DISID ='320105',CUS_AMP ='เมืองสุรินทร์',CUS_AMPID ='3201',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32000',CUS_TEL ='0902372444',CUS_MOBILE ='0902372444',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='110',CEN_MOO ='9',CEN_DIS ='ท่าสว่าง',CEN_DISID ='320105',CEN_AMP ='เมืองสุรินทร์',CEN_AMPID ='3201',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32000',CEN_TEL ='',CEN_LATITUDE ='14.9243010000',CEN_LONGITUDE ='103.4712980000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='320105',PLANT_SOURCE_DISTRICT ='3201',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-31',last_access_time ='16:25:40',log_status ='a',log_user ='sr_1727',log_date ='2018-07-31',ex_status = 'e',ex_datetime ='2018-07-31 16:25:40',crm_status ='a',crm_datetime ='2018-07-31 14:41:21' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172700312';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807172700312'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451000800041',OPERATE_DATE ='2018-07-31',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1807122700315',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ทองดี',CUS_SNAME ='มาตย์วิเศษ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1953-07-17',CUS_ADD ='6',CUS_MOO ='5',CUS_DIS ='พรสวรรค์',CUS_DISID ='451016',CUS_AMP ='เสลภูมิ',CUS_AMPID ='4510',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45110',CUS_TEL ='0833458195',CUS_MOBILE ='0898940503',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='6',CEN_MOO ='5',CEN_DIS ='พรสวรรค์',CEN_DISID ='451016',CEN_AMP ='เสลภูมิ',CEN_AMPID ='4510',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45110',CEN_TEL ='',CEN_LATITUDE ='16.1854970000',CEN_LONGITUDE ='104.1335680000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='451016',PLANT_SOURCE_DISTRICT ='4510',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-07-31',last_access_time ='16:50:36',log_status ='e',log_user ='62077_1227',log_date ='2018-07-31',ex_status = 'e',ex_datetime ='2018-07-31 16:50:36',crm_status ='a',crm_datetime ='2018-07-31 16:46:15' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700315';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1807122700315'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5460500055812',OPERATE_DATE ='2018-08-02',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700008',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประดิษฐ์ ',CUS_SNAME ='ยันตะบุศย์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1953-02-24',CUS_ADD ='167',CUS_MOO ='12',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45110',CUS_TEL ='0862328863',CUS_MOBILE ='0862328863',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='167',CEN_MOO ='12',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45110',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-11',last_access_time ='10:22:40',log_status ='a',log_user ='55851_1227',log_date ='2018-08-02',ex_status = 'e',ex_datetime ='2018-08-11 10:22:40',crm_status ='a',crm_datetime ='2018-08-02 10:03:15' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700008';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700008'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1451500006828',OPERATE_DATE ='2018-08-17',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700165',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='นิเวช',CUS_SNAME ='ไกยศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1985-06-28',CUS_ADD ='102',CUS_MOO ='9',CUS_DIS ='ชุมพร',CUS_DISID ='451502',CUS_AMP ='เมยวดี',CUS_AMPID ='4515',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45110',CUS_TEL ='0928730579',CUS_MOBILE ='0928730579',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='102',CEN_MOO ='9',CEN_DIS ='ชุมพร',CEN_DISID ='451502',CEN_AMP ='เมยวดี',CEN_AMPID ='4515',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45110',CEN_TEL ='',CEN_LATITUDE ='16.3575330000',CEN_LONGITUDE ='104.0921970000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451502',PLANT_SOURCE_DISTRICT ='4515',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-17',last_access_time ='17:07:01',log_status ='e',log_user ='62077_1227',log_date ='2018-08-17',ex_status = 'e',ex_datetime ='2018-08-17 17:07:01',crm_status ='a',crm_datetime ='2018-08-17 12:54:48' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700165';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700165'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3301800577216',OPERATE_DATE ='2018-08-02',DOC_NO ='',C_TYPE_CODE ='1645',SUB_BRANCH_ID ='',CUS_ID ='M-1808164500016',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ภาวินี',CUS_SNAME ='ขมสันเทียะ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1982-12-13',CUS_ADD ='308',CUS_MOO ='8',CUS_DIS ='มะเกลือใหม่',CUS_DISID ='301808',CUS_AMP ='สูงเนิน',CUS_AMPID ='3018',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0800622359',CUS_MOBILE ='0800622359',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='308',CEN_MOO ='8',CEN_DIS ='มะเกลือใหม่',CEN_DISID ='301808',CEN_AMP ='สูงเนิน',CEN_AMPID ='3018',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.8731240000',CEN_LONGITUDE ='101.7649840000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='3',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='301808',PLANT_SOURCE_DISTRICT ='3018',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-11',last_access_time ='17:31:19',log_status ='e',log_user ='52299_1645',log_date ='2018-11-06',ex_status = 'e',ex_datetime ='2019-06-11 17:31:19',crm_status ='a',crm_datetime ='2018-11-06 14:53:51' WHERE C_TYPE_CODE = '1645' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808164500016';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1645' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808164500016'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3521100213830',OPERATE_DATE ='2018-08-02',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1808105000017',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='โอบกิจ',CUS_SNAME ='อินทร์จันทร์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1967-03-02',CUS_ADD ='14',CUS_MOO ='12',CUS_DIS ='สบปราบ',CUS_DISID ='521101',CUS_AMP ='สบปราบ',CUS_AMPID ='5211',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='0',CUS_TEL ='0851071817',CUS_MOBILE ='0851071817',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='14',CEN_MOO ='12',CEN_DIS ='สบปราบ',CEN_DISID ='521101',CEN_AMP ='สบปราบ',CEN_AMPID ='5211',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.8808200000',CEN_LONGITUDE ='99.3376920000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='15.00',PLANT_SOURCE_SUBDISTRICT ='521101',PLANT_SOURCE_DISTRICT ='5211',PLANT_SOURCE_PROVINCE ='52',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-03',last_access_time ='11:09:26',log_status ='e',log_user ='63922_1050',log_date ='2018-08-02',ex_status = 'e',ex_datetime ='2018-08-03 11:09:26',crm_status ='a',crm_datetime ='2018-08-02 17:25:45' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808105000017';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808105000017'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5250201065991',OPERATE_DATE ='2018-08-03',DOC_NO ='',C_TYPE_CODE ='476',SUB_BRANCH_ID ='',CUS_ID ='M-1808047600022',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='เด่นนภา',CUS_SNAME ='อินเบิด',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1980-12-09',CUS_ADD ='929/1',CUS_MOO ='8',CUS_DIS ='โนนดินแดง',CUS_DISID ='312001',CUS_AMP ='โนนดินแดง',CUS_AMPID ='3120',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31260',CUS_TEL ='0872488048',CUS_MOBILE ='0872488048',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='9/1',CEN_MOO ='8',CEN_DIS ='โนนดินแดง',CEN_DISID ='312001',CEN_AMP ='โนนดินแดง',CEN_AMPID ='3120',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31260',CEN_TEL ='',CEN_LATITUDE ='14.2963240000',CEN_LONGITUDE ='102.7530670000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='312001',PLANT_SOURCE_DISTRICT ='3120',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-03',last_access_time ='10:37:30',log_status ='e',log_user ='42960_476',log_date ='2018-08-03',ex_status = 'e',ex_datetime ='2018-08-03 10:37:30',crm_status ='a',crm_datetime ='2018-08-03 09:15:22' WHERE C_TYPE_CODE = '476' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808047600022';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '476' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808047600022'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='2310600026446',OPERATE_DATE ='2018-08-03',DOC_NO ='',C_TYPE_CODE ='476',SUB_BRANCH_ID ='',CUS_ID ='M-1808047600024',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สุนิสา',CUS_SNAME ='เนตรถาวร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1970-10-16',CUS_ADD ='92',CUS_MOO ='7',CUS_DIS ='โนนดินแดง',CUS_DISID ='312001',CUS_AMP ='โนนดินแดง',CUS_AMPID ='3120',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31260',CUS_TEL ='0872488048',CUS_MOBILE ='0872488048',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='92',CEN_MOO ='7',CEN_DIS ='โนนดินแดง',CEN_DISID ='312001',CEN_AMP ='โนนดินแดง',CEN_AMPID ='3120',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31260',CEN_TEL ='',CEN_LATITUDE ='14.2963240000',CEN_LONGITUDE ='102.7530670000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='312001',PLANT_SOURCE_DISTRICT ='3120',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-03',last_access_time ='10:40:17',log_status ='a',log_user ='42960_476',log_date ='2018-08-03',ex_status = 'e',ex_datetime ='2018-08-03 10:40:17',crm_status ='a',crm_datetime ='2018-08-03 09:07:34' WHERE C_TYPE_CODE = '476' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808047600024';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '476' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808047600024'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5250700001955',OPERATE_DATE ='2018-08-03',DOC_NO ='',C_TYPE_CODE ='1736',SUB_BRANCH_ID ='',CUS_ID ='M-1808173600025',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วิชัย',CUS_SNAME ='จันทร์เพ็ญ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1970-08-26',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='จระเข้หิน',CUS_DISID ='300205',CUS_AMP ='ครบุรี',CUS_AMPID ='3002',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0844395643',CUS_MOBILE ='0656825155',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='5',CEN_MOO ='7',CEN_DIS ='จระเข้หิน',CEN_DISID ='300205',CEN_AMP ='ครบุรี',CEN_AMPID ='3002',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5250980000',CEN_LONGITUDE ='102.1893310000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='3',CUS_GROUP ='3',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300205',PLANT_SOURCE_DISTRICT ='3002',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-03',last_access_time ='09:30:58',log_status ='a',log_user ='sr_1736',log_date ='2018-08-03',ex_status = 'e',ex_datetime ='2018-08-03 09:30:58',crm_status ='a',crm_datetime ='2018-08-03 09:23:21' WHERE C_TYPE_CODE = '1736' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808173600025';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1736' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808173600025'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3430500756733',OPERATE_DATE ='2018-08-03',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700032',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='บัวทอง',CUS_SNAME ='นวนโสภา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-01-01',CUS_ADD ='100',CUS_MOO ='7',CUS_DIS ='เฝ้าไร่',CUS_DISID ='431501',CUS_AMP ='เฝ้าไร่',CUS_AMPID ='4315',CUS_PROV ='หนองคาย',CUS_PROVID ='43',CUS_POST ='0',CUS_TEL ='0929955403',CUS_MOBILE ='0929955403',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='100',CEN_MOO ='7',CEN_DIS ='เฝ้าไร่',CEN_DISID ='431501',CEN_AMP ='เฝ้าไร่',CEN_AMPID ='4315',CEN_PROV ='หนองคาย',CEN_PROVID ='43',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='18.0177530000',CEN_LONGITUDE ='103.3034130000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='431501',PLANT_SOURCE_DISTRICT ='4315',PLANT_SOURCE_PROVINCE ='43',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-03',last_access_time ='16:23:08',log_status ='a',log_user ='56714_1227',log_date ='2018-08-03',ex_status = 'e',ex_datetime ='2018-08-03 16:23:08',crm_status ='a',crm_datetime ='2018-08-03 16:10:44' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700032';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700032'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700190041',OPERATE_DATE ='2018-08-06',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700052',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='บุญมี',CUS_SNAME ='ศรีวะรา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-07-13',CUS_ADD ='260',CUS_MOO ='6',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0636212347',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='260',CEN_MOO ='6',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-07',last_access_time ='13:46:44',log_status ='a',log_user ='56342_1227',log_date ='2018-08-06',ex_status = 'e',ex_datetime ='2018-08-07 13:46:44',crm_status ='a',crm_datetime ='2018-08-06 17:04:48' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700052';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700052'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3410100835644',OPERATE_DATE ='2018-08-07',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1808116200057',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='การดา',CUS_SNAME ='สิงหาบุตร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1975-06-22',CUS_ADD ='169',CUS_MOO ='10',CUS_DIS ='บ้านตาด',CUS_DISID ='410105',CUS_AMP ='เมืองอุดรธานี',CUS_AMPID ='4101',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0887391575',CUS_MOBILE ='0887391575',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='169',CEN_MOO ='10',CEN_DIS ='บ้านตาด',CEN_DISID ='410105',CEN_AMP ='เมืองอุดรธานี',CEN_AMPID ='4101',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.3094510000',CEN_LONGITUDE ='102.7880380000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='410105',PLANT_SOURCE_DISTRICT ='4101',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-08',last_access_time ='08:47:50',log_status ='a',log_user ='56307_1162',log_date ='2018-08-07',ex_status = 'e',ex_datetime ='2018-08-08 08:47:50',crm_status ='a',crm_datetime ='2018-08-07 11:49:57' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200057';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200057'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700845012',OPERATE_DATE ='2018-08-07',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700060',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เอมอล',CUS_SNAME ='จันนี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1998-04-08',CUS_ADD ='58',CUS_MOO ='13',CUS_DIS ='โนนชัยศรี',CUS_DISID ='450707',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0655192456',CUS_MOBILE ='0985741989',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='58',CEN_MOO ='13',CEN_DIS ='โนนชัยศรี',CEN_DISID ='450707',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1932450000',CEN_LONGITUDE ='103.9483450000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450707',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-07',last_access_time ='13:31:40',log_status ='a',log_user ='65372_1227',log_date ='2018-08-07',ex_status = 'e',ex_datetime ='2018-08-07 13:31:40',crm_status ='a',crm_datetime ='2018-08-07 13:27:39' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700060';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700060'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451500114490',OPERATE_DATE ='2018-08-07',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700061',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='วาสนา',CUS_SNAME ='พิมบูลย์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1998-06-03',CUS_ADD ='181',CUS_MOO ='11',CUS_DIS ='พรมสวรรค์',CUS_DISID ='450711',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0',CUS_MOBILE ='0985863935',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='181',CEN_MOO ='11',CEN_DIS ='พรมสวรรค์',CEN_DISID ='450711',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1976960000',CEN_LONGITUDE ='104.0719410000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450711',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-18',last_access_time ='13:53:53',log_status ='a',log_user ='65372_1227',log_date ='2018-08-07',ex_status = 'e',ex_datetime ='2018-08-18 13:53:53',crm_status ='a',crm_datetime ='2018-08-07 14:00:04' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700061';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700061'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3350800808713',OPERATE_DATE ='2019-04-09',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1904122700090',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทองดา',CUS_SNAME ='จันทร์เตี้ย',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-08-19',CUS_ADD ='55',CUS_MOO ='10',CUS_DIS ='ห้องแซง',CUS_DISID ='350805',CUS_AMP ='เลิงนกทา',CUS_AMPID ='3508',CUS_PROV ='ยโสธร',CUS_PROVID ='35',CUS_POST ='0',CUS_TEL ='0846573934',CUS_MOBILE ='0846573934',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='55',CEN_MOO ='10',CEN_DIS ='ห้องแซง',CEN_DISID ='350805',CEN_AMP ='เลิงนกทา',CEN_AMPID ='3508',CEN_PROV ='ยโสธร',CEN_PROVID ='35',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2697210000',CEN_LONGITUDE ='104.4063380000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='350805',PLANT_SOURCE_DISTRICT ='3508',PLANT_SOURCE_PROVINCE ='35',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-04-30',last_access_time ='13:23:55',log_status ='a',log_user ='56342_1227',log_date ='2019-04-09',ex_status = 'e',ex_datetime ='2019-04-30 13:23:55',crm_status ='a',crm_datetime ='2019-04-09 10:42:32' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1904122700090';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1904122700090'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='',OPERATE_DATE ='2018-08-08',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1808146700068',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ไชโย',CUS_SNAME ='สาธร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1988-05-30',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='ท่ากระดาน',CUS_DISID ='240802',CUS_AMP ='สนามชัยเขต',CUS_AMPID ='2408',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0970735498',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='ทุ่งโพธิ์',CEN_DISID ='250304',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.1325810000',CEN_LONGITUDE ='101.8817140000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='240802',PLANT_SOURCE_DISTRICT ='2408',PLANT_SOURCE_PROVINCE ='24',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-04',last_access_time ='08:16:09',log_status ='a',log_user ='55496_1467',log_date ='2018-08-08',ex_status = 'e',ex_datetime ='2018-09-04 08:16:09',crm_status ='a',crm_datetime ='2018-08-08 12:57:12' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808146700068';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808146700068'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300300144921',OPERATE_DATE ='2018-08-09',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1808136900073',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สุนีย์',CUS_SNAME ='สรวงศืริ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-10-10',CUS_ADD ='46',CUS_MOO ='2',CUS_DIS ='โนนสมบูรณ์',CUS_DISID ='300303',CUS_AMP ='เสิงสาง',CUS_AMPID ='3003',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='46',CEN_MOO ='2',CEN_DIS ='โนนสมบูรณ์',CEN_DISID ='300303',CEN_AMP ='เสิงสาง',CEN_AMPID ='3003',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.3535390000',CEN_LONGITUDE ='102.4324040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300303',PLANT_SOURCE_DISTRICT ='3003',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-01-28',last_access_time ='20:08:16',log_status ='a',log_user ='58357_1369',log_date ='2018-08-09',ex_status = 'e',ex_datetime ='2019-01-28 20:08:16',crm_status ='a',crm_datetime ='2018-08-09 09:17:10' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808136900073';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808136900073'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5320590064281',OPERATE_DATE ='2018-08-09',DOC_NO ='',C_TYPE_CODE ='1619',SUB_BRANCH_ID ='',CUS_ID ='M-1808161900079',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='2',CUS_NAME ='ศรีจันทร์',CUS_SNAME ='สุขประโคน',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1973-11-12',CUS_ADD ='196',CUS_MOO ='14',CUS_DIS ='โชคนาสาม',CUS_DISID ='320511',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='0',CUS_TEL ='0872406118',CUS_MOBILE ='0712235143',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='196',CEN_MOO ='14',CEN_DIS ='โชคนาสาม',CEN_DISID ='320511',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5501060000',CEN_LONGITUDE ='103.2694240000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='320511',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-26',last_access_time ='11:18:56',log_status ='e',log_user ='sr_1732',log_date ='2018-08-09',ex_status = 'e',ex_datetime ='2018-11-26 11:18:56',crm_status ='a',crm_datetime ='2018-08-09 15:09:08' WHERE C_TYPE_CODE = '1619' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808161900079';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1619' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808161900079'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400800140711',OPERATE_DATE ='2018-08-09',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1808116200081',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='จุลพร',CUS_SNAME ='ไชยศรี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1978-01-26',CUS_ADD ='60',CUS_MOO ='5',CUS_DIS ='บ้านดง',CUS_DISID ='400802',CUS_AMP ='อุบลรัตน์',CUS_AMPID ='4008',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0917979676',CUS_MOBILE ='0917979676',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='60',CEN_MOO ='5',CEN_DIS ='บ้านดง',CEN_DISID ='400802',CEN_AMP ='อุบลรัตน์',CEN_AMPID ='4008',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.7986250000',CEN_LONGITUDE ='102.6432040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400802',PLANT_SOURCE_DISTRICT ='4008',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-10',last_access_time ='14:41:36',log_status ='a',log_user ='65378_1162',log_date ='2018-08-09',ex_status = 'e',ex_datetime ='2018-08-10 14:41:36',crm_status ='a',crm_datetime ='2018-08-09 15:05:55' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200081';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200081'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3460500342912',OPERATE_DATE ='2018-08-10',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1808136900087',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เจริญศิลป์',CUS_SNAME ='ศรีแนน',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1942-03-28',CUS_ADD ='79',CUS_MOO ='1',CUS_DIS ='เหล่าไฮงาม',CUS_DISID ='460505',CUS_AMP ='กุฉินารายณ์',CUS_AMPID ='4605',CUS_PROV ='กาฬสินธุ์',CUS_PROVID ='46',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='79',CEN_MOO ='1',CEN_DIS ='เหล่าไฮงาม',CEN_DISID ='460505',CEN_AMP ='กุฉินารายณ์',CEN_AMPID ='4605',CEN_PROV ='กาฬสินธุ์',CEN_PROVID ='46',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.4788890000',CEN_LONGITUDE ='104.1593170000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='460505',PLANT_SOURCE_DISTRICT ='4605',PLANT_SOURCE_PROVINCE ='46',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-14',last_access_time ='14:53:17',log_status ='a',log_user ='58357_1369',log_date ='2018-08-10',ex_status = 'e',ex_datetime ='2018-08-14 14:53:17',crm_status ='a',crm_datetime ='2018-08-10 09:39:36' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808136900087';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808136900087'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450800259786',OPERATE_DATE ='2018-08-10',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1808136900088',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมจิตร',CUS_SNAME ='ขันนาเลา',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1974-06-25',CUS_ADD ='116',CUS_MOO ='11',CUS_DIS ='อัคคะคำ',CUS_DISID ='450804',CUS_AMP ='โพธิ์ชัย',CUS_AMPID ='4508',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0800024636',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='116',CEN_MOO ='11',CEN_DIS ='อัคคะคำ',CEN_DISID ='450804',CEN_AMP ='โพธิ์ชัย',CEN_AMPID ='4508',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3881670000',CEN_LONGITUDE ='103.7507630000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450804',PLANT_SOURCE_DISTRICT ='4508',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-15',last_access_time ='18:54:06',log_status ='a',log_user ='58357_1369',log_date ='2018-08-10',ex_status = 'e',ex_datetime ='2018-08-15 18:54:06',crm_status ='a',crm_datetime ='2018-08-10 09:52:09' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808136900088';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808136900088'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3430600144641',OPERATE_DATE ='2018-08-10',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1808116200092',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='บัวศรี',CUS_SNAME ='จันทร์ไทย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1964-10-04',CUS_ADD ='32',CUS_MOO ='2',CUS_DIS ='เฝ้าไร่',CUS_DISID ='431501',CUS_AMP ='เฝ้าไร่',CUS_AMPID ='4315',CUS_PROV ='หนองคาย',CUS_PROVID ='43',CUS_POST ='0',CUS_TEL ='0801917272',CUS_MOBILE ='0801917272',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='32',CEN_MOO ='2',CEN_DIS ='เฝ้าไร่',CEN_DISID ='431501',CEN_AMP ='เฝ้าไร่',CEN_AMPID ='4315',CEN_PROV ='หนองคาย',CEN_PROVID ='43',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='18.0177530000',CEN_LONGITUDE ='103.3034130000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='431501',PLANT_SOURCE_DISTRICT ='4315',PLANT_SOURCE_PROVINCE ='43',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-19',last_access_time ='14:59:13',log_status ='e',log_user ='56307_1162',log_date ='2019-05-11',ex_status = 'e',ex_datetime ='2019-07-19 14:59:13',crm_status ='a',crm_datetime ='2019-05-11 17:13:18' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200092';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200092'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3340900660882',OPERATE_DATE ='2018-08-10',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700094',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ลมุล',CUS_SNAME ='เศรษฐลือ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1966-08-25',CUS_ADD ='14/5',CUS_MOO ='3',CUS_DIS ='เทพกระษัตรี',CUS_DISID ='830301',CUS_AMP ='ถลาง',CUS_AMPID ='8303',CUS_PROV ='ภูเก็ต',CUS_PROVID ='83',CUS_POST ='0',CUS_TEL ='0849729483',CUS_MOBILE ='0899729483',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='14/5',CEN_MOO ='3',CEN_DIS ='เทพกระษัตรี',CEN_DISID ='830301',CEN_AMP ='ถลาง',CEN_AMPID ='8303',CEN_PROV ='ภูเก็ต',CEN_PROVID ='83',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='8.0605890000',CEN_LONGITUDE ='98.3417130000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='830301',PLANT_SOURCE_DISTRICT ='8303',PLANT_SOURCE_PROVINCE ='83',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-10',last_access_time ='16:46:37',log_status ='e',log_user ='62077_1227',log_date ='2018-08-10',ex_status = 'e',ex_datetime ='2018-08-10 16:46:37',crm_status ='a',crm_datetime ='2018-08-10 16:32:50' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700094';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700094'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3240800122197',OPERATE_DATE ='2018-08-10',DOC_NO ='',C_TYPE_CODE ='1421',SUB_BRANCH_ID ='',CUS_ID ='M-1808142100095',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='4',CUS_NAME ='สมจิต',CUS_SNAME ='สาธุชาติ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1983-04-25',CUS_ADD ='1',CUS_MOO ='14',CUS_DIS ='ท่าตะเกียบ',CUS_DISID ='241001',CUS_AMP ='ท่าตะเกียบ',CUS_AMPID ='2410',CUS_PROV ='ฉะเชิงเทรา',CUS_PROVID ='24',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0852852951',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='1',CEN_MOO ='14',CEN_DIS ='ท่าตะเกียบ',CEN_DISID ='241001',CEN_AMP ='ท่าตะเกียบ',CEN_AMPID ='2410',CEN_PROV ='ฉะเชิงเทรา',CEN_PROVID ='24',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.5311900000',CEN_LONGITUDE ='101.6757200000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='241001',PLANT_SOURCE_DISTRICT ='2410',PLANT_SOURCE_PROVINCE ='24',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-10',last_access_time ='17:04:39',log_status ='e',log_user ='32966_1658',log_date ='2018-08-11',ex_status = 'e',ex_datetime ='2018-08-10 17:04:39',crm_status ='a',crm_datetime ='2018-08-10 17:01:58' WHERE C_TYPE_CODE = '1421' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808142100095';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1421' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808142100095'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3311200285796',OPERATE_DATE ='2018-08-11',DOC_NO ='',C_TYPE_CODE ='1720',SUB_BRANCH_ID ='',CUS_ID ='M-1808172000097',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='แทน',CUS_SNAME ='นาคนางรอง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-05-11',CUS_ADD ='214',CUS_MOO ='6',CUS_DIS ='โคกมะม่วง',CUS_DISID ='311204',CUS_AMP ='ปะคำ',CUS_AMPID ='3112',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31220',CUS_TEL ='',CUS_MOBILE ='0878722530',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='214',CEN_MOO ='6',CEN_DIS ='โคกมะม่วง',CEN_DISID ='311204',CEN_AMP ='ปะคำ',CEN_AMPID ='3112',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31220',CEN_TEL ='',CEN_LATITUDE ='14.4346800000',CEN_LONGITUDE ='102.6226040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='311204',PLANT_SOURCE_DISTRICT ='3112',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-04',last_access_time ='15:59:11',log_status ='e',log_user ='sr_1766',log_date ='2018-09-04',ex_status = 'e',ex_datetime ='2018-09-04 15:59:11',crm_status ='a',crm_datetime ='2018-09-04 15:54:47' WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172000097';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172000097'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341900585377',OPERATE_DATE ='2018-08-11',DOC_NO ='',C_TYPE_CODE ='1726',SUB_BRANCH_ID ='',CUS_ID ='M-1808172600098',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='คำภา',CUS_SNAME ='บุญกอ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1941-08-31',CUS_ADD ='79',CUS_MOO ='3',CUS_DIS ='นิคมลำโดมน้อย',CUS_DISID ='342504',CUS_AMP ='สิรินธร',CUS_AMPID ='3425',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='34350',CUS_TEL ='0614934798',CUS_MOBILE ='0614934798',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='79',CEN_MOO ='3',CEN_DIS ='นิคมลำโดมน้อย',CEN_DISID ='342504',CEN_AMP ='สิรินธร',CEN_AMPID ='3425',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='34350',CEN_TEL ='',CEN_LATITUDE ='15.2295330000',CEN_LONGITUDE ='105.4196550000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='342504',PLANT_SOURCE_DISTRICT ='3425',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-11',last_access_time ='11:40:37',log_status ='a',log_user ='sr_1726',log_date ='2018-08-11',ex_status = 'e',ex_datetime ='2018-08-11 11:40:37',crm_status ='a',crm_datetime ='2018-08-11 10:46:50' WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172600098';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172600098'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1440600033591',OPERATE_DATE ='2018-08-11',DOC_NO ='',C_TYPE_CODE ='1726',SUB_BRANCH_ID ='',CUS_ID ='M-1808172600099',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อนุชา',CUS_SNAME ='บุษบง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1985-06-08',CUS_ADD ='244',CUS_MOO ='7',CUS_DIS ='นาตาล',CUS_DISID ='343001',CUS_AMP ='นาตาล',CUS_AMPID ='3430',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='34350',CUS_TEL ='0956023837',CUS_MOBILE ='0956023837',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='244',CEN_MOO ='7',CEN_DIS ='นาตาล',CEN_DISID ='343001',CEN_AMP ='นาตาล',CEN_AMPID ='3430',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='34350',CEN_TEL ='',CEN_LATITUDE ='15.8972820000',CEN_LONGITUDE ='105.2665330000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='342505',PLANT_SOURCE_DISTRICT ='3425',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-11',last_access_time ='11:43:08',log_status ='a',log_user ='sr_1726',log_date ='2018-08-11',ex_status = 'e',ex_datetime ='2018-08-11 11:43:08',crm_status ='a',crm_datetime ='2018-08-11 11:06:13' WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172600099';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172600099'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1350600085193',OPERATE_DATE ='2018-08-11',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700101',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เขษมศักดิ์',CUS_SNAME ='โคตรบุตร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1992-04-25',CUS_ADD ='68',CUS_MOO ='11',CUS_DIS ='ม่วง',CUS_DISID ='350606',CUS_AMP ='มหาชนะชัย',CUS_AMPID ='3506',CUS_PROV ='ยโสธร',CUS_PROVID ='35',CUS_POST ='0',CUS_TEL ='0991688464',CUS_MOBILE ='0991688464',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='68',CEN_MOO ='11',CEN_DIS ='ม่วง',CEN_DISID ='350606',CEN_AMP ='มหาชนะชัย',CEN_AMPID ='3506',CEN_PROV ='ยโสธร',CEN_PROVID ='35',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.4811440000',CEN_LONGITUDE ='104.3266870000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='350606',PLANT_SOURCE_DISTRICT ='3506',PLANT_SOURCE_PROVINCE ='35',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-14',last_access_time ='15:59:10',log_status ='a',log_user ='65272_1227',log_date ='2018-08-11',ex_status = 'e',ex_datetime ='2018-08-14 15:59:10',crm_status ='a',crm_datetime ='2018-08-11 13:46:51' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700101';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700101'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3460101041668',OPERATE_DATE ='2019-06-20',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1906122700197',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สมปอง',CUS_SNAME ='นาทุ่งมล',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1970-08-01',CUS_ADD ='90',CUS_MOO ='9',CUS_DIS ='ดอนจาน',CUS_DISID ='461701',CUS_AMP ='ดอนจาน',CUS_AMPID ='4617',CUS_PROV ='กาฬสินธุ์',CUS_PROVID ='46',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0872203539',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='90',CEN_MOO ='9',CEN_DIS ='ดอนจาน',CEN_DISID ='461701',CEN_AMP ='ดอนจาน',CEN_AMPID ='4617',CEN_PROV ='กาฬสินธุ์',CEN_PROVID ='46',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.4525490000',CEN_LONGITUDE ='103.6985780000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='461701',PLANT_SOURCE_DISTRICT ='4617',PLANT_SOURCE_PROVINCE ='46',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-21',last_access_time ='13:31:08',log_status ='a',log_user ='56342_1227',log_date ='2019-06-20',ex_status = 'e',ex_datetime ='2019-06-21 13:31:08',crm_status ='a',crm_datetime ='2019-06-20 13:56:36' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1906122700197';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1906122700197'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900042444',OPERATE_DATE ='2018-08-12',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700106',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ประวัติ',CUS_SNAME ='มีหนองใหญ่',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-12-13',CUS_ADD ='147',CUS_MOO ='2',CUS_DIS ='หนองขุ่นใหญ่',CUS_DISID ='450906',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0857446757',CUS_MOBILE ='0857446757',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='147',CEN_MOO ='2',CEN_DIS ='หนองขุ่นใหญ่',CEN_DISID ='450906',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2265420000',CEN_LONGITUDE ='104.1445540000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450906',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-15',last_access_time ='16:38:44',log_status ='a',log_user ='56342_1227',log_date ='2018-08-12',ex_status = 'e',ex_datetime ='2018-08-15 16:38:44',crm_status ='a',crm_datetime ='2018-08-12 13:09:17' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700106';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700106'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1451000028776',OPERATE_DATE ='2018-08-14',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700129',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วินัย',CUS_SNAME ='ทับภูมี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1985-07-03',CUS_ADD ='178',CUS_MOO ='3',CUS_DIS ='พรสวรรค์',CUS_DISID ='451016',CUS_AMP ='เสลภูมิ',CUS_AMPID ='4510',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0881098633',CUS_MOBILE ='0650008784',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='178',CEN_MOO ='3',CEN_DIS ='พรสวรรค์',CEN_DISID ='451016',CEN_AMP ='เสลภูมิ',CEN_AMPID ='4510',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1854970000',CEN_LONGITUDE ='104.1335680000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451016',PLANT_SOURCE_DISTRICT ='4510',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-15',last_access_time ='15:59:11',log_status ='a',log_user ='65372_1227',log_date ='2018-08-14',ex_status = 'e',ex_datetime ='2018-08-15 15:59:11',crm_status ='a',crm_datetime ='2018-08-14 16:50:20' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700129';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700129'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3100500351817',OPERATE_DATE ='2018-08-15',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700137',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทวีศักดิ์',CUS_SNAME ='ดีแสวง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1980-11-03',CUS_ADD ='115',CUS_MOO ='13',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45110',CUS_TEL ='0621364010',CUS_MOBILE ='0621364010',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='115',CEN_MOO ='13',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45110',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-15',last_access_time ='16:02:21',log_status ='a',log_user ='55851_1227',log_date ='2018-08-15',ex_status = 'e',ex_datetime ='2018-09-15 16:02:21',crm_status ='a',crm_datetime ='2018-08-15 08:52:40' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700137';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700137'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400900102773',OPERATE_DATE ='2018-08-15',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1808116200141',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='บุดดี',CUS_SNAME ='บุญกอง',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1951-05-08',CUS_ADD ='94',CUS_MOO ='2',CUS_DIS ='คูคำ',CUS_DISID ='402104',CUS_AMP ='ซำสูง',CUS_AMPID ='4021',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0959212756',CUS_MOBILE ='0959212756',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='94',CEN_MOO ='2',CEN_DIS ='คูคำ',CEN_DISID ='402104',CEN_AMP ='ซำสูง',CEN_AMPID ='4021',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.5144410000',CEN_LONGITUDE ='103.0215450000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='402104',PLANT_SOURCE_DISTRICT ='4021',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-15',last_access_time ='09:59:30',log_status ='a',log_user ='65378_1162',log_date ='2018-08-15',ex_status = 'e',ex_datetime ='2018-08-15 09:59:30',crm_status ='a',crm_datetime ='2018-08-15 09:53:55' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200141';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200141'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700136763',OPERATE_DATE ='2018-08-15',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1808136900142',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='สงวน',CUS_SNAME ='มหาแสน',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1970-12-01',CUS_ADD ='46',CUS_MOO ='8',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='0870640686',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='46',CEN_MOO ='8',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-30',last_access_time ='15:42:55',log_status ='a',log_user ='58357_1369',log_date ='2018-08-15',ex_status = 'e',ex_datetime ='2019-06-30 15:42:55',crm_status ='a',crm_datetime ='2018-08-15 10:00:53' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808136900142';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808136900142'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='4450700001068',OPERATE_DATE ='2018-08-15',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700144',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทนงศักดิ์',CUS_SNAME ='กอมะณี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1980-11-26',CUS_ADD ='81',CUS_MOO ='3',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45110',CUS_TEL ='0639547723',CUS_MOBILE ='0615224256',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='81',CEN_MOO ='3',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45110',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-17',last_access_time ='16:52:54',log_status ='a',log_user ='55851_1227',log_date ='2018-08-15',ex_status = 'e',ex_datetime ='2018-08-17 16:52:54',crm_status ='a',crm_datetime ='2018-08-15 11:25:10' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700144';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700144'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300200726481',OPERATE_DATE ='2018-08-15',DOC_NO ='',C_TYPE_CODE ='10',SUB_BRANCH_ID ='',CUS_ID ='M-1808001000145',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='จินตนา',CUS_SNAME ='ส่วยครบุรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1984-03-21',CUS_ADD ='90',CUS_MOO ='8',CUS_DIS ='ครบุรี',CUS_DISID ='300203',CUS_AMP ='ครบุรี',CUS_AMPID ='3002',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='080-0014580',CUS_MOBILE ='0800014580',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='90',CEN_MOO ='8',CEN_DIS ='ครบุรี',CEN_DISID ='300203',CEN_AMP ='ครบุรี',CEN_AMPID ='3002',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5397210000',CEN_LONGITUDE ='102.1632390000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300203',PLANT_SOURCE_DISTRICT ='3002',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-15',last_access_time ='13:29:41',log_status ='e',log_user ='63919_10',log_date ='2018-08-15',ex_status = 'e',ex_datetime ='2018-08-15 13:29:41',crm_status ='a',crm_datetime ='2018-08-15 13:19:45' WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808001000145';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808001000145'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3311200253011',OPERATE_DATE ='2018-08-15',DOC_NO ='',C_TYPE_CODE ='1720',SUB_BRANCH_ID ='',CUS_ID ='M-1808172000150',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='สมศักดิ์',CUS_SNAME ='ถาดจังหรีด',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1963-02-01',CUS_ADD ='67',CUS_MOO ='7',CUS_DIS ='หนองบัว',CUS_DISID ='311203',CUS_AMP ='ปะคำ',CUS_AMPID ='3112',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31220',CUS_TEL ='',CUS_MOBILE ='0629036114',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='67',CEN_MOO ='7',CEN_DIS ='หนองบัว',CEN_DISID ='311203',CEN_AMP ='ปะคำ',CEN_AMPID ='3112',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31220',CEN_TEL ='',CEN_LATITUDE ='14.4323530000',CEN_LONGITUDE ='102.6703260000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='311203',PLANT_SOURCE_DISTRICT ='3112',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-04',last_access_time ='16:01:09',log_status ='e',log_user ='sr_1766',log_date ='2018-09-04',ex_status = 'e',ex_datetime ='2018-09-04 16:01:09',crm_status ='a',crm_datetime ='2018-09-04 15:57:29' WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172000150';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1720' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172000150'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1311100023416',OPERATE_DATE ='2018-08-15',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1808123200153',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='นิตยา',CUS_SNAME ='ศาลางาม',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1985-01-30',CUS_ADD ='70',CUS_MOO ='4',CUS_DIS ='นิคม',CUS_DISID ='311102',CUS_AMP ='สตึก',CUS_AMPID ='3111',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='0',CUS_TEL ='043000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='70',CEN_MOO ='4',CEN_DIS ='นิคม',CEN_DISID ='311102',CEN_AMP ='สตึก',CEN_AMPID ='3111',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.2964380000',CEN_LONGITUDE ='103.2916550000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='311101',PLANT_SOURCE_DISTRICT ='3111',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-07-01',last_access_time ='23:43:45',log_status ='a',log_user ='52575_1232',log_date ='2018-08-15',ex_status = 'e',ex_datetime ='2019-07-01 23:43:45',crm_status ='a',crm_datetime ='2018-08-15 22:23:02' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808123200153';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808123200153'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3340400590711',OPERATE_DATE ='2018-08-16',DOC_NO ='',C_TYPE_CODE ='1734',SUB_BRANCH_ID ='',CUS_ID ='M-1808173400154',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประสิทธิ์',CUS_SNAME ='ประสารพันธ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-05-01',CUS_ADD ='71',CUS_MOO ='9',CUS_DIS ='ละลาย',CUS_DISID ='330407',CUS_AMP ='กันทรลักษ์',CUS_AMPID ='3304',CUS_PROV ='ศรีสะเกษ',CUS_PROVID ='33',CUS_POST ='0',CUS_TEL ='0621033145',CUS_MOBILE ='0621033145',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='71',CEN_MOO ='9',CEN_DIS ='ละลาย',CEN_DISID ='330407',CEN_AMP ='กันทรลักษ์',CEN_AMPID ='3304',CEN_PROV ='ศรีสะเกษ',CEN_PROVID ='33',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5076490000',CEN_LONGITUDE ='104.5351700000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='330407',PLANT_SOURCE_DISTRICT ='3304',PLANT_SOURCE_PROVINCE ='33',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-16',last_access_time ='23:50:24',log_status ='e',log_user ='sr_1734',log_date ='2018-08-16',ex_status = 'e',ex_datetime ='2018-08-16 23:50:24',crm_status ='a',crm_datetime ='2018-08-16 23:40:06' WHERE C_TYPE_CODE = '1734' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808173400154';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1734' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808173400154'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3311101034086',OPERATE_DATE ='2018-08-16',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700159',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วันลบ',CUS_SNAME ='มาขุมเหล็ก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1974-07-12',CUS_ADD ='4',CUS_MOO ='3',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45211',CUS_TEL ='0843849587',CUS_MOBILE ='0843849581',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='4',CEN_MOO ='3',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45211',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-17',last_access_time ='16:33:54',log_status ='e',log_user ='62077_1227',log_date ='2018-08-16',ex_status = 'e',ex_datetime ='2018-08-17 16:33:54',crm_status ='a',crm_datetime ='2018-08-16 14:56:29' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700159';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700159'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451000805442',OPERATE_DATE ='2018-08-17',DOC_NO ='',C_TYPE_CODE ='1659',SUB_BRANCH_ID ='',CUS_ID ='M-1808165900167',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='กฤษณะ',CUS_SNAME ='แก้วสิมมา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1973-06-23',CUS_ADD ='218',CUS_MOO ='1',CUS_DIS ='พรเจริญ',CUS_DISID ='430403',CUS_AMP ='พรเจริญ',CUS_AMPID ='4304',CUS_PROV ='บึงกาฬ',CUS_PROVID ='97',CUS_POST ='0',CUS_TEL ='0847884103',CUS_MOBILE ='0847884103',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='218',CEN_MOO ='1',CEN_DIS ='พรเจริญ',CEN_DISID ='430403',CEN_AMP ='พรเจริญ',CEN_AMPID ='4304',CEN_PROV ='บึงกาฬ',CEN_PROVID ='97',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='18.0308120000',CEN_LONGITUDE ='103.7088780000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='3',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='461403',PLANT_SOURCE_DISTRICT ='4614',PLANT_SOURCE_PROVINCE ='46',vat_status ='0',type_cus ='1',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-04',last_access_time ='14:57:20',log_status ='e',log_user ='65569_1227',log_date ='2018-09-04',ex_status = 'e',ex_datetime ='2018-09-04 14:57:20',crm_status ='a',crm_datetime ='2018-09-04 13:48:42' WHERE C_TYPE_CODE = '1659' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808165900167';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1659' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808165900167'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400700571885',OPERATE_DATE ='2018-08-17',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1808115500168',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='มงคล',CUS_SNAME ='สาระรัตน์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1969-08-18',CUS_ADD ='227',CUS_MOO ='4',CUS_DIS ='ทุ่งโพธิ์',CUS_DISID ='250304',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0849085549',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='227',CEN_MOO ='4',CEN_DIS ='ทุ่งโพธิ์',CEN_DISID ='250304',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.1325810000',CEN_LONGITUDE ='101.8817140000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250304',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-03',last_access_time ='10:10:35',log_status ='e',log_user ='60000_1796',log_date ='2019-07-15',ex_status = 'e',ex_datetime ='2018-11-03 10:10:35',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808115500168';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808115500168'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3521100026843',OPERATE_DATE ='2018-08-17',DOC_NO ='',C_TYPE_CODE ='1050',SUB_BRANCH_ID ='',CUS_ID ='M-1808105000169',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วสันต์',CUS_SNAME ='บุญประเสริฐ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1945-10-05',CUS_ADD ='100/2',CUS_MOO ='2',CUS_DIS ='สบปราบ',CUS_DISID ='521101',CUS_AMP ='สบปราบ',CUS_AMPID ='5211',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='52170',CUS_TEL ='0812574240',CUS_MOBILE ='0812574240',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='100/2',CEN_MOO ='2',CEN_DIS ='สบปราบ',CEN_DISID ='521101',CEN_AMP ='สบปราบ',CEN_AMPID ='5211',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='52170',CEN_TEL ='',CEN_LATITUDE ='17.8808200000',CEN_LONGITUDE ='99.3376920000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='521101',PLANT_SOURCE_DISTRICT ='5211',PLANT_SOURCE_PROVINCE ='52',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-03',last_access_time ='14:35:56',log_status ='e',log_user ='65567_1050',log_date ='2018-08-17',ex_status = 'e',ex_datetime ='2018-10-03 14:35:56',crm_status ='a',crm_datetime ='2018-08-17 14:44:42' WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808105000169';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1050' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808105000169'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1341900051295',OPERATE_DATE ='2018-08-19',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700191',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สายทวี',CUS_SNAME ='แดงสุข',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1985-10-18',CUS_ADD ='293',CUS_MOO ='6',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0611142409',CUS_MOBILE ='0611142409',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='293',CEN_MOO ='6',CEN_DIS ='สระนกแก้ว',CEN_DISID ='450712',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2902360000',CEN_LONGITUDE ='103.9760680000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-31',last_access_time ='17:55:41',log_status ='a',log_user ='56342_1227',log_date ='2018-08-19',ex_status = 'e',ex_datetime ='2018-08-31 17:55:41',crm_status ='a',crm_datetime ='2018-08-19 16:40:32' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700191';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700191'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341000423583',OPERATE_DATE ='2018-08-20',DOC_NO ='',C_TYPE_CODE ='1055',SUB_BRANCH_ID ='',CUS_ID ='M-1808105500194',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='พิทักษ์ประชา',CUS_SNAME ='ปริบาล',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1955-09-30',CUS_ADD ='50',CUS_MOO ='1',CUS_DIS ='คอแลน',CUS_DISID ='341003',CUS_AMP ='บุณฑริก',CUS_AMPID ='3410',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='0',CUS_TEL ='045959606',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='50',CEN_MOO ='1',CEN_DIS ='คอแลน',CEN_DISID ='341003',CEN_AMP ='บุณฑริก',CEN_AMPID ='3410',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.8528820000',CEN_LONGITUDE ='105.4121020000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='341003',PLANT_SOURCE_DISTRICT ='3410',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-20',last_access_time ='11:03:48',log_status ='e',log_user ='65205_1055',log_date ='2018-08-20',ex_status = 'e',ex_datetime ='2018-08-20 11:03:48',crm_status ='a',crm_datetime ='2018-08-20 10:52:36' WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808105500194';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808105500194'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341900892156',OPERATE_DATE ='2018-08-20',DOC_NO ='',C_TYPE_CODE ='1055',SUB_BRANCH_ID ='',CUS_ID ='M-1808105500195',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='อุไรวรรณ',CUS_SNAME ='สุโภภาค',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-06-18',CUS_ADD ='17',CUS_MOO ='11',CUS_DIS ='ดอนจิก',CUS_DISID ='341904',CUS_AMP ='พิบูลมังสาหาร',CUS_AMPID ='3419',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='0',CUS_TEL ='045959606',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='17',CEN_MOO ='11',CEN_DIS ='ดอนจิก',CEN_DISID ='341904',CEN_AMP ='พิบูลมังสาหาร',CEN_AMPID ='3419',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.1503460000',CEN_LONGITUDE ='105.2637860000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='341003',PLANT_SOURCE_DISTRICT ='3410',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-20',last_access_time ='11:23:48',log_status ='a',log_user ='65205_1055',log_date ='2018-08-20',ex_status = 'e',ex_datetime ='2018-08-20 11:23:48',crm_status ='a',crm_datetime ='2018-08-20 11:20:45' WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808105500195';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1055' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808105500195'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700084461',OPERATE_DATE ='2018-08-20',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700199',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='หนูเกียม',CUS_SNAME ='กอมะณี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1953-07-03',CUS_ADD ='84',CUS_MOO ='3',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45110',CUS_TEL ='0621144090',CUS_MOBILE ='0621144090',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='84',CEN_MOO ='3',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45110',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-20',last_access_time ='15:48:40',log_status ='a',log_user ='55851_1227',log_date ='2018-08-20',ex_status = 'e',ex_datetime ='2018-08-20 15:48:40',crm_status ='a',crm_datetime ='2018-08-20 15:39:52' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700199';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700199'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341901006273',OPERATE_DATE ='2018-08-20',DOC_NO ='',C_TYPE_CODE ='1726',SUB_BRANCH_ID ='',CUS_ID ='M-1808172600200',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุขเสริม',CUS_SNAME ='คูณทวี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-08-26',CUS_ADD ='75',CUS_MOO ='12',CUS_DIS ='โขงเจียม',CUS_DISID ='340301',CUS_AMP ='โขงเจียม',CUS_AMPID ='3403',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='34350',CUS_TEL ='0989816301',CUS_MOBILE ='0989816301',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='75',CEN_MOO ='12',CEN_DIS ='โขงเจียม',CEN_DISID ='340301',CEN_AMP ='โขงเจียม',CEN_AMPID ='3403',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='34350',CEN_TEL ='',CEN_LATITUDE ='15.3196180000',CEN_LONGITUDE ='105.4955290000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='340301',PLANT_SOURCE_DISTRICT ='3403',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-20',last_access_time ='16:11:56',log_status ='a',log_user ='sr_1726',log_date ='2018-08-20',ex_status = 'e',ex_datetime ='2018-08-20 16:11:56',crm_status ='a',crm_datetime ='2018-08-20 15:53:11' WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172600200';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172600200'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3301700475349',OPERATE_DATE ='2018-08-21',DOC_NO ='',C_TYPE_CODE ='10',SUB_BRANCH_ID ='',CUS_ID ='M-1808001000204',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ถิร',CUS_SNAME ='สุขทั่ว',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1998-01-01',CUS_ADD ='299',CUS_MOO ='3',CUS_DIS ='ประสุข',CUS_DISID ='301702',CUS_AMP ='ชุมพวง',CUS_AMPID ='3017',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0819992365',CUS_MOBILE ='0988644875',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='299',CEN_MOO ='3',CEN_DIS ='ประสุข',CEN_DISID ='301702',CEN_AMP ='ชุมพวง',CEN_AMPID ='3017',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.3146510000',CEN_LONGITUDE ='102.6342770000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='301702',PLANT_SOURCE_DISTRICT ='3017',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-21',last_access_time ='10:04:30',log_status ='a',log_user ='52898_10',log_date ='2018-08-21',ex_status = 'e',ex_datetime ='2018-08-21 10:04:30',crm_status ='a',crm_datetime ='2018-08-21 09:56:11' WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808001000204';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '10' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808001000204'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250300050570',OPERATE_DATE ='2018-08-21',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1808146700205',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทอง',CUS_SNAME ='บูรณะเวชย์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1949-08-11',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='ทุ่งโพธิ์',CUS_DISID ='250304',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0893901274',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='ทุ่งโพธิ์',CEN_DISID ='250304',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.1325810000',CEN_LONGITUDE ='101.8817140000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250304',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-21',last_access_time ='10:18:28',log_status ='a',log_user ='55496_1467',log_date ='2018-08-21',ex_status = 'e',ex_datetime ='2018-08-21 10:18:28',crm_status ='a',crm_datetime ='2018-08-21 10:15:58' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808146700205';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808146700205'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1520400002748',OPERATE_DATE ='2018-08-21',DOC_NO ='',C_TYPE_CODE ='1058',SUB_BRANCH_ID ='',CUS_ID ='M-1808105800210',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='เอกณรงค์',CUS_SNAME ='ทรัพย์พิพัฒนา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1984-12-11',CUS_ADD ='219/1',CUS_MOO ='9',CUS_DIS ='ธาตุทอง',CUS_DISID ='201004',CUS_AMP ='บ่อทอง',CUS_AMPID ='2010',CUS_PROV ='ชลบุรี',CUS_PROVID ='20',CUS_POST ='0',CUS_TEL ='0926868695',CUS_MOBILE ='0926868695',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='219/1',CEN_MOO ='9',CEN_DIS ='ธาตุทอง',CEN_DISID ='201004',CEN_AMP ='บ่อทอง',CEN_AMPID ='2010',CEN_PROV ='ชลบุรี',CEN_PROVID ='20',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.2753680000',CEN_LONGITUDE ='101.3804630000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='3',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='201004',PLANT_SOURCE_DISTRICT ='2010',PLANT_SOURCE_PROVINCE ='20',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-05-30',last_access_time ='07:10:33',log_status ='a',log_user ='65544_1058',log_date ='2018-08-21',ex_status = 'e',ex_datetime ='2019-05-30 07:10:33',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1058' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808105800210';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1058' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808105800210'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700615998',OPERATE_DATE ='2018-08-21',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700222',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สำเริง',CUS_SNAME ='อนันตภักดิ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1960-02-03',CUS_ADD ='10',CUS_MOO ='7',CUS_DIS ='โพธิ์ศรีสว่าง',CUS_DISID ='450708',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0430000000',CUS_MOBILE ='0652189987',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='10',CEN_MOO ='7',CEN_DIS ='โพธิ์ศรีสว่าง',CEN_DISID ='450708',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2374200000',CEN_LONGITUDE ='103.9244840000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450708',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-21',last_access_time ='17:38:39',log_status ='a',log_user ='65372_1227',log_date ='2018-08-21',ex_status = 'e',ex_datetime ='2018-08-21 17:38:39',crm_status ='a',crm_datetime ='2018-08-21 17:28:46' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700222';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700222'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400700158783',OPERATE_DATE ='2018-08-23',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1808116200232',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สำรอง',CUS_SNAME ='หลานวงษ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1950-03-05',CUS_ADD ='20',CUS_MOO ='11',CUS_DIS ='ทรายมูล',CUS_DISID ='400709',CUS_AMP ='น้ำพอง',CUS_AMPID ='4007',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0883256631',CUS_MOBILE ='0883256631',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='20',CEN_MOO ='11',CEN_DIS ='ทรายมูล',CEN_DISID ='400709',CEN_AMP ='น้ำพอง',CEN_AMPID ='4007',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.6865150000',CEN_LONGITUDE ='102.9116820000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400709',PLANT_SOURCE_DISTRICT ='4007',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-24',last_access_time ='11:09:44',log_status ='a',log_user ='65378_1162',log_date ='2018-08-23',ex_status = 'e',ex_datetime ='2018-09-24 11:09:44',crm_status ='a',crm_datetime ='2018-08-23 09:51:28' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200232';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200232'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1310800017876',OPERATE_DATE ='2018-08-23',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1808123200241',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='วันทนีย์',CUS_SNAME ='วงศ์สุวรรณ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1985-05-08',CUS_ADD ='192',CUS_MOO ='1',CUS_DIS ='เขาดินเหนือ',CUS_DISID ='310809',CUS_AMP ='บ้านกรวด',CUS_AMPID ='3108',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31180',CUS_TEL ='0946678023',CUS_MOBILE ='0946678023',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='192',CEN_MOO ='1',CEN_DIS ='เขาดินเหนือ',CEN_DISID ='310809',CEN_AMP ='บ้านกรวด',CEN_AMPID ='3108',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31180',CEN_TEL ='',CEN_LATITUDE ='14.4898660000',CEN_LONGITUDE ='103.2148360000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='10.00',PLANT_SOURCE_SUBDISTRICT ='310809',PLANT_SOURCE_DISTRICT ='3108',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-02-11',last_access_time ='13:00:18',log_status ='e',log_user ='sr_1732',log_date ='2018-08-28',ex_status = 'e',ex_datetime ='2019-02-11 13:00:18',crm_status ='a',crm_datetime ='2018-08-28 10:06:44' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808123200241';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808123200241'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3311100800010',OPERATE_DATE ='2018-08-24',DOC_NO ='',C_TYPE_CODE ='1523',SUB_BRANCH_ID ='',CUS_ID ='M-1808152300243',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='วิเชียร',CUS_SNAME ='สายวัน',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1974-10-02',CUS_ADD ='141/3',CUS_MOO ='5',CUS_DIS ='สะแก',CUS_DISID ='311112',CUS_AMP ='สตึก',CUS_AMPID ='3111',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31150',CUS_TEL ='0894593312',CUS_MOBILE ='0894593312',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='141/3',CEN_MOO ='5',CEN_DIS ='สะแก',CEN_DISID ='311112',CEN_AMP ='สตึก',CEN_AMPID ='3111',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31150',CEN_TEL ='',CEN_LATITUDE ='15.2990880000',CEN_LONGITUDE ='103.3555980000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='311112',PLANT_SOURCE_DISTRICT ='3111',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-24',last_access_time ='08:59:21',log_status ='e',log_user ='63957_1523',log_date ='2018-08-24',ex_status = 'e',ex_datetime ='2018-08-24 08:59:21',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808152300243';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1523' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808152300243'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3350100648764',OPERATE_DATE ='2018-08-25',DOC_NO ='',C_TYPE_CODE ='1659',SUB_BRANCH_ID ='',CUS_ID ='M-1808165900250',ECUSTOMER_ID ='6100000444',ECUSTOMER_DIGIT ='4',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='AB',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='ณัฐวุฒิ',CUS_SNAME ='นามสง่า',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1979-09-30',CUS_ADD ='65',CUS_MOO ='6',CUS_DIS ='โพธิ์ทอง',CUS_DISID ='451601',CUS_AMP ='ศรีสมเด็จ',CUS_AMPID ='4516',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0887261836',CUS_MOBILE ='0610287693',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='65',CEN_MOO ='6',CEN_DIS ='โพธิ์ทอง',CEN_DISID ='451601',CEN_AMP ='ศรีสมเด็จ',CEN_AMPID ='4516',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.9874870000',CEN_LONGITUDE ='103.5490610000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='451601',PLANT_SOURCE_DISTRICT ='4516',PLANT_SOURCE_PROVINCE ='45',vat_status ='0',type_cus ='1',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-17',last_access_time ='16:34:58',log_status ='e',log_user ='63904_1800',log_date ='2019-06-17',ex_status = 'e',ex_datetime ='2019-06-17 16:34:58',crm_status ='a',crm_datetime ='2019-06-17 16:01:50' WHERE C_TYPE_CODE = '1659' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808165900250';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1659' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808165900250'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3521200142098',OPERATE_DATE ='2018-08-25',DOC_NO ='',C_TYPE_CODE ='1722',SUB_BRANCH_ID ='',CUS_ID ='M-1808172200252',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ปรีชา',CUS_SNAME ='ทาวงศ์มา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-04-13',CUS_ADD ='84/1',CUS_MOO ='2',CUS_DIS ='เมืองยาว',CUS_DISID ='521203',CUS_AMP ='ห้างฉัตร',CUS_AMPID ='5212',CUS_PROV ='ลำปาง',CUS_PROVID ='52',CUS_POST ='52190',CUS_TEL ='0930283432',CUS_MOBILE ='0930283432',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='84/1',CEN_MOO ='2',CEN_DIS ='เมืองยาว',CEN_DISID ='521203',CEN_AMP ='ห้างฉัตร',CEN_AMPID ='5212',CEN_PROV ='ลำปาง',CEN_PROVID ='52',CEN_POST ='52190',CEN_TEL ='',CEN_LATITUDE ='18.2712490000',CEN_LONGITUDE ='99.2489430000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='521203',PLANT_SOURCE_DISTRICT ='5212',PLANT_SOURCE_PROVINCE ='52',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-05-28',last_access_time ='11:57:54',log_status ='e',log_user ='sr_1722',log_date ='2018-08-25',ex_status = 'e',ex_datetime ='2019-05-28 11:57:54',crm_status ='a',crm_datetime ='2018-08-25 10:54:30' WHERE C_TYPE_CODE = '1722' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172200252';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1722' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172200252'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='4250500009351',OPERATE_DATE ='2018-08-25',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1808146700257',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ลัดดาวัลย์',CUS_SNAME ='น้อยแก้ว',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1969-12-16',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='ตาหลังใน',CUS_DISID ='270403',CUS_AMP ='วังน้ำเย็น',CUS_AMPID ='2704',CUS_PROV ='สระแก้ว',CUS_PROVID ='27',CUS_POST ='0',CUS_TEL ='0848679714',CUS_MOBILE ='0848679714',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='ตาหลังใน',CEN_DISID ='270403',CEN_AMP ='วังน้ำเย็น',CEN_AMPID ='2704',CEN_PROV ='สระแก้ว',CEN_PROVID ='27',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.5408700000',CEN_LONGITUDE ='102.1074490000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='270403',PLANT_SOURCE_DISTRICT ='2704',PLANT_SOURCE_PROVINCE ='27',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-06',last_access_time ='12:07:24',log_status ='a',log_user ='55496_1467',log_date ='2018-08-25',ex_status = 'e',ex_datetime ='2018-09-06 12:07:24',crm_status ='a',crm_datetime ='2018-08-25 17:01:15' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808146700257';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808146700257'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310300228904',OPERATE_DATE ='2018-08-25',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1808146700258',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วิสุทธ์',CUS_SNAME ='สาธร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-07-25',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='ทุ่งโพธิ์',CUS_DISID ='250304',CUS_AMP ='นาดี',CUS_AMPID ='2503',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0854398110',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='ทุ่งโพธิ์',CEN_DISID ='250304',CEN_AMP ='นาดี',CEN_AMPID ='2503',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.1325810000',CEN_LONGITUDE ='101.8817140000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250304',PLANT_SOURCE_DISTRICT ='2503',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-02-04',last_access_time ='18:22:00',log_status ='a',log_user ='55496_1467',log_date ='2018-08-25',ex_status = 'e',ex_datetime ='2019-02-04 18:22:00',crm_status ='a',crm_datetime ='2018-08-25 17:07:18' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808146700258';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808146700258'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1302000161664',OPERATE_DATE ='2018-08-26',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700262',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='อนิศา',CUS_SNAME ='เข็มกลาง',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1991-07-21',CUS_ADD ='45',CUS_MOO ='3',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043370365',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='45',CEN_MOO ='3',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-09',last_access_time ='15:16:34',log_status ='e',log_user ='56342_1227',log_date ='2018-08-26',ex_status = 'e',ex_datetime ='2018-09-09 15:16:34',crm_status ='a',crm_datetime ='2018-08-26 16:23:57' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700262';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700262'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341900188505',OPERATE_DATE ='2018-08-26',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700263',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ประคอง',CUS_SNAME ='คณะพันธ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-11-22',CUS_ADD ='76',CUS_MOO ='7',CUS_DIS ='หนองขุ่นใหญ่',CUS_DISID ='450906',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0944075174',CUS_MOBILE ='0944075174',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='76',CEN_MOO ='7',CEN_DIS ='หนองขุ่นใหญ่',CEN_DISID ='450906',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2265420000',CEN_LONGITUDE ='104.1445540000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450906',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-29',last_access_time ='20:20:00',log_status ='a',log_user ='56342_1227',log_date ='2018-08-26',ex_status = 'e',ex_datetime ='2018-08-29 20:20:00',crm_status ='a',crm_datetime ='2018-08-26 16:40:16' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700263';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700263'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900001039',OPERATE_DATE ='2018-08-26',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700264',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุบรรณ์',CUS_SNAME ='ศรีขาวรส',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1954-06-05',CUS_ADD ='86',CUS_MOO ='2',CUS_DIS ='กกโพธิ์',CUS_DISID ='450904',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0827398490',CUS_MOBILE ='0827398490',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='86',CEN_MOO ='2',CEN_DIS ='กกโพธิ์',CEN_DISID ='450904',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2752410000',CEN_LONGITUDE ='104.0913390000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450904',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-26',last_access_time ='17:01:24',log_status ='a',log_user ='56342_1227',log_date ='2018-08-26',ex_status = 'e',ex_datetime ='2018-08-26 17:01:24',crm_status ='a',crm_datetime ='2018-08-26 16:57:27' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700264';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700264'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400101263113',OPERATE_DATE ='2018-08-27',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1808116200273',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ชัยสิทธิ์',CUS_SNAME ='เอติรัตน์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1962-01-23',CUS_ADD ='157',CUS_MOO ='15',CUS_DIS ='บ้านทุ่ม',CUS_DISID ='400105',CUS_AMP ='เมืองขอนแก่น',CUS_AMPID ='4001',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0934370479',CUS_MOBILE ='0934370479',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='157',CEN_MOO ='15',CEN_DIS ='บ้านทุ่ม',CEN_DISID ='400105',CEN_AMP ='เมืองขอนแก่น',CEN_AMPID ='4001',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.4469520000',CEN_LONGITUDE ='102.7104950000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400105',PLANT_SOURCE_DISTRICT ='4001',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-27',last_access_time ='11:48:38',log_status ='a',log_user ='56307_1162',log_date ='2018-08-27',ex_status = 'e',ex_datetime ='2018-08-27 11:48:38',crm_status ='a',crm_datetime ='2018-08-27 11:30:26' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200273';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200273'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320500824586',OPERATE_DATE ='2018-08-27',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1808123200280',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สำเภาว์',CUS_SNAME ='ขันศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-01-01',CUS_ADD ='7',CUS_MOO ='10',CUS_DIS ='ปรือ',CUS_DISID ='320504',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32140',CUS_TEL ='0812950174',CUS_MOBILE ='0812823448',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='7',CEN_MOO ='10',CEN_DIS ='ปรือ',CEN_DISID ='320504',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32140',CEN_TEL ='',CEN_LATITUDE ='14.6153120000',CEN_LONGITUDE ='103.2966330000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='15.00',PLANT_SOURCE_SUBDISTRICT ='320504',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-11',last_access_time ='11:31:46',log_status ='e',log_user ='63706_1232',log_date ='2018-08-28',ex_status = 'e',ex_datetime ='2018-12-11 11:31:46',crm_status ='a',crm_datetime ='2018-08-28 14:51:34' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808123200280';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808123200280'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3411900218811',OPERATE_DATE ='2018-08-27',DOC_NO ='',C_TYPE_CODE ='1216',SUB_BRANCH_ID ='',CUS_ID ='M-1808121600287',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ไชยยา',CUS_SNAME ='ชัยเสริม',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-10-11',CUS_ADD ='72',CUS_MOO ='4',CUS_DIS ='นาพู่',CUS_DISID ='411903',CUS_AMP ='เพ็ญ',CUS_AMPID ='4119',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0807202970',CUS_MOBILE ='0807202970',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='72',CEN_MOO ='4',CEN_DIS ='นาพู่',CEN_DISID ='411903',CEN_AMP ='เพ็ญ',CEN_AMPID ='4119',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.5831070000',CEN_LONGITUDE ='102.7653940000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='411903',PLANT_SOURCE_DISTRICT ='4119',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-19',last_access_time ='23:03:25',log_status ='e',log_user ='62934_1216',log_date ='2018-08-27',ex_status = 'e',ex_datetime ='2018-09-19 23:03:25',crm_status ='a',crm_datetime ='2018-08-27 18:30:59' WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808121600287';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1216' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808121600287'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1349900134805',OPERATE_DATE ='2019-05-24',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1905116204581',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อดิศักดิ์',CUS_SNAME ='สอดส่อง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1986-04-26',CUS_ADD ='74',CUS_MOO ='10',CUS_DIS ='คำพระ',CUS_DISID ='370602',CUS_AMP ='หัวตะพาน',CUS_AMPID ='3706',CUS_PROV ='อำนาจเจริญ',CUS_PROVID ='37',CUS_POST ='0',CUS_TEL ='0901972839',CUS_MOBILE ='0901972839',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='10',CEN_DIS ='คำพระ',CEN_DISID ='370602',CEN_AMP ='หัวตะพาน',CEN_AMPID ='3706',CEN_PROV ='อำนาจเจริญ',CEN_PROVID ='37',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.7591940000',CEN_LONGITUDE ='104.4718050000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='370602',PLANT_SOURCE_DISTRICT ='3706',PLANT_SOURCE_PROVINCE ='37',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-02',last_access_time ='08:07:03',log_status ='e',log_user ='44345_1162',log_date ='2019-05-24',ex_status = 'e',ex_datetime ='2019-06-02 08:07:03',crm_status ='a',crm_datetime ='2019-05-24 10:03:10' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1905116204581';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1905116204581'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3331300006295',OPERATE_DATE ='2019-06-06',DOC_NO ='',C_TYPE_CODE ='215',SUB_BRANCH_ID ='',CUS_ID ='M-1906021500035',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='หมุน',CUS_SNAME ='เครือแก้ว',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1956-12-10',CUS_ADD ='36',CUS_MOO ='19',CUS_DIS ='โนนค้อ',CUS_DISID ='331301',CUS_AMP ='โนนคูณ',CUS_AMPID ='3313',CUS_PROV ='ศรีสะเกษ',CUS_PROVID ='33',CUS_POST ='0',CUS_TEL ='0656532477',CUS_MOBILE ='0656532477',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='36',CEN_MOO ='19',CEN_DIS ='โนนค้อ',CEN_DISID ='331301',CEN_AMP ='โนนคูณ',CEN_AMPID ='3313',CEN_PROV ='ศรีสะเกษ',CEN_PROVID ='33',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.8902120000',CEN_LONGITUDE ='104.7171310000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='331301',PLANT_SOURCE_DISTRICT ='3313',PLANT_SOURCE_PROVINCE ='33',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-06',last_access_time ='10:07:35',log_status ='e',log_user ='59346',log_date ='2019-06-06',ex_status = 'e',ex_datetime ='2019-06-06 10:07:35',crm_status ='a',crm_datetime ='2019-06-06 06:26:19' WHERE C_TYPE_CODE = '215' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1906021500035';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '215' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1906021500035'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320400119121',OPERATE_DATE ='2018-08-28',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1808123200295',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ฐานิตา',CUS_SNAME ='ศาลางาม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1963-11-04',CUS_ADD ='209',CUS_MOO ='16',CUS_DIS ='เมืองลีง',CUS_DISID ='320402',CUS_AMP ='จอมพระ',CUS_AMPID ='3204',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32180',CUS_TEL ='0810728724',CUS_MOBILE ='0875334567',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='209',CEN_MOO ='16',CEN_DIS ='เมืองลีง',CEN_DISID ='320402',CEN_AMP ='จอมพระ',CEN_AMPID ='3204',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.1452090000',CEN_LONGITUDE ='103.4585950000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='10.00',PLANT_SOURCE_SUBDISTRICT ='320402',PLANT_SOURCE_DISTRICT ='3204',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-04',last_access_time ='15:44:15',log_status ='e',log_user ='sr_1732',log_date ='2018-08-29',ex_status = 'e',ex_datetime ='2018-09-04 15:44:15',crm_status ='a',crm_datetime ='2018-08-29 15:06:43' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808123200295';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808123200295'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700437445',OPERATE_DATE ='2018-08-28',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700298',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ศิริลักษณ์ ',CUS_SNAME ='สุริสาร',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1964-02-04',CUS_ADD ='37',CUS_MOO ='10',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0800000000',CUS_MOBILE ='0901254863',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='37',CEN_MOO ='10',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-14',last_access_time ='19:18:07',log_status ='a',log_user ='65372_1227',log_date ='2018-08-28',ex_status = 'e',ex_datetime ='2018-09-14 19:18:07',crm_status ='a',crm_datetime ='2018-08-28 14:51:38' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700298';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700298'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341900581983',OPERATE_DATE ='2018-08-29',DOC_NO ='',C_TYPE_CODE ='1726',SUB_BRANCH_ID ='',CUS_ID ='M-1808172600342',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สายันต์',CUS_SNAME ='ประสานแสง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-11-30',CUS_ADD ='23',CUS_MOO ='3',CUS_DIS ='นิคมลำโดมน้อย',CUS_DISID ='342504',CUS_AMP ='สิรินธร',CUS_AMPID ='3425',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='34350',CUS_TEL ='0935084186',CUS_MOBILE ='0935084186',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='23',CEN_MOO ='3',CEN_DIS ='นิคมลำโดมน้อย',CEN_DISID ='342504',CEN_AMP ='สิรินธร',CEN_AMPID ='3425',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='34350',CEN_TEL ='',CEN_LATITUDE ='15.2295330000',CEN_LONGITUDE ='105.4196550000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='342504',PLANT_SOURCE_DISTRICT ='3425',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-04',last_access_time ='15:02:38',log_status ='a',log_user ='sr_1726',log_date ='2018-08-29',ex_status = 'e',ex_datetime ='2018-09-04 15:02:38',crm_status ='a',crm_datetime ='2018-08-29 16:16:48' WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172600342';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808172600342'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341600122428',OPERATE_DATE ='2018-08-29',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700348',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ถาวร',CUS_SNAME ='จันแสงศรี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1963-01-03',CUS_ADD ='100',CUS_MOO ='8',CUS_DIS ='เปือย',CUS_DISID ='370703',CUS_AMP ='ลืออำนาจ',CUS_AMPID ='3707',CUS_PROV ='อำนาจเจริญ',CUS_PROVID ='37',CUS_POST ='0',CUS_TEL ='0800000000',CUS_MOBILE ='0560245587',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='100',CEN_MOO ='8',CEN_DIS ='เปือย',CEN_DISID ='370703',CEN_AMP ='ลืออำนาจ',CEN_AMPID ='3707',CEN_PROV ='อำนาจเจริญ',CEN_PROVID ='37',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.6835350000',CEN_LONGITUDE ='104.6897510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='370703',PLANT_SOURCE_DISTRICT ='3707',PLANT_SOURCE_PROVINCE ='37',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-29',last_access_time ='18:19:56',log_status ='a',log_user ='65372_1227',log_date ='2018-08-29',ex_status = 'e',ex_datetime ='2018-08-29 18:19:56',crm_status ='a',crm_datetime ='2018-08-29 16:57:14' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700348';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700348'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341600149831',OPERATE_DATE ='2018-08-29',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700355',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='อุไร',CUS_SNAME ='แสนเกษม',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1957-02-07',CUS_ADD ='17',CUS_MOO ='6',CUS_DIS ='เปือย',CUS_DISID ='370703',CUS_AMP ='ลืออำนาจ',CUS_AMPID ='3707',CUS_PROV ='อำนาจเจริญ',CUS_PROVID ='37',CUS_POST ='0',CUS_TEL ='0800000000',CUS_MOBILE ='0652543678',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='17',CEN_MOO ='6',CEN_DIS ='เปือย',CEN_DISID ='370703',CEN_AMP ='ลืออำนาจ',CEN_AMPID ='3707',CEN_PROV ='อำนาจเจริญ',CEN_PROVID ='37',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.6835350000',CEN_LONGITUDE ='104.6897510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='370703',PLANT_SOURCE_DISTRICT ='3707',PLANT_SOURCE_PROVINCE ='37',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-29',last_access_time ='18:36:38',log_status ='a',log_user ='65372_1227',log_date ='2018-08-29',ex_status = 'e',ex_datetime ='2018-08-29 18:36:38',crm_status ='a',crm_datetime ='2018-08-29 17:30:28' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700355';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700355'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3341601277531',OPERATE_DATE ='2018-08-29',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700357',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='จำนงค์',CUS_SNAME ='พยัฆธา',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-02-02',CUS_ADD ='24',CUS_MOO ='6',CUS_DIS ='เปือย',CUS_DISID ='370703',CUS_AMP ='ลืออำนาจ',CUS_AMPID ='3707',CUS_PROV ='อำนาจเจริญ',CUS_PROVID ='37',CUS_POST ='0',CUS_TEL ='0800000000',CUS_MOBILE ='0650213978',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='24',CEN_MOO ='6',CEN_DIS ='เปือย',CEN_DISID ='370703',CEN_AMP ='ลืออำนาจ',CEN_AMPID ='3707',CEN_PROV ='อำนาจเจริญ',CEN_PROVID ='37',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.6835350000',CEN_LONGITUDE ='104.6897510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='370703',PLANT_SOURCE_DISTRICT ='3707',PLANT_SOURCE_PROVINCE ='37',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-29',last_access_time ='18:48:26',log_status ='a',log_user ='65372_1227',log_date ='2018-08-29',ex_status = 'e',ex_datetime ='2018-08-29 18:48:26',crm_status ='a',crm_datetime ='2018-08-29 17:38:16' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700357';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700357'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320501212100',OPERATE_DATE ='2019-01-08',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1901123200230',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='2',CUS_NAME ='ประดับ',CUS_SNAME ='ใยยอง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1962-04-13',CUS_ADD ='31/2',CUS_MOO ='1',CUS_DIS ='ตานี',CUS_DISID ='320514',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='0',CUS_TEL ='0813725058',CUS_MOBILE ='0800000000',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='31/2',CEN_MOO ='1',CEN_DIS ='ตานี',CEN_DISID ='320514',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.6250290000',CEN_LONGITUDE ='103.2589530000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='320514',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-02-15',last_access_time ='10:28:50',log_status ='e',log_user ='60436_1773',log_date ='2019-02-15',ex_status = 'e',ex_datetime ='2019-02-15 10:28:50',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1901123200230';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1901123200230'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3199900427517',OPERATE_DATE ='2018-08-29',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1808122700358',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บุญร่วม',CUS_SNAME ='สานนท์',CUS_STATUS ='สมรส',CUS_SEX ='1',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1975-02-07',CUS_ADD ='277',CUS_MOO ='12',CUS_DIS ='กุดปลาดุก',CUS_DISID ='370116',CUS_AMP ='เมืองอำนาจเจริญ',CUS_AMPID ='3701',CUS_PROV ='อำนาจเจริญ',CUS_PROVID ='37',CUS_POST ='0',CUS_TEL ='0430000000',CUS_MOBILE ='0980124587',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='277',CEN_MOO ='12',CEN_DIS ='กุดปลาดุก',CEN_DISID ='370116',CEN_AMP ='เมืองอำนาจเจริญ',CEN_AMPID ='3701',CEN_PROV ='อำนาจเจริญ',CEN_PROVID ='37',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.9668580000',CEN_LONGITUDE ='104.5800590000',PIC_PATH ='2018/customer/profile/',PIC_FILENAME ='M-1808122700358_20180927145919_1.jpg',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='370116',PLANT_SOURCE_DISTRICT ='3701',PLANT_SOURCE_PROVINCE ='37',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-29',last_access_time ='19:04:32',log_status ='a',log_user ='65569',log_date ='2018-09-27',ex_status = 'e',ex_datetime ='2018-08-29 19:04:32',crm_status ='a',crm_datetime ='2018-08-29 17:49:35' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700358';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808122700358'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5400799004461',OPERATE_DATE ='2018-08-29',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1808116200361',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สุวรรณา',CUS_SNAME ='พันขันตี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1967-12-14',CUS_ADD ='26',CUS_MOO ='11',CUS_DIS ='ทรายมูล',CUS_DISID ='400709',CUS_AMP ='น้ำพอง',CUS_AMPID ='4007',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0854519315',CUS_MOBILE ='0854519315',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='26',CEN_MOO ='11',CEN_DIS ='ทรายมูล',CEN_DISID ='400709',CEN_AMP ='น้ำพอง',CEN_AMPID ='4007',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.6865150000',CEN_LONGITUDE ='102.9116820000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400709',PLANT_SOURCE_DISTRICT ='4007',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-08',last_access_time ='21:14:14',log_status ='a',log_user ='65378_1162',log_date ='2018-08-29',ex_status = 'e',ex_datetime ='2018-09-08 21:14:14',crm_status ='a',crm_datetime ='2018-08-29 18:56:19' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200361';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200361'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400700327925',OPERATE_DATE ='2018-08-29',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1808116200364',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุนทร',CUS_SNAME ='จันทพิทักษ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1957-07-01',CUS_ADD ='10',CUS_MOO ='11',CUS_DIS ='ทรายมูล',CUS_DISID ='400709',CUS_AMP ='น้ำพอง',CUS_AMPID ='4007',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0887392450',CUS_MOBILE ='0887392450',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='10',CEN_MOO ='11',CEN_DIS ='ทรายมูล',CEN_DISID ='400709',CEN_AMP ='น้ำพอง',CEN_AMPID ='4007',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.6865150000',CEN_LONGITUDE ='102.9116820000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400709',PLANT_SOURCE_DISTRICT ='4007',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-29',last_access_time ='19:18:50',log_status ='a',log_user ='65378_1162',log_date ='2018-08-29',ex_status = 'e',ex_datetime ='2018-08-29 19:18:50',crm_status ='a',crm_datetime ='2018-08-29 19:13:32' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200364';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200364'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400700159305',OPERATE_DATE ='2018-08-29',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1808116200369',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='จำปี',CUS_SNAME ='นามวงษา',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1964-02-23',CUS_ADD ='29',CUS_MOO ='11',CUS_DIS ='ทรายมูล',CUS_DISID ='400709',CUS_AMP ='น้ำพอง',CUS_AMPID ='4007',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0854519315',CUS_MOBILE ='0854519315',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='29',CEN_MOO ='11',CEN_DIS ='ทรายมูล',CEN_DISID ='400709',CEN_AMP ='น้ำพอง',CEN_AMPID ='4007',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.6865150000',CEN_LONGITUDE ='102.9116820000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='400709',PLANT_SOURCE_DISTRICT ='4007',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-31',last_access_time ='08:56:06',log_status ='a',log_user ='65378_1162',log_date ='2018-08-29',ex_status = 'e',ex_datetime ='2018-08-31 08:56:06',crm_status ='a',crm_datetime ='2018-08-29 19:36:02' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200369';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808116200369'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1451500037375',OPERATE_DATE ='2018-08-31',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1808136900460',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุริยา',CUS_SNAME ='ศิริ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1988-02-09',CUS_ADD ='21',CUS_MOO ='11',CUS_DIS ='ชุมพร',CUS_DISID ='451502',CUS_AMP ='เมยวดี',CUS_AMPID ='4515',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='21',CEN_MOO ='11',CEN_DIS ='ชุมพร',CEN_DISID ='451502',CEN_AMP ='เมยวดี',CEN_AMPID ='4515',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3575330000',CEN_LONGITUDE ='104.0921970000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451502',PLANT_SOURCE_DISTRICT ='4515',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-08-31',last_access_time ='17:05:30',log_status ='a',log_user ='58357_1369',log_date ='2018-08-31',ex_status = 'e',ex_datetime ='2018-08-31 17:05:30',crm_status ='a',crm_datetime ='2018-08-31 16:57:44' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808136900460';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1808136900460'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3250200502924',OPERATE_DATE ='2018-09-01',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1809146700006',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='น้อย',CUS_SNAME ='มูลเชื้อ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-02-04',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='วังตะเคียน',CUS_DISID ='250206',CUS_AMP ='กบินทร์บุรี',CUS_AMPID ='2502',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='วังตะเคียน',CEN_DISID ='250206',CEN_AMP ='กบินทร์บุรี',CEN_AMPID ='2502',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.8407470000',CEN_LONGITUDE ='101.8714140000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250206',PLANT_SOURCE_DISTRICT ='2502',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-01',last_access_time ='10:21:47',log_status ='a',log_user ='55496_1467',log_date ='2018-09-01',ex_status = 'e',ex_datetime ='2018-09-01 10:21:47',crm_status ='a',crm_datetime ='2018-09-01 10:17:00' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809146700006';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809146700006'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1409900975612',OPERATE_DATE ='2018-09-01',DOC_NO ='',C_TYPE_CODE ='1450',SUB_BRANCH_ID ='',CUS_ID ='M-1809145000015',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='บุญช่วย',CUS_SNAME ='สีลาด',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1992-12-12',CUS_ADD ='154',CUS_MOO ='1',CUS_DIS ='ห้วยเตย',CUS_DISID ='402105',CUS_AMP ='ซำสูง',CUS_AMPID ='4021',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0808687298',CUS_MOBILE ='0808687298',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='154',CEN_MOO ='1',CEN_DIS ='ห้วยเตย',CEN_DISID ='402105',CEN_AMP ='ซำสูง',CEN_AMPID ='4021',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.5828940000',CEN_LONGITUDE ='103.1053160000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='402105',PLANT_SOURCE_DISTRICT ='4021',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-28',last_access_time ='12:32:12',log_status ='e',log_user ='50232_1450',log_date ='2018-12-28',ex_status = 'e',ex_datetime ='2018-12-28 12:32:12',crm_status ='a',crm_datetime ='2018-12-28 12:19:57' WHERE C_TYPE_CODE = '1450' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809145000015';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1450' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809145000015'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3302200252201',OPERATE_DATE ='2018-09-03',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1809172700026',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เชื่อ',CUS_SNAME ='ผันดอนดู่',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-10-30',CUS_ADD ='91',CUS_MOO ='7',CUS_DIS ='แหลมทอง',CUS_DISID ='302205',CUS_AMP ='หนองบุนนาก',CUS_AMPID ='3022',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30190',CUS_TEL ='0817304713',CUS_MOBILE ='0817304713',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='91',CEN_MOO ='7',CEN_DIS ='แหลมทอง',CEN_DISID ='302205',CEN_AMP ='หนองบุนนาก',CEN_AMPID ='3022',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30190',CEN_TEL ='',CEN_LATITUDE ='14.7828500000',CEN_LONGITUDE ='102.3122410000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302205',PLANT_SOURCE_DISTRICT ='3022',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-05',last_access_time ='15:38:18',log_status ='a',log_user ='sr_1727',log_date ='2018-09-03',ex_status = 'e',ex_datetime ='2018-09-05 15:38:18',crm_status ='a',crm_datetime ='2018-09-03 08:25:36' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700026';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700026'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450101300914',OPERATE_DATE ='2018-09-03',DOC_NO ='',C_TYPE_CODE ='1401',SUB_BRANCH_ID ='',CUS_ID ='M-1809140100030',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='77',CUS_NAME ='เอสเอ็มยูคาลิปตัส',CUS_SNAME ='-',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1998-09-28',CUS_ADD ='19',CUS_MOO ='15',CUS_DIS ='เกษตรวิสัย',CUS_DISID ='450201',CUS_AMP ='เกษตรวิสัย',CUS_AMPID ='4502',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0637522288',CUS_MOBILE ='0637522288',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='19',CEN_MOO ='15',CEN_DIS ='เกษตรวิสัย',CEN_DISID ='450201',CEN_AMP ='เกษตรวิสัย',CEN_AMPID ='4502',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.6562630000',CEN_LONGITUDE ='103.5797880000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='3',CUS_GROUP ='3',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='450201',PLANT_SOURCE_DISTRICT ='4502',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='3450400536006',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-20',last_access_time ='11:51:08',log_status ='e',log_user ='36717_1411',log_date ='2018-09-05',ex_status = 'e',ex_datetime ='2019-06-20 11:51:08',crm_status ='a',crm_datetime ='2018-09-05 10:06:27' WHERE C_TYPE_CODE = '1401' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809140100030';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1401' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809140100030'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320500630358',OPERATE_DATE ='2018-09-03',DOC_NO ='',C_TYPE_CODE ='1749',SUB_BRANCH_ID ='',CUS_ID ='M-1809174900034',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='2',CUS_NAME ='อันธิกา',CUS_SNAME ='อุปสรณ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1978-07-18',CUS_ADD ='19',CUS_MOO ='4',CUS_DIS ='กังแอน',CUS_DISID ='320501',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='0',CUS_TEL ='0801591628',CUS_MOBILE ='0879582042',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='19',CEN_MOO ='4',CEN_DIS ='กังแอน',CEN_DISID ='320501',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.6516860000',CEN_LONGITUDE ='103.4165380000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='320501',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='0',type_cus ='1',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-12',last_access_time ='14:51:50',log_status ='e',log_user ='60436_1232',log_date ='2018-10-11',ex_status = 'e',ex_datetime ='2018-10-12 14:51:50',crm_status ='a',crm_datetime ='2018-10-11 12:38:46' WHERE C_TYPE_CODE = '1749' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809174900034';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1749' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809174900034'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700491628',OPERATE_DATE ='2018-09-04',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700046',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='นงลักษณ์',CUS_SNAME ='กุลแก้ว',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1975-03-05',CUS_ADD ='74',CUS_MOO ='14',CUS_DIS ='สระนกแก้ว',CUS_DISID ='450712',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45110',CUS_TEL ='0902587976',CUS_MOBILE ='0902587976',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='74',CEN_MOO ='14',CEN_DIS ='สระนกแก้ว',CEN_DISID ='450712',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45110',CEN_TEL ='',CEN_LATITUDE ='16.2902360000',CEN_LONGITUDE ='103.9760680000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450712',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-14',last_access_time ='14:32:26',log_status ='a',log_user ='65569_1227',log_date ='2018-09-04',ex_status = 'e',ex_datetime ='2018-09-14 14:32:26',crm_status ='a',crm_datetime ='2018-09-04 16:49:28' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700046';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700046'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700197401',OPERATE_DATE ='2018-09-04',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700040',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ออน',CUS_SNAME ='รุ่งแจ้ง',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1963-02-27',CUS_ADD ='176',CUS_MOO ='2',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0988689564',CUS_MOBILE ='0988680564',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='176',CEN_MOO ='2',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-04',last_access_time ='12:02:25',log_status ='a',log_user ='65569_1227',log_date ='2018-09-04',ex_status = 'e',ex_datetime ='2018-09-04 12:02:25',crm_status ='a',crm_datetime ='2018-09-04 11:04:19' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700040';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700040'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5340400016875',OPERATE_DATE ='2018-09-04',DOC_NO ='',C_TYPE_CODE ='1726',SUB_BRANCH_ID ='',CUS_ID ='M-1809172600042',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุวรรณ',CUS_SNAME ='เกลียวทอง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1967-02-13',CUS_ADD ='107',CUS_MOO ='7',CUS_DIS ='ยางชุมน้อย',CUS_DISID ='330201',CUS_AMP ='ยางชุมน้อย',CUS_AMPID ='3302',CUS_PROV ='ศรีสะเกษ',CUS_PROVID ='33',CUS_POST ='33180',CUS_TEL ='0850253374',CUS_MOBILE ='0850253374',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='107',CEN_MOO ='7',CEN_DIS ='ยางชุมน้อย',CEN_DISID ='330201',CEN_AMP ='ยางชุมน้อย',CEN_AMPID ='3302',CEN_PROV ='ศรีสะเกษ',CEN_PROVID ='33',CEN_POST ='33180',CEN_TEL ='',CEN_LATITUDE ='15.2615600000',CEN_LONGITUDE ='104.4010270000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='330201',PLANT_SOURCE_DISTRICT ='3302',PLANT_SOURCE_PROVINCE ='33',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-04',last_access_time ='14:56:47',log_status ='a',log_user ='sr_1726',log_date ='2018-09-04',ex_status = 'e',ex_datetime ='2018-09-04 14:56:47',crm_status ='a',crm_datetime ='2018-09-04 14:45:55' WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172600042';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1726' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172600042'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3460500557161',OPERATE_DATE ='2018-09-05',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700052',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ก้องเพชร',CUS_SNAME ='กุลชาติ',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1982-02-14',CUS_ADD ='213',CUS_MOO ='8',CUS_DIS ='นาโก',CUS_DISID ='460510',CUS_AMP ='กุฉินารายณ์',CUS_AMPID ='4605',CUS_PROV ='กาฬสินธุ์',CUS_PROVID ='46',CUS_POST ='46110',CUS_TEL ='0934872989',CUS_MOBILE ='0934872989',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='213',CEN_MOO ='8',CEN_DIS ='นาโก',CEN_DISID ='460510',CEN_AMP ='กุฉินารายณ์',CEN_AMPID ='4605',CEN_PROV ='กาฬสินธุ์',CEN_PROVID ='46',CEN_POST ='46110',CEN_TEL ='',CEN_LATITUDE ='16.5967140000',CEN_LONGITUDE ='104.0714260000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='460510',PLANT_SOURCE_DISTRICT ='4605',PLANT_SOURCE_PROVINCE ='46',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-05',last_access_time ='12:07:18',log_status ='a',log_user ='55851_1227',log_date ='2018-09-05',ex_status = 'e',ex_datetime ='2018-09-05 12:07:18',crm_status ='a',crm_datetime ='2018-09-05 11:17:10' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700052';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700052'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451500102157',OPERATE_DATE ='2018-09-05',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700056',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เกรียงไกร',CUS_SNAME ='ศรีไชยบาล',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1982-12-15',CUS_ADD ='72',CUS_MOO ='6',CUS_DIS ='ชุมพร',CUS_DISID ='451502',CUS_AMP ='เมยวดี',CUS_AMPID ='4515',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45250',CUS_TEL ='0847317397',CUS_MOBILE ='0847317397',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='72',CEN_MOO ='6',CEN_DIS ='ชุมพร',CEN_DISID ='451502',CEN_AMP ='เมยวดี',CEN_AMPID ='4515',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45250',CEN_TEL ='',CEN_LATITUDE ='16.3575330000',CEN_LONGITUDE ='104.0921970000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451502',PLANT_SOURCE_DISTRICT ='4515',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-05',last_access_time ='13:27:59',log_status ='a',log_user ='55851_1227',log_date ='2018-09-05',ex_status = 'e',ex_datetime ='2018-09-05 13:27:59',crm_status ='a',crm_datetime ='2018-09-05 13:22:16' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700056';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700056'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5300200069266',OPERATE_DATE ='2018-09-05',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1809172700060',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='2',CUS_NAME ='บุญหลาย',CUS_SNAME ='หุบกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1970-08-23',CUS_ADD ='187',CUS_MOO ='2',CUS_DIS ='จระเข้หิน',CUS_DISID ='300205',CUS_AMP ='ครบุรี',CUS_AMPID ='3002',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0856346517',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='187',CEN_MOO ='2',CEN_DIS ='จระเข้หิน',CEN_DISID ='300205',CEN_AMP ='ครบุรี',CEN_AMPID ='3002',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5250980000',CEN_LONGITUDE ='102.1893310000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300205',PLANT_SOURCE_DISTRICT ='3002',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-12',last_access_time ='09:28:44',log_status ='e',log_user ='62831_bms',log_date ='2019-05-24',ex_status = 'e',ex_datetime ='2018-12-12 09:28:44',crm_status ='a',crm_datetime ='2018-09-05 14:38:21' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700060';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700060'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3302200074427',OPERATE_DATE ='2018-09-10',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1809172700132',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ทนง',CUS_SNAME ='ดวงกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1978-05-13',CUS_ADD ='92',CUS_MOO ='4',CUS_DIS ='ลุงเขว้า',CUS_DISID ='302207',CUS_AMP ='หนองบุนนาก',CUS_AMPID ='3022',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30410',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='92',CEN_MOO ='4',CEN_DIS ='หนองบุนนาก',CEN_DISID ='302201',CEN_AMP ='หนองบุนนาก',CEN_AMPID ='3022',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30410',CEN_TEL ='',CEN_LATITUDE ='14.6985160000',CEN_LONGITUDE ='102.4495700000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302207',PLANT_SOURCE_DISTRICT ='3022',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-26',last_access_time ='09:26:46',log_status ='a',log_user ='sr_1727',log_date ='2018-09-10',ex_status = 'e',ex_datetime ='2018-10-26 09:26:46',crm_status ='a',crm_datetime ='2018-09-10 13:55:11' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700132';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700132'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300700396723',OPERATE_DATE ='2018-09-06',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1809172700077',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='โก',CUS_SNAME ='วันผักแว่น',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-11-10',CUS_ADD ='71',CUS_MOO ='8',CUS_DIS ='ทุ่งอรุณ',CUS_DISID ='300704',CUS_AMP ='โชคชัย',CUS_AMPID ='3007',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='71',CEN_MOO ='8',CEN_DIS ='ทุ่งอรุณ',CEN_DISID ='300704',CEN_AMP ='โชคชัย',CEN_AMPID ='3007',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.6367390000',CEN_LONGITUDE ='102.1701050000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300704',PLANT_SOURCE_DISTRICT ='3007',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-18',last_access_time ='10:36:59',log_status ='a',log_user ='sr_1727',log_date ='2018-09-06',ex_status = 'e',ex_datetime ='2018-10-18 10:36:59',crm_status ='a',crm_datetime ='2018-09-06 14:18:24' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700077';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700077'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320500490033',OPERATE_DATE ='2018-09-06',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1809123200078',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เยี่ยมทวี',CUS_SNAME ='ทรงราษี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1963-02-16',CUS_ADD ='105',CUS_MOO ='14',CUS_DIS ='ปรือ',CUS_DISID ='320504',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32140',CUS_TEL ='0897173186',CUS_MOBILE ='0897173186',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='105',CEN_MOO ='14',CEN_DIS ='ปรือ',CEN_DISID ='320504',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32140',CEN_TEL ='',CEN_LATITUDE ='14.6153120000',CEN_LONGITUDE ='103.2966330000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='15.00',PLANT_SOURCE_SUBDISTRICT ='320504',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-11',last_access_time ='11:36:42',log_status ='e',log_user ='63706_1232',log_date ='2018-09-06',ex_status = 'e',ex_datetime ='2018-12-11 11:36:42',crm_status ='a',crm_datetime ='2018-09-06 14:39:10' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200078';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200078'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310700567323',OPERATE_DATE ='2018-09-06',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1809123200080',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สมเบียด',CUS_SNAME ='ทองนาค',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1969-09-13',CUS_ADD ='42',CUS_MOO ='8',CUS_DIS ='เขาคอก',CUS_DISID ='310715',CUS_AMP ='ประโคนชัย',CUS_AMPID ='3107',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31140',CUS_TEL ='0944845860',CUS_MOBILE ='0944845860',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='42',CEN_MOO ='8',CEN_DIS ='เขาคอก',CEN_DISID ='310715',CEN_AMP ='ประโคนชัย',CEN_AMPID ='3107',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31140',CEN_TEL ='',CEN_LATITUDE ='14.4506390000',CEN_LONGITUDE ='103.0290990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='310715',PLANT_SOURCE_DISTRICT ='3107',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-06',last_access_time ='17:02:21',log_status ='e',log_user ='65570_1232',log_date ='2018-09-06',ex_status = 'e',ex_datetime ='2018-09-06 17:02:21',crm_status ='a',crm_datetime ='2018-09-06 16:08:44' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200080';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200080'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310700568524',OPERATE_DATE ='2018-09-06',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1809123200084',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='อนุ',CUS_SNAME ='ตรา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1967-10-10',CUS_ADD ='358',CUS_MOO ='8',CUS_DIS ='เขาคอก',CUS_DISID ='310715',CUS_AMP ='ประโคนชัย',CUS_AMPID ='3107',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31140',CUS_TEL ='0801628134',CUS_MOBILE ='0801628134',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='358',CEN_MOO ='8',CEN_DIS ='เขาคอก',CEN_DISID ='310715',CEN_AMP ='ประโคนชัย',CEN_AMPID ='3107',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31140',CEN_TEL ='',CEN_LATITUDE ='14.4506390000',CEN_LONGITUDE ='103.0290990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='15.00',PLANT_SOURCE_SUBDISTRICT ='310715',PLANT_SOURCE_DISTRICT ='3107',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-06',last_access_time ='18:41:21',log_status ='e',log_user ='65570_1232',log_date ='2018-09-06',ex_status = 'e',ex_datetime ='2018-09-06 18:41:21',crm_status ='a',crm_datetime ='2018-09-06 18:27:10' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200084';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200084'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310700173767',OPERATE_DATE ='2018-09-06',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1809123200085',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุวิทย์',CUS_SNAME ='สีดาดี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1964-09-03',CUS_ADD ='43',CUS_MOO ='8',CUS_DIS ='เขาคอก',CUS_DISID ='310715',CUS_AMP ='ประโคนชัย',CUS_AMPID ='3107',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31140',CUS_TEL ='0878700350',CUS_MOBILE ='0878700530',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='43',CEN_MOO ='8',CEN_DIS ='เขาคอก',CEN_DISID ='310715',CEN_AMP ='ประโคนชัย',CEN_AMPID ='3107',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31140',CEN_TEL ='',CEN_LATITUDE ='14.4506390000',CEN_LONGITUDE ='103.0290990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='310715',PLANT_SOURCE_DISTRICT ='3107',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-06',last_access_time ='19:14:40',log_status ='e',log_user ='65570_1232',log_date ='2018-09-06',ex_status = 'e',ex_datetime ='2018-09-06 19:14:40',crm_status ='a',crm_datetime ='2018-09-06 19:05:44' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200085';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200085'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3302200251434',OPERATE_DATE ='2018-09-07',DOC_NO ='',C_TYPE_CODE ='1647',SUB_BRANCH_ID ='',CUS_ID ='M-1809164700088',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='เสิง',CUS_SNAME ='เป้กระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1959-10-24',CUS_ADD ='59',CUS_MOO ='7',CUS_DIS ='แหลมทอง',CUS_DISID ='302205',CUS_AMP ='หนองบุนนาก',CUS_AMPID ='3022',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='044000000',CUS_MOBILE ='0927164574',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='59',CEN_MOO ='7',CEN_DIS ='แหลมทอง',CEN_DISID ='302205',CEN_AMP ='หนองบุนนาก',CEN_AMPID ='3022',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.7828500000',CEN_LONGITUDE ='102.3122410000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302204',PLANT_SOURCE_DISTRICT ='3022',PLANT_SOURCE_PROVINCE ='30',vat_status ='0',type_cus ='1',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-10',last_access_time ='14:12:45',log_status ='e',log_user ='62811_bms',log_date ='2018-09-20',ex_status = 'e',ex_datetime ='2018-09-10 14:12:45',crm_status ='a',crm_datetime ='2018-09-10 14:05:13' WHERE C_TYPE_CODE = '1647' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809164700088';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1647' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809164700088'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3400900345129',OPERATE_DATE ='2018-09-07',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1809116200089',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='วิรัตน์',CUS_SNAME ='สิงหาปัด',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1937-08-11',CUS_ADD ='22',CUS_MOO ='6',CUS_DIS ='ห้วยโจด',CUS_DISID ='400905',CUS_AMP ='กระนวน',CUS_AMPID ='4009',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0800116904',CUS_MOBILE ='0800116904',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='22',CEN_MOO ='6',CEN_DIS ='ห้วยโจด',CEN_DISID ='400905',CEN_AMP ='กระนวน',CEN_AMPID ='4009',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.6641510000',CEN_LONGITUDE ='103.0270390000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='400905',PLANT_SOURCE_DISTRICT ='4009',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-07',last_access_time ='10:52:15',log_status ='a',log_user ='56307_1162',log_date ='2018-09-07',ex_status = 'e',ex_datetime ='2018-09-07 10:52:15',crm_status ='a',crm_datetime ='2018-09-07 10:24:59' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809116200089';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809116200089'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900453118',OPERATE_DATE ='2018-09-07',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700090',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประสาท',CUS_SNAME ='สายรัตน์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1957-07-18',CUS_ADD ='43',CUS_MOO ='7',CUS_DIS ='ภูเขาทอง',CUS_DISID ='450903',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0848752575',CUS_MOBILE ='0848752575',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='43',CEN_MOO ='7',CEN_DIS ='ภูเขาทอง',CEN_DISID ='450903',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3992010000',CEN_LONGITUDE ='104.2485810000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450903',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-07',last_access_time ='14:45:58',log_status ='e',log_user ='65569_1227',log_date ='2018-09-07',ex_status = 'e',ex_datetime ='2018-09-07 14:45:58',crm_status ='a',crm_datetime ='2018-09-07 10:53:13' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700090';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700090'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450500222763',OPERATE_DATE ='2018-09-07',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700095',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='เสถียร',CUS_SNAME ='สิทธิศักดิ์',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-02-10',CUS_ADD ='63',CUS_MOO ='2',CUS_DIS ='ธวัชบุรี',CUS_DISID ='450504',CUS_AMP ='ธวัชบุรี',CUS_AMPID ='4505',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45170',CUS_TEL ='0981464029',CUS_MOBILE ='0981464029',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='63',CEN_MOO ='2',CEN_DIS ='ธวัชบุรี',CEN_DISID ='450504',CEN_AMP ='ธวัชบุรี',CEN_AMPID ='4505',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45170',CEN_TEL ='',CEN_LATITUDE ='16.1258100000',CEN_LONGITUDE ='103.8208010000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450504',PLANT_SOURCE_DISTRICT ='4505',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-10',last_access_time ='14:47:12',log_status ='a',log_user ='65569_1227',log_date ='2018-09-07',ex_status = 'e',ex_datetime ='2018-09-10 14:47:12',crm_status ='a',crm_datetime ='2018-09-07 11:25:28' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700095';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700095'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3471000344402',OPERATE_DATE ='2018-09-07',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700097',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='บัวพัน',CUS_SNAME ='พันภักดี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1960-08-10',CUS_ADD ='76',CUS_MOO ='7',CUS_DIS ='ดงหม้อทองใต้',CUS_DISID ='471005',CUS_AMP ='บ้านม่วง',CUS_AMPID ='4710',CUS_PROV ='สกลนคร',CUS_PROVID ='47',CUS_POST ='0',CUS_TEL ='0955711206',CUS_MOBILE ='0955711206',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='76',CEN_MOO ='7',CEN_DIS ='ดงหม้อทองใต้',CEN_DISID ='471005',CEN_AMP ='บ้านม่วง',CEN_AMPID ='4710',CEN_PROV ='สกลนคร',CEN_PROVID ='47',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='17.9263940000',CEN_LONGITUDE ='103.4215160000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='471005',PLANT_SOURCE_DISTRICT ='4710',PLANT_SOURCE_PROVINCE ='47',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-07',last_access_time ='13:07:04',log_status ='a',log_user ='56714_1227',log_date ='2018-09-07',ex_status = 'e',ex_datetime ='2018-09-07 13:07:04',crm_status ='a',crm_datetime ='2018-09-07 12:17:01' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700097';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700097'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1340700009634',OPERATE_DATE ='2018-09-08',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1809116200108',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='บุญศรี',CUS_SNAME ='คูพรมมี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1984-03-11',CUS_ADD ='339/2',CUS_MOO ='12',CUS_DIS ='ม่วงหวาน',CUS_DISID ='400706',CUS_AMP ='น้ำพอง',CUS_AMPID ='4007',CUS_PROV ='ขอนแก่น',CUS_PROVID ='40',CUS_POST ='0',CUS_TEL ='0819251061',CUS_MOBILE ='0819251061',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='339/2',CEN_MOO ='12',CEN_DIS ='ม่วงหวาน',CEN_DISID ='400706',CEN_AMP ='น้ำพอง',CEN_AMPID ='4007',CEN_PROV ='ขอนแก่น',CEN_PROVID ='40',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.6500070000',CEN_LONGITUDE ='102.7777860000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='400706',PLANT_SOURCE_DISTRICT ='4007',PLANT_SOURCE_PROVINCE ='40',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-08',last_access_time ='10:35:35',log_status ='a',log_user ='56307_1162',log_date ='2018-09-08',ex_status = 'e',ex_datetime ='2018-09-08 10:35:35',crm_status ='a',crm_datetime ='2018-09-08 10:21:31' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809116200108';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809116200108'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320500519961',OPERATE_DATE ='2018-09-10',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1809123200127',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ศักดิ์ชัย',CUS_SNAME ='ผะกาทอง',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1958-05-17',CUS_ADD ='78',CUS_MOO ='9',CUS_DIS ='ปรือ',CUS_DISID ='320504',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='0',CUS_TEL ='0924175544',CUS_MOBILE ='0813728387',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='78',CEN_MOO ='9',CEN_DIS ='ปรือ',CEN_DISID ='320504',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.6153120000',CEN_LONGITUDE ='103.2966330000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='320504',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-11',last_access_time ='11:34:30',log_status ='a',log_user ='60436_1232',log_date ='2018-09-10',ex_status = 'e',ex_datetime ='2018-12-11 11:34:30',crm_status ='a',crm_datetime ='2018-09-10 10:39:07' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200127';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200127'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3350300050838',OPERATE_DATE ='2018-09-10',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700128',ECUSTOMER_ID ='6100000410',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='2018-09-10',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='AB',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สกล',CUS_SNAME ='วงศ์ศรีแก้ว',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-02-10',CUS_ADD ='279',CUS_MOO ='9',CUS_DIS ='รอบเมือง',CUS_DISID ='450907',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0430000000',CUS_MOBILE ='0650215463',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='279',CEN_MOO ='9',CEN_DIS ='รอบเมือง',CEN_DISID ='450907',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3115730000',CEN_LONGITUDE ='104.2137340000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450901',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-30',last_access_time ='19:59:13',log_status ='a',log_user ='65372_1227',log_date ='2018-09-10',ex_status = 'e',ex_datetime ='2019-06-30 19:59:13',crm_status ='a',crm_datetime ='2018-09-10 10:49:34' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700128';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700128'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310401372547',OPERATE_DATE ='2018-09-10',DOC_NO ='',C_TYPE_CODE ='1732',SUB_BRANCH_ID ='',CUS_ID ='M-1809173200133',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ธนวัตน์',CUS_SNAME ='นาราช',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1983-10-01',CUS_ADD ='3',CUS_MOO ='8',CUS_DIS ='หนองไม้งาม',CUS_DISID ='310803',CUS_AMP ='บ้านกรวด',CUS_AMPID ='3108',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31160',CUS_TEL ='0969954340',CUS_MOBILE ='0939954304',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='3',CEN_MOO ='',CEN_DIS ='หนองไม้งาม',CEN_DISID ='310803',CEN_AMP ='บ้านกรวด',CEN_AMPID ='3108',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31160',CEN_TEL ='',CEN_LATITUDE ='14.3927830000',CEN_LONGITUDE ='103.0023190000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='310803',PLANT_SOURCE_DISTRICT ='3108',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-10',last_access_time ='16:11:15',log_status ='e',log_user ='sr_1732',log_date ='2018-09-10',ex_status = 'e',ex_datetime ='2018-09-10 16:11:15',crm_status ='a',crm_datetime ='2018-09-10 14:05:28' WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809173200133';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809173200133'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1410500081195',OPERATE_DATE ='2018-09-10',DOC_NO ='',C_TYPE_CODE ='1162',SUB_BRANCH_ID ='',CUS_ID ='M-1809116200134',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อภิสิทธิ์',CUS_SNAME ='โพธิ์ชาติ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1992-12-03',CUS_ADD ='91',CUS_MOO ='8',CUS_DIS ='โพธิ์ศรีสำราญ',CUS_DISID ='410503',CUS_AMP ='โนนสะอาด',CUS_AMPID ='4105',CUS_PROV ='อุดรธานี',CUS_PROVID ='41',CUS_POST ='0',CUS_TEL ='0845388975',CUS_MOBILE ='0845388975',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='91',CEN_MOO ='8',CEN_DIS ='โพธิ์ศรีสำราญ',CEN_DISID ='410503',CEN_AMP ='โนนสะอาด',CEN_AMPID ='4105',CEN_PROV ='อุดรธานี',CEN_PROVID ='41',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.9815350000',CEN_LONGITUDE ='102.8502380000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='410503',PLANT_SOURCE_DISTRICT ='4105',PLANT_SOURCE_PROVINCE ='41',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-10',last_access_time ='14:28:36',log_status ='a',log_user ='44345_1162',log_date ='2018-09-10',ex_status = 'e',ex_datetime ='2018-09-10 14:28:36',crm_status ='a',crm_datetime ='2018-09-10 14:04:26' WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809116200134';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1162' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809116200134'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310700369505',OPERATE_DATE ='2018-09-10',DOC_NO ='',C_TYPE_CODE ='1732',SUB_BRANCH_ID ='',CUS_ID ='M-1809173200136',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประทับ',CUS_SNAME ='มะลิซ้อน',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1962-07-07',CUS_ADD ='414',CUS_MOO ='8',CUS_DIS ='หนองไม้งาม',CUS_DISID ='310803',CUS_AMP ='บ้านกรวด',CUS_AMPID ='3108',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31160',CUS_TEL ='0898484192',CUS_MOBILE ='0898484192',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='414',CEN_MOO ='8',CEN_DIS ='หนองไม้งาม',CEN_DISID ='310803',CEN_AMP ='บ้านกรวด',CEN_AMPID ='3108',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31160',CEN_TEL ='',CEN_LATITUDE ='14.3927830000',CEN_LONGITUDE ='103.0023190000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='310803',PLANT_SOURCE_DISTRICT ='3108',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-21',last_access_time ='11:18:25',log_status ='e',log_user ='sr_1732',log_date ='2018-09-10',ex_status = 'e',ex_datetime ='2018-11-21 11:18:25',crm_status ='a',crm_datetime ='2018-09-10 15:11:07' WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809173200136';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809173200136'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3200600961322',OPERATE_DATE ='2018-09-10',DOC_NO ='',C_TYPE_CODE ='1115',SUB_BRANCH_ID ='',CUS_ID ='M-1809111500138',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='2',CUS_NAME ='ธิดาวรรณ',CUS_SNAME ='อินทร์กล่ำ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1975-01-27',CUS_ADD ='306/2',CUS_MOO ='10',CUS_DIS ='เกาะจันทร์',CUS_DISID ='201101',CUS_AMP ='เกาะจันทร์',CUS_AMPID ='2011',CUS_PROV ='ชลบุรี',CUS_PROVID ='20',CUS_POST ='0',CUS_TEL ='0859794791',CUS_MOBILE ='0857977491',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='306/2',CEN_MOO ='10',CEN_DIS ='เกาะจันทร์',CEN_DISID ='201101',CEN_AMP ='เกาะจันทร์',CEN_AMPID ='2011',CEN_PROV ='ชลบุรี',CEN_PROVID ='20',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.4150020000',CEN_LONGITUDE ='101.4024350000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='201001',PLANT_SOURCE_DISTRICT ='2010',PLANT_SOURCE_PROVINCE ='20',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-28',last_access_time ='08:41:34',log_status ='a',log_user ='60303_1115',log_date ='2018-09-10',ex_status = 'e',ex_datetime ='2018-09-28 08:41:34',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809111500138';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1115' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809111500138'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1450700234611',OPERATE_DATE ='2018-09-11',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700145',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ปัญญา',CUS_SNAME ='นาเมืองรักษ์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1995-11-03',CUS_ADD ='24',CUS_MOO ='8',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45110',CUS_TEL ='0980952969',CUS_MOBILE ='0980952969',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='24',CEN_MOO ='8',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45110',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-11',last_access_time ='13:50:59',log_status ='a',log_user ='65569_1227',log_date ='2018-09-11',ex_status = 'e',ex_datetime ='2018-09-11 13:50:59',crm_status ='a',crm_datetime ='2018-09-11 12:41:49' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700145';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700145'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1319800180031',OPERATE_DATE ='2018-09-11',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1809123200151',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='โกมล',CUS_SNAME ='ชนะน้อย',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1996-11-02',CUS_ADD ='170',CUS_MOO ='7',CUS_DIS ='สระว่านพระยา',CUS_DISID ='300212',CUS_AMP ='ครบุรี',CUS_AMPID ='3002',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='044140628',CUS_MOBILE ='0801591628',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='170',CEN_MOO ='7',CEN_DIS ='สระว่านพระยา',CEN_DISID ='300212',CEN_AMP ='ครบุรี',CEN_AMPID ='3002',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5250980000',CEN_LONGITUDE ='102.3987580000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300212',PLANT_SOURCE_DISTRICT ='3002',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-22',last_access_time ='23:27:52',log_status ='a',log_user ='60436_1232',log_date ='2018-09-11',ex_status = 'e',ex_datetime ='2018-09-22 23:27:52',crm_status ='a',crm_datetime ='2018-09-11 15:18:12' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200151';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200151'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300200014350',OPERATE_DATE ='2018-09-11',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1809123200152',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ศาตพร',CUS_SNAME ='วันผักแว่น',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-06-01',CUS_ADD ='78',CUS_MOO ='24',CUS_DIS ='โคกกระชาย',CUS_DISID ='300204',CUS_AMP ='ครบุรี',CUS_AMPID ='3002',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0801591628',CUS_MOBILE ='0801591628',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='78',CEN_MOO ='24',CEN_DIS ='โคกกระชาย',CEN_DISID ='300204',CEN_AMP ='ครบุรี',CEN_AMPID ='3002',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.4240400000',CEN_LONGITUDE ='102.2854610000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300204',PLANT_SOURCE_DISTRICT ='3002',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-15',last_access_time ='07:45:32',log_status ='a',log_user ='60436_1232',log_date ='2018-09-11',ex_status = 'e',ex_datetime ='2018-09-15 07:45:32',crm_status ='a',crm_datetime ='2018-09-11 15:23:59' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200152';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200152'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='',OPERATE_DATE ='2018-09-13',DOC_NO ='',C_TYPE_CODE ='1155',SUB_BRANCH_ID ='',CUS_ID ='M-1809115500166',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ศิริพงษ์',CUS_SNAME ='เพ็ชระ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1985-04-19',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='วังท่าช้าง',CUS_DISID ='250214',CUS_AMP ='กบินทร์บุรี',CUS_AMPID ='2502',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='037000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='วังท่าช้าง',CEN_DISID ='250214',CEN_AMP ='กบินทร์บุรี',CEN_AMPID ='2502',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.6653370000',CEN_LONGITUDE ='101.8885800000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250214',PLANT_SOURCE_DISTRICT ='2502',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-13',last_access_time ='13:37:55',log_status ='e',log_user ='50180_1155',log_date ='2018-09-13',ex_status = 'e',ex_datetime ='2018-09-13 13:37:55',crm_status ='a',crm_datetime ='2018-09-13 13:36:24' WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809115500166';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1155' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809115500166'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300700342089',OPERATE_DATE ='2018-09-13',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1809172700168',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมศักดิ์',CUS_SNAME ='หน่อยกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1953-09-01',CUS_ADD ='166',CUS_MOO ='7',CUS_DIS ='ละลมใหม่พัฒนา',CUS_DISID ='300709',CUS_AMP ='โชคชัย',CUS_AMPID ='3007',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30190',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='166',CEN_MOO ='7',CEN_DIS ='ละลมใหม่พัฒนา',CEN_DISID ='300709',CEN_AMP ='โชคชัย',CEN_AMPID ='3007',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30190',CEN_TEL ='',CEN_LATITUDE ='14.8306460000',CEN_LONGITUDE ='102.2216030000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300709',PLANT_SOURCE_DISTRICT ='3007',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-10',last_access_time ='08:14:21',log_status ='a',log_user ='sr_1727',log_date ='2018-09-13',ex_status = 'e',ex_datetime ='2018-10-10 08:14:21',crm_status ='a',crm_datetime ='2018-09-13 14:38:48' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700168';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700168'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451500132129',OPERATE_DATE ='2018-09-14',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700182',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='พันธ์',CUS_SNAME ='ดลรัศมี',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1950-06-13',CUS_ADD ='75',CUS_MOO ='9',CUS_DIS ='ชุมพร',CUS_DISID ='451502',CUS_AMP ='เมยวดี',CUS_AMPID ='4515',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0989578499',CUS_MOBILE ='0989578499',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='75',CEN_MOO ='9',CEN_DIS ='ชุมพร',CEN_DISID ='451502',CEN_AMP ='เมยวดี',CEN_AMPID ='4515',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3575330000',CEN_LONGITUDE ='104.0921970000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451502',PLANT_SOURCE_DISTRICT ='4515',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-05-07',last_access_time ='17:04:17',log_status ='e',log_user ='55851_1227',log_date ='2019-05-07',ex_status = 'e',ex_datetime ='2019-05-07 17:04:17',crm_status ='a',crm_datetime ='2019-05-07 16:58:14' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700182';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700182'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1209300023272',OPERATE_DATE ='2018-09-14',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1809123200190',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='นันท์พิพัฒน์',CUS_SNAME ='เลิศสกุล',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1996-02-12',CUS_ADD ='114',CUS_MOO ='12',CUS_DIS ='เชื้อเพลิง',CUS_DISID ='320512',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32140',CUS_TEL ='0879639932',CUS_MOBILE ='0879639932',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='114',CEN_MOO ='12',CEN_DIS ='เชื้อเพลิง',CEN_DISID ='320512',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32140',CEN_TEL ='',CEN_LATITUDE ='14.7009230000',CEN_LONGITUDE ='103.4208300000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='15.00',PLANT_SOURCE_SUBDISTRICT ='320512',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-21',last_access_time ='11:20:52',log_status ='e',log_user ='sr_1732',log_date ='2018-09-14',ex_status = 'e',ex_datetime ='2018-11-21 11:20:52',crm_status ='a',crm_datetime ='2018-09-14 16:17:11' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200190';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200190'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310800096900',OPERATE_DATE ='2018-09-17',DOC_NO ='',C_TYPE_CODE ='1732',SUB_BRANCH_ID ='',CUS_ID ='M-1809173200202',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='เสงียม',CUS_SNAME ='ราสีประโคน',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1960-01-02',CUS_ADD ='20',CUS_MOO ='8',CUS_DIS ='หนองไม้งาม',CUS_DISID ='310803',CUS_AMP ='บ้านกรวด',CUS_AMPID ='3108',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31160',CUS_TEL ='0862482349',CUS_MOBILE ='0862482340',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='20',CEN_MOO ='8',CEN_DIS ='หนองไม้งาม',CEN_DISID ='310803',CEN_AMP ='บ้านกรวด',CEN_AMPID ='3108',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31160',CEN_TEL ='',CEN_LATITUDE ='14.3927830000',CEN_LONGITUDE ='103.0023190000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='310803',PLANT_SOURCE_DISTRICT ='3108',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-11-21',last_access_time ='11:27:12',log_status ='e',log_user ='sr_1732',log_date ='2018-09-17',ex_status = 'e',ex_datetime ='2018-11-21 11:27:12',crm_status ='a',crm_datetime ='2018-09-17 10:51:51' WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809173200202';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809173200202'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5310400064560',OPERATE_DATE ='2018-09-17',DOC_NO ='',C_TYPE_CODE ='1732',SUB_BRANCH_ID ='',CUS_ID ='M-1809173200205',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='วิภา',CUS_SNAME ='ชลอกลาง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1983-03-18',CUS_ADD ='1',CUS_MOO ='8',CUS_DIS ='หนองไม้งาม',CUS_DISID ='310803',CUS_AMP ='บ้านกรวด',CUS_AMPID ='3108',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31160',CUS_TEL ='0875307252',CUS_MOBILE ='0875307452',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='1',CEN_MOO ='8',CEN_DIS ='หนองไม้งาม',CEN_DISID ='310803',CEN_AMP ='บ้านกรวด',CEN_AMPID ='3108',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31160',CEN_TEL ='',CEN_LATITUDE ='14.3927830000',CEN_LONGITUDE ='103.0023190000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='310803',PLANT_SOURCE_DISTRICT ='3108',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-02-11',last_access_time ='12:59:14',log_status ='e',log_user ='sr_1732',log_date ='2018-09-17',ex_status = 'e',ex_datetime ='2019-02-11 12:59:14',crm_status ='a',crm_datetime ='2018-09-17 11:43:10' WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809173200205';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809173200205'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1450900040135',OPERATE_DATE ='2018-09-17',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700212',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ภาวินี',CUS_SNAME ='สว่างชุม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1986-12-12',CUS_ADD ='158',CUS_MOO ='3',CUS_DIS ='กกโพธิ์',CUS_DISID ='450904',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45210',CUS_TEL ='0904015886',CUS_MOBILE ='0904015886',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='158',CEN_MOO ='3',CEN_DIS ='กกโพธิ์',CEN_DISID ='450904',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45210',CEN_TEL ='',CEN_LATITUDE ='16.2752410000',CEN_LONGITUDE ='104.0913390000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450904',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-17',last_access_time ='14:51:55',log_status ='a',log_user ='65569_1227',log_date ='2018-09-17',ex_status = 'e',ex_datetime ='2018-09-17 14:51:55',crm_status ='a',crm_datetime ='2018-09-17 14:16:41' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700212';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700212'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310300668700',OPERATE_DATE ='2018-09-17',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1809123200215',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='กัญวิศร',CUS_SNAME ='สุขประเสริฐ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1980-02-02',CUS_ADD ='82',CUS_MOO ='14',CUS_DIS ='สูงเนิน',CUS_DISID ='310304',CUS_AMP ='กระสัง',CUS_AMPID ='3103',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='0',CUS_TEL ='0854694721',CUS_MOBILE ='0854694721',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='82',CEN_MOO ='14',CEN_DIS ='สูงเนิน',CEN_DISID ='310304',CEN_AMP ='กระสัง',CEN_AMPID ='3103',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.7997790000',CEN_LONGITUDE ='103.2344910000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='310304',PLANT_SOURCE_DISTRICT ='3103',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-30',last_access_time ='15:44:48',log_status ='a',log_user ='60436_1232',log_date ='2018-09-17',ex_status = 'e',ex_datetime ='2019-06-30 15:44:48',crm_status ='a',crm_datetime ='2018-09-17 16:30:17' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200215';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200215'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300300441098',OPERATE_DATE ='2018-09-18',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1809123200220',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='2',CUS_NAME ='ทำนอง',CUS_SNAME ='เฉียบกระโทก',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1976-06-02',CUS_ADD ='29',CUS_MOO ='3',CUS_DIS ='สระตะเคียน',CUS_DISID ='300302',CUS_AMP ='เสิงสาง',CUS_AMPID ='3003',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30330',CUS_TEL ='',CUS_MOBILE ='0872414017',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='29',CEN_MOO ='3',CEN_DIS ='สระตะเคียน',CEN_DISID ='300302',CEN_AMP ='เสิงสาง',CEN_AMPID ='3003',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30330',CEN_TEL ='',CEN_LATITUDE ='14.3894580000',CEN_LONGITUDE ='102.4887080000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300302',PLANT_SOURCE_DISTRICT ='3003',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-18',last_access_time ='11:34:15',log_status ='e',log_user ='65520_1232',log_date ='2018-09-18',ex_status = 'e',ex_datetime ='2018-09-18 11:34:15',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200220';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200220'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320500225321',OPERATE_DATE ='2018-09-18',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1809123200221',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สุรีรัตน์',CUS_SNAME ='จันทวงค์',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1974-06-12',CUS_ADD ='90',CUS_MOO ='18',CUS_DIS ='ปรือ',CUS_DISID ='320504',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='32140',CUS_TEL ='0967063188',CUS_MOBILE ='0967063188',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='90',CEN_MOO ='18',CEN_DIS ='ปรือ',CEN_DISID ='320504',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='32140',CEN_TEL ='',CEN_LATITUDE ='14.6153120000',CEN_LONGITUDE ='103.2966330000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='320504',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-12-07',last_access_time ='12:03:08',log_status ='e',log_user ='60436_1232',log_date ='2018-12-07',ex_status = 'e',ex_datetime ='2018-12-07 12:03:08',crm_status ='a',crm_datetime ='2018-12-07 10:12:07' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200221';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200221'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5340400072091',OPERATE_DATE ='2018-09-18',DOC_NO ='',C_TYPE_CODE ='1664',SUB_BRANCH_ID ='',CUS_ID ='M-1809166400227',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='2',CUS_NAME ='วิรัตน์',CUS_SNAME ='ทองประสาร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1954-02-20',CUS_ADD ='41/1',CUS_MOO ='1',CUS_DIS ='เขื่องใน',CUS_DISID ='340401',CUS_AMP ='เขื่องใน',CUS_AMPID ='3404',CUS_PROV ='อุบลราชธานี',CUS_PROVID ='34',CUS_POST ='34150',CUS_TEL ='0868789051',CUS_MOBILE ='0868789051',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='41/1',CEN_MOO ='1',CEN_DIS ='เขื่องใน',CEN_DISID ='340401',CEN_AMP ='เขื่องใน',CEN_AMPID ='3404',CEN_PROV ='อุบลราชธานี',CEN_PROVID ='34',CEN_POST ='34150',CEN_TEL ='',CEN_LATITUDE ='15.3893080000',CEN_LONGITUDE ='104.5512200000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='10.00',PLANT_SOURCE_SUBDISTRICT ='340401',PLANT_SOURCE_DISTRICT ='3404',PLANT_SOURCE_PROVINCE ='34',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-28',last_access_time ='13:28:12',log_status ='a',log_user ='46986_1664',log_date ='2018-09-18',ex_status = 'e',ex_datetime ='2018-09-28 13:28:12',crm_status ='a',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1664' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809166400227';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1664' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809166400227'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900097656',OPERATE_DATE ='2018-09-18',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700229',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ประสงค์',CUS_SNAME ='เศิกศิริ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1965-07-26',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='หนองบัว',CUS_DISID ='451408',CUS_AMP ='อาจสามารถ',CUS_AMPID ='4514',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0953310166',CUS_MOBILE ='0953310166',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='หนองบัว',CEN_DISID ='451408',CEN_AMP ='อาจสามารถ',CEN_AMPID ='4514',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='15.8690280000',CEN_LONGITUDE ='103.7601180000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451408',PLANT_SOURCE_DISTRICT ='4514',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-18',last_access_time ='16:26:16',log_status ='a',log_user ='65569_1227',log_date ='2018-09-18',ex_status = 'e',ex_datetime ='2018-09-18 16:26:16',crm_status ='a',crm_datetime ='2018-09-18 16:19:48' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700229';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700229'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='5300100068519',OPERATE_DATE ='2018-09-20',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1809172700239',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='รัชนก',CUS_SNAME ='คงนาคพะเนา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-03-01',CUS_ADD ='305',CUS_MOO ='2',CUS_DIS ='โชคชัย',CUS_DISID ='300708',CUS_AMP ='โชคชัย',CUS_AMPID ='3007',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='0643501748',CUS_MOBILE ='0643501748',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='305',CEN_MOO ='2',CEN_DIS ='โชคชัย',CEN_DISID ='300708',CEN_AMP ='โชคชัย',CEN_AMPID ='3007',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.7317220000',CEN_LONGITUDE ='102.1646120000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300708',PLANT_SOURCE_DISTRICT ='3007',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-22',last_access_time ='14:54:07',log_status ='a',log_user ='sr_1727',log_date ='2018-09-20',ex_status = 'e',ex_datetime ='2018-09-22 14:54:07',crm_status ='a',crm_datetime ='2018-09-20 11:03:32' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700239';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700239'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3302200425947',OPERATE_DATE ='2018-09-20',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1809172700240',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุพจน์',CUS_SNAME ='คิดการ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1955-03-14',CUS_ADD ='74',CUS_MOO ='4',CUS_DIS ='หนองตะไก้',CUS_DISID ='302206',CUS_AMP ='หนองบุนนาก',CUS_AMPID ='3022',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='089285177',CUS_MOBILE ='0892854177',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='74',CEN_MOO ='4',CEN_DIS ='หนองตะไก้',CEN_DISID ='302206',CEN_AMP ='หนองบุนนาก',CEN_AMPID ='3022',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.6852320000',CEN_LONGITUDE ='102.3905180000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302206',PLANT_SOURCE_DISTRICT ='3022',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-09',last_access_time ='15:31:36',log_status ='a',log_user ='sr_1727',log_date ='2018-09-20',ex_status = 'e',ex_datetime ='2018-10-09 15:31:36',crm_status ='a',crm_datetime ='2018-09-20 11:30:31' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700240';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700240'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3460100264604',OPERATE_DATE ='2018-09-20',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700243',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สุพรรณ',CUS_SNAME ='แดนกะไส',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1956-09-01',CUS_ADD ='63',CUS_MOO ='8',CUS_DIS ='นาจำปา',CUS_DISID ='461705',CUS_AMP ='ดอนจาน',CUS_AMPID ='4617',CUS_PROV ='กาฬสินธุ์',CUS_PROVID ='46',CUS_POST ='0',CUS_TEL ='0610897830',CUS_MOBILE ='0610897830',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='63',CEN_MOO ='8',CEN_DIS ='นาจำปา',CEN_DISID ='461705',CEN_AMP ='ดอนจาน',CEN_AMPID ='4617',CEN_PROV ='กาฬสินธุ์',CEN_PROVID ='46',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.4867900000',CEN_LONGITUDE ='103.6985780000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='461705',PLANT_SOURCE_DISTRICT ='4617',PLANT_SOURCE_PROVINCE ='46',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-24',last_access_time ='10:16:33',log_status ='a',log_user ='56714_1227',log_date ='2018-09-20',ex_status = 'e',ex_datetime ='2018-09-24 10:16:33',crm_status ='a',crm_datetime ='2018-09-20 15:34:39' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700243';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700243'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3302200251922',OPERATE_DATE ='2018-09-21',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1809172700246',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='จัด',CUS_SNAME ='ฉิมทะเล',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1960-10-07',CUS_ADD ='42',CUS_MOO ='7',CUS_DIS ='แหลมทอง',CUS_DISID ='302205',CUS_AMP ='หนองบุนนาก',CUS_AMPID ='3022',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30410',CUS_TEL ='044000000',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='42',CEN_MOO ='7',CEN_DIS ='แหลมทอง',CEN_DISID ='302205',CEN_AMP ='หนองบุนนาก',CEN_AMPID ='3022',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30410',CEN_TEL ='',CEN_LATITUDE ='14.7828500000',CEN_LONGITUDE ='102.3122410000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302205',PLANT_SOURCE_DISTRICT ='3022',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-21',last_access_time ='10:06:56',log_status ='a',log_user ='sr_1727',log_date ='2018-09-21',ex_status = 'e',ex_datetime ='2018-09-21 10:06:56',crm_status ='a',crm_datetime ='2018-09-21 09:58:59' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700246';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700246'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3451500108635',OPERATE_DATE ='2018-09-21',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700247',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='อุไร',CUS_SNAME ='พลเยี่ยม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1963-06-24',CUS_ADD ='136',CUS_MOO ='9',CUS_DIS ='ชุมพร',CUS_DISID ='451502',CUS_AMP ='เมยวดี',CUS_AMPID ='4515',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0430000000',CUS_MOBILE ='0800000000',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='136',CEN_MOO ='9',CEN_DIS ='ชุมพร',CEN_DISID ='451502',CEN_AMP ='เมยวดี',CEN_AMPID ='4515',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3575330000',CEN_LONGITUDE ='104.0921970000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='451502',PLANT_SOURCE_DISTRICT ='4515',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-15',last_access_time ='08:23:42',log_status ='a',log_user ='65569_1227',log_date ='2018-09-21',ex_status = 'e',ex_datetime ='2018-10-15 08:23:42',crm_status ='a',crm_datetime ='2018-09-21 10:14:49' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700247';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700247'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3340900403146',OPERATE_DATE ='2018-09-21',DOC_NO ='',C_TYPE_CODE ='1346',SUB_BRANCH_ID ='',CUS_ID ='M-1809134600249',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='ธนา',CUS_SNAME ='กิจซื่อตรง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1950-01-29',CUS_ADD ='99',CUS_MOO ='11',CUS_DIS ='หนองไม้งาม',CUS_DISID ='310803',CUS_AMP ='บ้านกรวด',CUS_AMPID ='3108',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31170',CUS_TEL ='0979303971',CUS_MOBILE ='0872436422',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='99',CEN_MOO ='11',CEN_DIS ='หนองไม้งาม',CEN_DISID ='310803',CEN_AMP ='บ้านกรวด',CEN_AMPID ='3108',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31170',CEN_TEL ='',CEN_LATITUDE ='14.3927830000',CEN_LONGITUDE ='103.0023190000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='3',CUS_GROUP ='4',CREDIT_CUSTOMER ='5.00',PLANT_SOURCE_SUBDISTRICT ='310803',PLANT_SOURCE_DISTRICT ='3108',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-01-05',last_access_time ='14:17:11',log_status ='e',log_user ='35444_1346',log_date ='2018-09-21',ex_status = 'e',ex_datetime ='2019-01-05 14:17:11',crm_status ='a',crm_datetime ='2018-09-21 13:41:09' WHERE C_TYPE_CODE = '1346' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809134600249';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1346' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809134600249'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3300300179741',OPERATE_DATE ='2018-09-21',DOC_NO ='',C_TYPE_CODE ='1369',SUB_BRANCH_ID ='',CUS_ID ='M-1809136900256',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='สมบูรณ์',CUS_SNAME ='ยี่กระโทก',CUS_STATUS ='สมรส',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-09-16',CUS_ADD ='156',CUS_MOO ='13',CUS_DIS ='สระตะเคียน',CUS_DISID ='300302',CUS_AMP ='เสิงสาง',CUS_AMPID ='3003',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='0',CUS_TEL ='043039705',CUS_MOBILE ='',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='156',CEN_MOO ='13',CEN_DIS ='สระตะเคียน',CEN_DISID ='300302',CEN_AMP ='เสิงสาง',CEN_AMPID ='3003',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.3894580000',CEN_LONGITUDE ='102.4887080000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='300302',PLANT_SOURCE_DISTRICT ='3003',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-19',last_access_time ='16:18:36',log_status ='a',log_user ='58357_1369',log_date ='2018-09-21',ex_status = 'e',ex_datetime ='2019-06-19 16:18:36',crm_status ='a',crm_datetime ='2018-09-21 16:09:31' WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809136900256';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1369' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809136900256'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3302200275104',OPERATE_DATE ='2018-09-22',DOC_NO ='',C_TYPE_CODE ='1727',SUB_BRANCH_ID ='',CUS_ID ='M-1809172700270',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สวงษ์',CUS_SNAME ='ป้อมทะเล',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1951-06-11',CUS_ADD ='78/1',CUS_MOO ='1',CUS_DIS ='ลุงเขว้า',CUS_DISID ='302207',CUS_AMP ='หนองบุนนาก',CUS_AMPID ='3022',CUS_PROV ='นครราชสีมา',CUS_PROVID ='30',CUS_POST ='30410',CUS_TEL ='0872527385',CUS_MOBILE ='0872527385',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='78/1',CEN_MOO ='1',CEN_DIS ='ลุงเขว้า',CEN_DISID ='302207',CEN_AMP ='หนองบุนนาก',CEN_AMPID ='3022',CEN_PROV ='นครราชสีมา',CEN_PROVID ='30',CEN_POST ='30410',CEN_TEL ='',CEN_LATITUDE ='14.8173710000',CEN_LONGITUDE ='102.3623660000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='302207',PLANT_SOURCE_DISTRICT ='3022',PLANT_SOURCE_PROVINCE ='30',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-09',last_access_time ='15:55:19',log_status ='a',log_user ='sr_1727',log_date ='2018-09-22',ex_status = 'e',ex_datetime ='2018-10-09 15:55:19',crm_status ='a',crm_datetime ='2018-09-22 14:20:46' WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700270';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1727' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809172700270'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450900052822',OPERATE_DATE ='2018-09-23',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700276',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='นงค์เยาว์ ',CUS_SNAME ='แสวงผล',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1971-08-04',CUS_ADD ='185',CUS_MOO ='3',CUS_DIS ='หนองขุ่นใหญ่',CUS_DISID ='450906',CUS_AMP ='หนองพอก',CUS_AMPID ='4509',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='00',CUS_MOBILE ='0847960427',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='185',CEN_MOO ='3',CEN_DIS ='หนองขุ่นใหญ่',CEN_DISID ='450906',CEN_AMP ='หนองพอก',CEN_AMPID ='4509',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.2265420000',CEN_LONGITUDE ='104.1445540000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450906',PLANT_SOURCE_DISTRICT ='4509',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-23',last_access_time ='11:57:03',log_status ='a',log_user ='65569_1227',log_date ='2018-09-23',ex_status = 'e',ex_datetime ='2018-09-23 11:57:03',crm_status ='a',crm_datetime ='2018-09-23 09:47:48' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700276';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700276'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3320500839885',OPERATE_DATE ='2018-09-24',DOC_NO ='',C_TYPE_CODE ='1232',SUB_BRANCH_ID ='',CUS_ID ='M-1809123200281',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='แวน',CUS_SNAME ='ดีอ้อม',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1968-12-24',CUS_ADD ='171',CUS_MOO ='1',CUS_DIS ='โชคนาสาม',CUS_DISID ='320511',CUS_AMP ='ปราสาท',CUS_AMPID ='3205',CUS_PROV ='สุรินทร์',CUS_PROVID ='32',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0986281632',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='171',CEN_MOO ='1',CEN_DIS ='โชคนาสาม',CEN_DISID ='320511',CEN_AMP ='ปราสาท',CEN_AMPID ='3205',CEN_PROV ='สุรินทร์',CEN_PROVID ='32',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.5501060000',CEN_LONGITUDE ='103.2694240000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='0',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='320511',PLANT_SOURCE_DISTRICT ='3205',PLANT_SOURCE_PROVINCE ='32',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='0000-00-00',last_access_time ='00:00:00',log_status ='e',log_user ='65520_1232',log_date ='2018-09-24',ex_status = 'e',ex_datetime ='0000-00-00 00:00:00',crm_status ='e',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200281';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1232' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809123200281'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3490300293853',OPERATE_DATE ='2018-09-24',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700283',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='4',CUS_NAME ='ชลิดา',CUS_SNAME ='คนยง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1983-04-20',CUS_ADD ='30',CUS_MOO ='7',CUS_DIS ='นาสะเม็ง',CUS_DISID ='490306',CUS_AMP ='ดอนตาล',CUS_AMPID ='4903',CUS_PROV ='มุกดาหาร',CUS_PROVID ='49',CUS_POST ='0',CUS_TEL ='0833458195',CUS_MOBILE ='0658729300',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='30',CEN_MOO ='7',CEN_DIS ='นาสะเม็ง',CEN_DISID ='490306',CEN_AMP ='ดอนตาล',CEN_AMPID ='4903',CEN_PROV ='มุกดาหาร',CEN_PROVID ='49',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.3003690000',CEN_LONGITUDE ='104.8693080000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='490306',PLANT_SOURCE_DISTRICT ='4903',PLANT_SOURCE_PROVINCE ='49',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-10-06',last_access_time ='13:03:31',log_status ='e',log_user ='62077_1227',log_date ='2018-09-24',ex_status = 'e',ex_datetime ='2018-10-06 13:03:31',crm_status ='a',crm_datetime ='2018-09-24 17:15:12' WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700283';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1227' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809122700283'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='',OPERATE_DATE ='2018-09-24',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1809146700285',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='ทองเรียน',CUS_SNAME ='บรมสุข',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1969-05-21',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='หนองกี่',CUS_DISID ='250211',CUS_AMP ='กบินทร์บุรี',CUS_AMPID ='2502',CUS_PROV ='ปราจีนบุรี',CUS_PROVID ='25',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0871351157',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='หนองกี่',CEN_DISID ='250211',CEN_AMP ='กบินทร์บุรี',CEN_AMPID ='2502',CEN_PROV ='ปราจีนบุรี',CEN_PROVID ='25',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.0639860000',CEN_LONGITUDE ='101.8109890000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='250211',PLANT_SOURCE_DISTRICT ='2502',PLANT_SOURCE_PROVINCE ='25',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-25',last_access_time ='09:27:24',log_status ='a',log_user ='55496_1467',log_date ='2018-09-24',ex_status = 'e',ex_datetime ='2018-09-25 09:27:24',crm_status ='a',crm_datetime ='2018-09-24 22:31:59' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809146700285';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809146700285'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='',OPERATE_DATE ='2018-09-24',DOC_NO ='',C_TYPE_CODE ='1467',SUB_BRANCH_ID ='',CUS_ID ='M-1809146700286',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='2',CUS_NAME ='วิราภรณ์',CUS_SNAME ='สีคันทา',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1967-05-16',CUS_ADD ='',CUS_MOO ='',CUS_DIS ='หนองหว้า',CUS_DISID ='270702',CUS_AMP ='เขาฉกรรจ์',CUS_AMPID ='2707',CUS_PROV ='สระแก้ว',CUS_PROVID ='27',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0809892899',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='',CEN_MOO ='',CEN_DIS ='หนองหว้า',CEN_DISID ='270702',CEN_AMP ='เขาฉกรรจ์',CEN_AMPID ='2707',CEN_PROV ='สระแก้ว',CEN_PROVID ='27',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='13.6237990000',CEN_LONGITUDE ='101.9821360000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='1',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='270702',PLANT_SOURCE_DISTRICT ='2707',PLANT_SOURCE_PROVINCE ='27',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-05-31',last_access_time ='13:25:15',log_status ='a',log_user ='55496_1467',log_date ='2018-09-24',ex_status = 'e',ex_datetime ='2019-05-31 13:25:15',crm_status ='a',crm_datetime ='2018-09-24 22:45:20' WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809146700286';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1467' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809146700286'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='1450700027020',OPERATE_DATE ='2019-05-27',DOC_NO ='',C_TYPE_CODE ='1800',SUB_BRANCH_ID ='',CUS_ID ='M-1905180004619',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='4',CUS_NAME ='สุมาลี',CUS_SNAME ='ศิริบุตร',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1999-05-11',CUS_ADD ='62',CUS_MOO ='12',CUS_DIS ='วังสามัคคี',CUS_DISID ='450713',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='45110',CUS_TEL ='0821226564',CUS_MOBILE ='0821226564',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='62',CEN_MOO ='12',CEN_DIS ='วังสามัคคี',CEN_DISID ='450713',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='45110',CEN_TEL ='',CEN_LATITUDE ='16.2581860000',CEN_LONGITUDE ='104.0367510000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='2',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450713',PLANT_SOURCE_DISTRICT ='4507',PLANT_SOURCE_PROVINCE ='45',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2019-06-04',last_access_time ='08:21:00',log_status ='e',log_user ='63904_1800',log_date ='2019-05-27',ex_status = 'e',ex_datetime ='2019-06-04 08:21:00',crm_status ='a',crm_datetime ='2019-05-27 16:22:59' WHERE C_TYPE_CODE = '1800' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1905180004619';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1800' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1905180004619'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='',OPERATE_DATE ='2018-09-25',DOC_NO ='',C_TYPE_CODE ='1346',SUB_BRANCH_ID ='',CUS_ID ='M-1809134600293',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='นำชัย',CUS_SNAME ='แย้มศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1998-09-02',CUS_ADD ='68',CUS_MOO ='',CUS_DIS ='บึงเจริญ',CUS_DISID ='310807',CUS_AMP ='บ้านกรวด',CUS_AMPID ='3108',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0981203437',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='68',CEN_MOO ='',CEN_DIS ='บึงเจริญ',CEN_DISID ='310807',CEN_AMP ='บ้านกรวด',CEN_AMPID ='3108',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.3828070000',CEN_LONGITUDE ='103.0545040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='0',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='310807',PLANT_SOURCE_DISTRICT ='3108',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='0000-00-00',last_access_time ='00:00:00',log_status ='e',log_user ='65521_1346',log_date ='2018-09-25',ex_status = 'e',ex_datetime ='0000-00-00 00:00:00',crm_status ='e',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1346' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809134600293';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1346' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809134600293'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='',OPERATE_DATE ='2018-09-25',DOC_NO ='',C_TYPE_CODE ='1346',SUB_BRANCH_ID ='',CUS_ID ='M-1809134600294',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='1',CUS_TITLE ='1',CUS_NAME ='นำชัย',CUS_SNAME ='แย้มศรี',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1998-09-02',CUS_ADD ='68',CUS_MOO ='',CUS_DIS ='บึงเจริญ',CUS_DISID ='310807',CUS_AMP ='บ้านกรวด',CUS_AMPID ='3108',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='0',CUS_TEL ='',CUS_MOBILE ='0981203437',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='68',CEN_MOO ='',CEN_DIS ='บึงเจริญ',CEN_DISID ='310807',CEN_AMP ='บ้านกรวด',CEN_AMPID ='3108',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='14.3828070000',CEN_LONGITUDE ='103.0545040000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='0',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='310807',PLANT_SOURCE_DISTRICT ='3108',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='cash',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='0000-00-00',last_access_time ='00:00:00',log_status ='e',log_user ='65521_1346',log_date ='2018-09-25',ex_status = 'e',ex_datetime ='0000-00-00 00:00:00',crm_status ='e',crm_datetime ='0000-00-00 00:00:00' WHERE C_TYPE_CODE = '1346' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809134600294';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1346' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809134600294'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3310600198261',OPERATE_DATE ='2018-09-27',DOC_NO ='',C_TYPE_CODE ='1732',SUB_BRANCH_ID ='',CUS_ID ='M-1809173200307',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สอาด',CUS_SNAME ='ปานทอง',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1972-01-07',CUS_ADD ='243',CUS_MOO ='3',CUS_DIS ='หนองแวง',CUS_DISID ='310607',CUS_AMP ='ละหานทราย',CUS_AMPID ='3106',CUS_PROV ='บุรีรัมย์',CUS_PROVID ='31',CUS_POST ='31170',CUS_TEL ='0862433360',CUS_MOBILE ='0862433360',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='243',CEN_MOO ='3',CEN_DIS ='หนองแวง',CEN_DISID ='310607',CEN_AMP ='ละหานทราย',CEN_AMPID ='3106',CEN_PROV ='บุรีรัมย์',CEN_PROVID ='31',CEN_POST ='31170',CEN_TEL ='',CEN_LATITUDE ='14.3083000000',CEN_LONGITUDE ='102.9068760000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='310607',PLANT_SOURCE_DISTRICT ='3106',PLANT_SOURCE_PROVINCE ='31',vat_status ='',type_cus ='',type_vendor ='0',payment_type ='transfer',LAST_DOC ='0',merge_status ='0',rewards_status ='0',SUB_STATUS ='',PROD_CODE ='',QUANTITY ='0.00',QUANTITY_FREE ='0.00',PROD_PRICE ='0.00',QUANTITY_PRICE ='0.00',CALL_ID ='',SALE_TYPE ='',OS_STATUS ='',OFFICIAL_CARD ='',TAX_CARD ='',USER_OPERATE ='b',batch_id ='0',system_flag ='0',last_access_date ='2018-09-28',last_access_time ='11:35:28',log_status ='e',log_user ='sr_1732',log_date ='2018-09-27',ex_status = 'e',ex_datetime ='2018-09-28 11:35:28',crm_status ='a',crm_datetime ='2018-09-27 11:40:56' WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809173200307';

MySQL Error:

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Query k82.chaiyo-aa.com select * from sp_customer WHERE C_TYPE_CODE = '1732' and SUB_BRANCH_ID = '' and CUS_ID = 'M-1809173200307'

Connect to k82.chaiyo-aa.com as webbmac

dbhost_x >>> k82.chaiyo-aa.com dbname >>> bmac_db Can't Query k82.chaiyo-aa.com update sp_customer set ID_CARD ='3450700406841',OPERATE_DATE ='2018-09-27',DOC_NO ='',C_TYPE_CODE ='1227',SUB_BRANCH_ID ='',CUS_ID ='M-1809122700308',ECUSTOMER_ID ='',ECUSTOMER_DIGIT ='0',ECUSTOMER_GET ='',ECUSTOMER_REGIS ='0000-00-00',ADVISE_BY_ID ='',FARM_STATUS ='0',FARM_NO ='',CUS_TYPE_ID ='Type2',CUS_GROUP_ID ='0',MEMBER_TYPE ='',CUS_TITLE ='1',CUS_NAME ='สมชาย',CUS_SNAME ='สารบรรณ',CUS_STATUS ='โสด',CUS_SEX ='',MARRY_NAME ='',MARRY_SNAME ='',CUS_OLD ='1961-02-08',CUS_ADD ='53',CUS_MOO ='12',CUS_DIS ='โคกกกม่วง',CUS_DISID ='450702',CUS_AMP ='โพนทอง',CUS_AMPID ='4507',CUS_PROV ='ร้อยเอ็ด',CUS_PROVID ='45',CUS_POST ='0',CUS_TEL ='0640128696',CUS_MOBILE ='0640128696',CUS_MOBILE1 ='',CUS_OCC ='',CUS_AGENT ='',CUS_ALIVE ='',CEN_ADD ='53',CEN_MOO ='12',CEN_DIS ='โคกกกม่วง',CEN_DISID ='450702',CEN_AMP ='โพนทอง',CEN_AMPID ='4507',CEN_PROV ='ร้อยเอ็ด',CEN_PROVID ='45',CEN_POST ='0',CEN_TEL ='',CEN_LATITUDE ='16.1689280000',CEN_LONGITUDE ='104.0297990000',PIC_PATH ='',PIC_FILENAME ='',PIC_SIZE ='',STATUS ='1',CUS_PLANT_STATUS ='1',CUS_SIZE ='1',CUS_GROUP ='4',CREDIT_CUSTOMER ='2.00',PLANT_SOURCE_SUBDISTRICT ='450702',PLANT_SOURCE_DISTRICT ='4507',