[ERR] 1064-you has an error in your SQL syntax; Check the manual that corresponds ...

Source: Internet
Author: User

INSERT into ' Ftms_active_dealer ' (dealer_code,dealer_name,active_id,dealer_state) VALUES (' 415a1 ', ' He Lei ' 10023 ', ' 1 '),
(' 31042 ', ' Wei ' 10023 ', ' 1 ');


[ERR] 1064-you has an error in your SQL syntax; Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 10023 ', ' 1 '),
(' 31042 ', ' Wei ' 10023 ', ' 1 ') ' at line 2


A lot of information on the web, most of the error occurred in the CREATE table or stored procedure column name called the system function name or stored procedure syntax is not correct, such as multiple ', ' What, insert problem is rare, the investigation of a half-day, the original is the old eye dim .... Inserting is clearly 4 columns, resulting in one less of the values, resulting in 3 columns.


INSERT into ' Ftms_active_dealer ' (dealer_code,dealer_name,active_id,dealer_state) VALUES (' 415a1 ', ' He Lei ', ' 10023 ', ' 1 ') ,
(' 31042 ', ' Wei ', ' 10023 ', ' 1 ');


Normal after correction.


[ERR] 1064-you has an error in your SQL syntax; Check the manual that corresponds ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.