I have a small desktop application (Windows Forms - .NET 2.0 - C #) in which I only use it to perform a check on a particular hourly path and, if this check finds any .txt file in this path, it is an import of this file was performed.
However this file has a column with a specific ID and what I do today, it is line by line to check if this ID exists in the database. If so, ignore it, if it does not matter.
What I would like to have a help with is if there is any way I can do this batch? Without a line-by-line "loop". Something that I sent to the bank this list of IDs and it realized an "IN" and I returned which were not found, and yes yes to realize the insertion (bulk insert).