views:

43

answers:

1

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 ?

+3  A: 

Hi,

look at SqlBulkCopy.

I would test it first, than look at other solutions.

K.Hoffmann