2013-10-17 3 views
0

나는 OPC SIMULATIE:Configured Aliases.PLC1.RPM 의 값으로, 테이블을 업데이트하려고하지만 난이 얻을 :
ODBC 오류 : SQL 구문에 오류가 있습니다.

Executing ODBC update: update test set where test = OPC SIMULATIE:Configured Aliases.PLC1.RPM

ODBC Error: [[[MySQL][ODBC 3.51 Driver][mysqld-5.6.11]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where `test` = 'OPC SIMULATIE:Configured Aliases.PLC1.RPM'' at line 1 42000 1064]] 
on: Could not ExecDirect: update test set where `test` = 'OPC SIMULATIE:Configured Aliases.PLC1.RPM' 

ODBC Error: [[[MySQL][ODBC 3.51 Driver][mysqld-5.6.11]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where `test` = 'OPC SIMULATIE:Configured Aliases.PLC1.RPM'' at line 1 42000 1064]] 
on: update test set where `test` = 'OPC SIMULATIE:Configured Aliases.PLC1.RPM' 

사람이 도와 주실 수 있습니까?

답변

1

당신은 필드를 업데이트 할 것을 지정하지 않은 :

update test set field='value' where test = 'OPC SIMULATIE:Configured Aliases.PLC1.RPM' 
+0

내가 그렇게 생각 :

update test set where test = 'OPC SIMULATIE:Configured Aliases.PLC1.RPM' 

같은 것을해야한다! 그러나 실제 문제가 발생하면 ODBC 드라이버가이를 전송합니다. 어쩌면 업데이트가 도움이 될 것입니다! 귀하의 빠른 답변을 주셔서 감사합니다 – user2890367

+0

그것은 작동합니다! 감사 – user2890367

관련 문제