http://www.perlmonks.org?node_id=1008155


in reply to Re^2: SQLite and large number of parameters
in thread SQLite and large number of parameters

I agree with bart. I don't think it's as complicated a problem as you're making it. You have a relational database. You have a problem that is trivially solved using a relational database. Just INSERT the values INTO temporary tables and either use WHERE EXISTS (if SQLite supports it) or INNER JOIN on the tables instead. Don't knock yourself out trying to work around the limitations of the WHERE … IN clause. It simply doesn't scale to your requirements.

Jim

  • Comment on Re^3: SQLite and large number of parameters