Reputation: 2887
I crate temporary table in c# (one column, type int), later I want to put ~40 000 values inside (it will be constantly changing). What is the fastest way of doing it ?
Upvotes: 1
Views: 166
Reputation: 2571
look at SqlBulkCopy.
I would test it first, than look at other solutions.
Upvotes: 3