Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Query with contents of text file.
Hello everyone,
I have a text file populated with hundreds of id numbers(one entry per line). Now I want to execute against a database a query in the format "select name, id from employeeTable where id in ({--contents of the text file--})". What is the most effective way of doing this ?
By the way I am calling this from a unix shell script and trying to write the results to a text file.
Thanks in advance,
Muggle
**Owls are expensive. Emails are free**
Received on Mon Apr 24 2006 - 11:11:59 CDT
![]() |
![]() |