R
Rich
Hello,
I have to read bulk data from a non RDBMS to Sql Server
2k. I tried using Ado.Net with dataAdapter.Fill, where
the app reads in 500,000 records to a dataTable in memory
and then applies dAdapt.Fill to fill a table in sql Server
2k. This hung the server up to the point where I had to
ctrl-alt-delete/close the program.
So, for my next trick, I was reading the data into a bunch
of delimited text files and looping through this set of
textfiles using a DTS package converted from vb6 to
vb.net. This is working except that after I finish
looping through all the text files (where I invoke the DTS
package for each text file) I get a nasty error message
that some memory couldn't be read. I have been
circumventing this error message with a SendKeys{Enter} to
get rid of the error message at the end of the procedure.
This is micky mouse and doesn't work 100% of the time.
So, does anyone know if Ado.Net 2.0 have bulk insert that
can perform data transfer like DTS or BCP?
If yes, is ADO.Net 2.0 contained in VS.Net2005? If not,
where can I get it?
Thanks,
Rich
I have to read bulk data from a non RDBMS to Sql Server
2k. I tried using Ado.Net with dataAdapter.Fill, where
the app reads in 500,000 records to a dataTable in memory
and then applies dAdapt.Fill to fill a table in sql Server
2k. This hung the server up to the point where I had to
ctrl-alt-delete/close the program.
So, for my next trick, I was reading the data into a bunch
of delimited text files and looping through this set of
textfiles using a DTS package converted from vb6 to
vb.net. This is working except that after I finish
looping through all the text files (where I invoke the DTS
package for each text file) I get a nasty error message
that some memory couldn't be read. I have been
circumventing this error message with a SendKeys{Enter} to
get rid of the error message at the end of the procedure.
This is micky mouse and doesn't work 100% of the time.
So, does anyone know if Ado.Net 2.0 have bulk insert that
can perform data transfer like DTS or BCP?
If yes, is ADO.Net 2.0 contained in VS.Net2005? If not,
where can I get it?
Thanks,
Rich