I'm running SQL query for MySQL server with
...
where name in ("term1","term2","term3")
I would like to get the list of terms from a text file with one term per line. How can I do this?
What about if this list of terms will get large? 10K, for example. Will this be efficient or I should use another approach? May be temporary table and join? The database is read-only.