September 2010
Intermediate to advanced
440 pages
9h 23m
English
The executemany() call has the following basic syntax:
<cursor object handle>.executemany(<statement>, <arguments>)
Note that neither the statement to be processed nor its arguments is optional. Both are required; otherwise, a TypeError will be thrown by Python.
The data type of each argument to executemany() should be noted as:
statement: A string containing the query to executearguments: A sequence containing parameters to use within the statementUsing any other type for statements or arguments will result in Python throwing an error.
The statement may be constructed using Python's string manipulation methods. The sequence reflected in the arguments must be either of a sequence or mapping type. Thus, the following data ...
Read now
Unlock full access