阅读背景:

Python和sqlite3 - 添加数千行

来源:互联网 

I have a .sql file containing thousands of individual insert statements. It takes forever to do them all. I am trying to figure out a way to do this more efficiently. In python the sqlite3 library can't do things like ".read" or ".import" but executescript is too slow for that many inserts. I have a .sql file containing thousands of indi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: