Using SQL Server 2005: How can I read a file into a SPROC using T-SQL?
So, imagine I have a CSV file like so:
ID,OtherUselessData
1,asdf
2,asdf
3,asdf
etc...
I basically want to do this:
Select * from mytable where id in (select id from txtFile)