当前位置:网站首页>Resolved EROR 1064 (42000): You have an error in. your SOL syntax. check the manual that corresponds to yo

Resolved EROR 1064 (42000): You have an error in. your SOL syntax. check the manual that corresponds to yo

2022-08-11 07:15:00 no envy

EROR 1064 (42000) resolved: You have an error in. your SOL syntax. check the manual that corresponds to your MySQL server version







Error code


A friend in the fan group reported an error when inserting new data with SQL:


Insert picture description here

Error message: EROR 1064 (42000): You have an error in. your SOL syntax. check the manual that corresponds to your MySQL server version



Error translation


Error message translation:

Error: You have an error in.your SOL grammar.Check the manual corresponding to the MySQL server version



Reason for error


Reason for error: There is a problem with his new data statement



Workaround


Correct SQL new data statement:

insert into table name(column name,column name) values(values1,value 2)

or

insert into table name values(values1,value 2)

Modify the correct code and execute successfully:


insert image description here

原网站

版权声明
本文为[no envy]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/223/202208110520325390.html