A
A
Artur Nurullin2015-09-04 16:51:49
SQL
Artur Nurullin, 2015-09-04 16:51:49

Effective data comparison?

Good afternoon, I recently wrote an application that analyzes an assembly for attributes.
There was a task to save these attributes in base.
Whether a question in that how to check is in base attributes.
As I understand it, the IN operation has some limitations, especially when comparing multiple parameters.
Example: An
attribute of the form [SourceAnnotation("Sam Fisher","08-05-2015")]
Compared in the database 2 parameters because , there can be hundreds of attributes, some are already in the database.
So, is the IN operator applicable for such operations?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AtomKrieg, 2015-09-04
@AtomKrieg

There is an option to read the entire table in HashSet<Tuple<string, string>>and then check in the client's memory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question