I am running a SQL query for a MySQL server using
... where name in ("term1","term2","term3")
I would like to get a list of terms from a text file with one expression per line. How can i do this?
How about if this list of terms becomes large? 10K, for example. Will it be effective, or should I use a different approach? Could it be a temporary table and join? The database is read-only.
source share