Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
lalbatros
Yak Posting Veteran
69 Posts |
Posted - 2007-12-01 : 17:04:55
|
I need to insert 10000 records in a table.I consider two methods:- 10000 "Insert values" statements executed with Ado.Execute- using a RecordSet object and using 10000 times an the AddNew methodWhat should I choose and why?Thanks |
|
dataguru1971
Master Smack Fu Yak Hacker
1464 Posts |
Posted - 2007-12-01 : 17:16:59
|
Why not just use bulk insert ? Poor planning on your part does not constitute an emergency on my part. |
 |
|
lalbatros
Yak Posting Veteran
69 Posts |
Posted - 2007-12-02 : 04:15:55
|
I cannot use bulk insert because these data are calculated row by row by a special algorithm.Till now, I filled in a client-side table and transferred the results to the server using a DTS linking to the client station.However, this solution is very slow and it need additional installations on the clients that I don't want to manage.I believe it is best to install the whole computing program on the server.??? |
 |
|
|
|
|