in reply to Re: Re: Comparing an array to a DBI table
in thread Comparing an array to a DBI table
So make a compromise method: Take the number of items IN will allow on your RDBMS, throw those into the statement, grab back the data, and loop till you've exhausted the items.
I'd expect this to be more efficient than doing a select on every item--however, I'd study some explains and do some benchmarking to be get a better answer. Still, it's a valid approach to the problem.
They laughed at Joan of Arc, but she went right ahead and built it. --Gracie Allen
|
---|