Since version 3.7.11 SQLite supports enhanced INSERT syntax to allow multiple rows to be inserted via the VALUES clause.
http://www.sqlite.org/releaselog/3_7_11.html
Is there any limit on how many values can be inserted in a single statement? (for e.g. 500)
SQLite handles a multi-row INSERT like a compound SELECT. The limit for that is indeed 500.
However, since version 3.8.8,
the number of rows in a VALUES clause is no longer limited by SQLITE_LIMIT_COMPOUND_SELECT.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With