Skip to content

How to insert multiple rows at once at Chapter 16.3.3 #3

@mikechen66

Description

@mikechen66

16.3.3 INSERT STATEMENT
I tried different methods to insert multiple rows at once in the condition of the existing placeholders of VALUES('%s', '%s', %d, '%c', %d, '%s'), but I occurs a lot of errors. Would ypu please have an explaination on the issue(在有占位符VALUES('%s', '%s', %d, '%c', %d, '%s')的情况下,我用不同的方法一次插入多行,但运行时一直出现错误信息,一次插入一行倒是没有问题,请问如何在有以上占位符的情况下一次插入多行?参考信息参见https://stackoverflow.com/questions/14011160/how-to-use-python-mysqldb-to-insert-many-rows-at-once

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions