Why am I getting error #1136 - Column count doesn't match value count at row 1?

后端 未结 3 1406
梦毁少年i
梦毁少年i 2020-12-21 04:27

I get this error:

#1136 - Column count doesn\'t match value count at row 1?

When I try to do this:

INSERT INTO folding_cart         


        
3条回答
  •  借酒劲吻你
    2020-12-21 04:56

    I pasted your query into a test environment and I saw this:

    INSERT INTO folding_cartons (part_no, description, count, size, pdf_link, min, max, current) VALUES ('240-63100-00?^?^?,?^?^?YB MV Cherry?^?^?, ?^?^?90?^?^?,?^?^?3 x 2-11/16 x 5-5/64?^?^?, ?^?^?http://www.logicpkg.com/data/hero/copies/240-63100-00.pdf','0','0','0')

    I would guess you have some smart-quote symbols or international characters that look like quotes.

    Just use plain single-quotes to delimit strings.

提交回复
热议问题